diff options
Diffstat (limited to 'crypto/blkcipher.c')
-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 d8f8ec320213..5991c53eabac 100644 --- a/crypto/blkcipher.c +++ b/crypto/blkcipher.c | |||
@@ -339,7 +339,8 @@ static int blkcipher_walk_first(struct blkcipher_desc *desc, | |||
339 | return blkcipher_walk_next(desc, walk); | 339 | return blkcipher_walk_next(desc, walk); |
340 | } | 340 | } |
341 | 341 | ||
342 | static int setkey_unaligned(struct crypto_tfm *tfm, const u8 *key, unsigned int keylen) | 342 | static int setkey_unaligned(struct crypto_tfm *tfm, const u8 *key, |
343 | unsigned int keylen) | ||
343 | { | 344 | { |
344 | struct blkcipher_alg *cipher = &tfm->__crt_alg->cra_blkcipher; | 345 | struct blkcipher_alg *cipher = &tfm->__crt_alg->cra_blkcipher; |
345 | unsigned long alignmask = crypto_tfm_alg_alignmask(tfm); | 346 | 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 | |||
360 | return ret; | 361 | return ret; |
361 | } | 362 | } |
362 | 363 | ||
363 | static int setkey(struct crypto_tfm *tfm, const u8 *key, | 364 | static int setkey(struct crypto_tfm *tfm, const u8 *key, unsigned int keylen) |
364 | unsigned int keylen) | ||
365 | { | 365 | { |
366 | struct blkcipher_alg *cipher = &tfm->__crt_alg->cra_blkcipher; | 366 | struct blkcipher_alg *cipher = &tfm->__crt_alg->cra_blkcipher; |
367 | unsigned long alignmask = crypto_tfm_alg_alignmask(tfm); | 367 | unsigned long alignmask = crypto_tfm_alg_alignmask(tfm); |