diff options
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/crypto.h | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/include/linux/crypto.h b/include/linux/crypto.h index fa7afa9b9f4..835dcaf3fe4 100644 --- a/include/linux/crypto.h +++ b/include/linux/crypto.h | |||
@@ -561,13 +561,8 @@ static inline u32 crypto_skcipher_mask(u32 mask) | |||
561 | return mask; | 561 | return mask; |
562 | } | 562 | } |
563 | 563 | ||
564 | static inline struct crypto_ablkcipher *crypto_alloc_ablkcipher( | 564 | struct crypto_ablkcipher *crypto_alloc_ablkcipher(const char *alg_name, |
565 | const char *alg_name, u32 type, u32 mask) | 565 | u32 type, u32 mask); |
566 | { | ||
567 | return __crypto_ablkcipher_cast( | ||
568 | crypto_alloc_base(alg_name, crypto_skcipher_type(type), | ||
569 | crypto_skcipher_mask(mask))); | ||
570 | } | ||
571 | 566 | ||
572 | static inline struct crypto_tfm *crypto_ablkcipher_tfm( | 567 | static inline struct crypto_tfm *crypto_ablkcipher_tfm( |
573 | struct crypto_ablkcipher *tfm) | 568 | struct crypto_ablkcipher *tfm) |