summaryrefslogtreecommitdiff
path: root/drivers/crypto/talitos.c
diff options
context:
space:
mode:
authorChristophe Leroy <christophe.leroy@c-s.fr>2019-05-21 16:34:13 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-09-19 10:08:07 +0300
commitc06f2796b2181e59e26bb660e0241d2eb451a02b (patch)
tree20e005765e781fa0cdba48ec9b71bae364e63daa /drivers/crypto/talitos.c
parentdcd29f7a35ad77bee6ef1a192d18c56ec1f4e49b (diff)
downloadlinux-c06f2796b2181e59e26bb660e0241d2eb451a02b.tar.xz
crypto: talitos - fix ECB algs ivsize
commit d84cc9c9524ec5973a337533e6d8ccd3e5f05f2b upstream. ECB's ivsize must be 0. Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr> Fixes: 5e75ae1b3cef ("crypto: talitos - add new crypto modes") Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/crypto/talitos.c')
-rw-r--r--drivers/crypto/talitos.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/crypto/talitos.c b/drivers/crypto/talitos.c
index 7dd541560a03..d7d0edf6a8e5 100644
--- a/drivers/crypto/talitos.c
+++ b/drivers/crypto/talitos.c
@@ -2666,7 +2666,6 @@ static struct talitos_alg_template driver_algs[] = {
.cra_ablkcipher = {
.min_keysize = AES_MIN_KEY_SIZE,
.max_keysize = AES_MAX_KEY_SIZE,
- .ivsize = AES_BLOCK_SIZE,
.setkey = ablkcipher_aes_setkey,
}
},