projects
/
linux-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
crypto: remove CRYPTO_TFM_RES_BAD_KEY_LEN
[linux-block.git]
/
drivers
/
crypto
/
n2_core.c
diff --git
a/drivers/crypto/n2_core.c
b/drivers/crypto/n2_core.c
index 63bd565048f42b618ad1c5013f34b4db546ab304..f5c468f2cc82e95595556b3693fab86e02bd902b 100644
(file)
--- a/
drivers/crypto/n2_core.c
+++ b/
drivers/crypto/n2_core.c
@@
-746,7
+746,6
@@
static int n2_aes_setkey(struct crypto_skcipher *skcipher, const u8 *key,
ctx->enc_type |= ENC_TYPE_ALG_AES256;
break;
default:
- crypto_skcipher_set_flags(skcipher, CRYPTO_TFM_RES_BAD_KEY_LEN);
return -EINVAL;
}