diff options
Diffstat (limited to 'crypto/hash.c')
-rw-r--r-- | crypto/hash.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/crypto/hash.c b/crypto/hash.c index 4fd470bd729b..7dcff671c19b 100644 --- a/crypto/hash.c +++ b/crypto/hash.c | |||
@@ -12,6 +12,7 @@ | |||
12 | #include <linux/errno.h> | 12 | #include <linux/errno.h> |
13 | #include <linux/kernel.h> | 13 | #include <linux/kernel.h> |
14 | #include <linux/module.h> | 14 | #include <linux/module.h> |
15 | #include <linux/slab.h> | ||
15 | #include <linux/seq_file.h> | 16 | #include <linux/seq_file.h> |
16 | 17 | ||
17 | #include "internal.h" | 18 | #include "internal.h" |
@@ -46,7 +47,7 @@ static int hash_setkey_unaligned(struct crypto_hash *crt, const u8 *key, | |||
46 | } | 47 | } |
47 | 48 | ||
48 | static int hash_setkey(struct crypto_hash *crt, const u8 *key, | 49 | static int hash_setkey(struct crypto_hash *crt, const u8 *key, |
49 | unsigned int keylen) | 50 | unsigned int keylen) |
50 | { | 51 | { |
51 | struct crypto_tfm *tfm = crypto_hash_tfm(crt); | 52 | struct crypto_tfm *tfm = crypto_hash_tfm(crt); |
52 | struct hash_alg *alg = &tfm->__crt_alg->cra_hash; | 53 | struct hash_alg *alg = &tfm->__crt_alg->cra_hash; |