]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/crypto/algapi.h
[CRYPTO] api: Add crypto_ablkcipher_ctx_aligned
[linux-2.6-omap-h63xx.git] / include / crypto / algapi.h
index b2b1e6efd812793ffaf6442ee7cb9d4424067f66..8081294e4328886759d2360a0e43ca68c1872cf4 100644 (file)
@@ -160,6 +160,11 @@ static inline void *crypto_ablkcipher_ctx(struct crypto_ablkcipher *tfm)
        return crypto_tfm_ctx(&tfm->base);
 }
 
+static inline void *crypto_ablkcipher_ctx_aligned(struct crypto_ablkcipher *tfm)
+{
+       return crypto_tfm_ctx_aligned(&tfm->base);
+}
+
 static inline struct crypto_blkcipher *crypto_spawn_blkcipher(
        struct crypto_spawn *spawn)
 {