aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/crypto/internal/skcipher.h2
-rw-r--r--include/linux/crypto.h9
2 files changed, 4 insertions, 7 deletions
diff --git a/include/crypto/internal/skcipher.h b/include/crypto/internal/skcipher.h
index 80c5bfb14a60..2071999d4b5e 100644
--- a/include/crypto/internal/skcipher.h
+++ b/include/crypto/internal/skcipher.h
@@ -53,6 +53,8 @@ static inline struct crypto_ablkcipher *crypto_spawn_skcipher(
53 crypto_skcipher_mask(0))); 53 crypto_skcipher_mask(0)));
54} 54}
55 55
56int skcipher_null_givencrypt(struct skcipher_givcrypt_request *req);
57int skcipher_null_givdecrypt(struct skcipher_givcrypt_request *req);
56const char *crypto_default_geniv(const struct crypto_alg *alg); 58const char *crypto_default_geniv(const struct crypto_alg *alg);
57 59
58struct crypto_instance *skcipher_geniv_alloc(struct crypto_template *tmpl, 60struct crypto_instance *skcipher_geniv_alloc(struct crypto_template *tmpl,
diff --git a/include/linux/crypto.h b/include/linux/crypto.h
index fa7afa9b9f4f..835dcaf3fe4e 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
564static inline struct crypto_ablkcipher *crypto_alloc_ablkcipher( 564struct 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
572static inline struct crypto_tfm *crypto_ablkcipher_tfm( 567static inline struct crypto_tfm *crypto_ablkcipher_tfm(
573 struct crypto_ablkcipher *tfm) 568 struct crypto_ablkcipher *tfm)