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
/
ccp
/
ccp-crypto-aes-galois.c
diff --git
a/drivers/crypto/ccp/ccp-crypto-aes-galois.c
b/drivers/crypto/ccp/ccp-crypto-aes-galois.c
index ff50ee80d22357102e31d564da7bcae1f9910e36..9e8f07c1afac2b8ae153196ef5eb245388b27e05 100644
(file)
--- a/
drivers/crypto/ccp/ccp-crypto-aes-galois.c
+++ b/
drivers/crypto/ccp/ccp-crypto-aes-galois.c
@@
-42,7
+42,6
@@
static int ccp_aes_gcm_setkey(struct crypto_aead *tfm, const u8 *key,
ctx->u.aes.type = CCP_AES_TYPE_256;
break;
default:
- crypto_aead_set_flags(tfm, CRYPTO_TFM_RES_BAD_KEY_LEN);
return -EINVAL;
}