diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2007-08-23 16:23:01 +0800 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-10-10 16:55:40 -0700 |
commit | da5ae9a0879ef935c644e986b7df8545519e3276 (patch) | |
tree | 821d7226807fe5b8601234269be2a22c4fee875c /crypto/blkcipher.c | |
parent | 057ebdf91a143c336f150ec34d81148adffecf85 (diff) | |
download | linux-crypto-da5ae9a0879ef935c644e986b7df8545519e3276.tar.gz linux-crypto-da5ae9a0879ef935c644e986b7df8545519e3276.zip |
[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 '')
-rw-r--r-- | crypto/blkcipher.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/crypto/blkcipher.c b/crypto/blkcipher.c index d8f8ec32..5991c53e 100644 --- a/crypto/blkcipher.c +++ b/crypto/blkcipher.c @@ -339,7 +339,8 @@ static int blkcipher_walk_first(struct blkcipher_desc *desc, return blkcipher_walk_next(desc, walk); } -static int setkey_unaligned(struct crypto_tfm *tfm, const u8 *key, unsigned int keylen) +static int setkey_unaligned(struct crypto_tfm *tfm, const u8 *key, + unsigned int keylen) { struct blkcipher_alg *cipher = &tfm->__crt_alg->cra_blkcipher; unsigned long alignmask = crypto_tfm_alg_alignmask(tfm); @@ -360,8 +361,7 @@ static int setkey_unaligned(struct crypto_tfm *tfm, const u8 *key, unsigned int return ret; } -static int setkey(struct crypto_tfm *tfm, const u8 *key, - unsigned int keylen) +static int setkey(struct crypto_tfm *tfm, const u8 *key, unsigned int keylen) { struct blkcipher_alg *cipher = &tfm->__crt_alg->cra_blkcipher; unsigned long alignmask = crypto_tfm_alg_alignmask(tfm); |