diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2007-08-23 04:23:01 -0400 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-10-10 19:55:40 -0400 |
commit | 791b4d5f73cbc16ee532ebac5bd82d51524d4f99 (patch) | |
tree | df9e5ee5a6e94892fb1056627caea4e494343083 /crypto/cipher.c | |
parent | 39e1ee011f42dbbcb0210c73ea728ae54cf63b06 (diff) |
[CRYPTO] api: Add missing headers for setkey_unaligned
This patch ensures that kernel.h and slab.h are included for
the setkey_unaligned function. It also breaks a couple of
long lines.
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/cipher.c')
-rw-r--r-- | crypto/cipher.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/crypto/cipher.c b/crypto/cipher.c index fc6b46f2a9b0..9a1a7316eeac 100644 --- a/crypto/cipher.c +++ b/crypto/cipher.c | |||
@@ -16,11 +16,12 @@ | |||
16 | #include <linux/kernel.h> | 16 | #include <linux/kernel.h> |
17 | #include <linux/crypto.h> | 17 | #include <linux/crypto.h> |
18 | #include <linux/errno.h> | 18 | #include <linux/errno.h> |
19 | #include <linux/scatterlist.h> | 19 | #include <linux/slab.h> |
20 | #include <linux/string.h> | 20 | #include <linux/string.h> |
21 | #include "internal.h" | 21 | #include "internal.h" |
22 | 22 | ||
23 | static int setkey_unaligned(struct crypto_tfm *tfm, const u8 *key, unsigned int keylen) | 23 | static int setkey_unaligned(struct crypto_tfm *tfm, const u8 *key, |
24 | unsigned int keylen) | ||
24 | { | 25 | { |
25 | struct cipher_alg *cia = &tfm->__crt_alg->cra_cipher; | 26 | struct cipher_alg *cia = &tfm->__crt_alg->cra_cipher; |
26 | unsigned long alignmask = crypto_tfm_alg_alignmask(tfm); | 27 | unsigned long alignmask = crypto_tfm_alg_alignmask(tfm); |