From: Christophe Leroy Date: Tue, 21 May 2019 13:34:13 +0000 (+0000) Subject: crypto: talitos - fix ECB algs ivsize X-Git-Tag: v4.19.74~14 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9aff4077304ba053021872cfa00b6d5427cb42b7;p=platform%2Fkernel%2Flinux-rpi.git crypto: talitos - fix ECB algs ivsize commit d84cc9c9524ec5973a337533e6d8ccd3e5f05f2b upstream. ECB's ivsize must be 0. Signed-off-by: Christophe Leroy Fixes: 5e75ae1b3cef ("crypto: talitos - add new crypto modes") Signed-off-by: Herbert Xu Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/crypto/talitos.c b/drivers/crypto/talitos.c index 9b88a5b..d54415e 100644 --- a/drivers/crypto/talitos.c +++ b/drivers/crypto/talitos.c @@ -2750,7 +2750,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, } },