diff options
author | Christophe Leroy <christophe.leroy@c-s.fr> | 2019-05-21 13:34:13 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-09-19 09:09:38 +0200 |
commit | 9aff4077304ba053021872cfa00b6d5427cb42b7 (patch) | |
tree | d64b7329ac30ec6ebc71c1a7be7d2ee0b4157d4b /drivers/crypto | |
parent | c4d7148e2d675063439109884e6f693d771d10b9 (diff) | |
download | linux-stable-9aff4077304ba053021872cfa00b6d5427cb42b7.tar.gz linux-stable-9aff4077304ba053021872cfa00b6d5427cb42b7.tar.bz2 linux-stable-9aff4077304ba053021872cfa00b6d5427cb42b7.zip |
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')
-rw-r--r-- | drivers/crypto/talitos.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/crypto/talitos.c b/drivers/crypto/talitos.c index 9b88a5be9b7a..d54415e5a96d 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, } }, |