]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - include/linux/crypto.h
[CRYPTO] skcipher: Create default givcipher instances
[net-next-2.6.git] / include / linux / crypto.h
index fa7afa9b9f4f14910f13cbfb6fdc09180520ec9f..835dcaf3fe4ed84744d66b1ed384f1e997d58941 100644 (file)
@@ -561,13 +561,8 @@ static inline u32 crypto_skcipher_mask(u32 mask)
        return mask;
 }
 
-static inline struct crypto_ablkcipher *crypto_alloc_ablkcipher(
-       const char *alg_name, u32 type, u32 mask)
-{
-       return __crypto_ablkcipher_cast(
-               crypto_alloc_base(alg_name, crypto_skcipher_type(type),
-                                 crypto_skcipher_mask(mask)));
-}
+struct crypto_ablkcipher *crypto_alloc_ablkcipher(const char *alg_name,
+                                                 u32 type, u32 mask);
 
 static inline struct crypto_tfm *crypto_ablkcipher_tfm(
        struct crypto_ablkcipher *tfm)