Commit d84cc9c9 authored by Christophe Leroy's avatar Christophe Leroy Committed by Herbert Xu
Browse files

crypto: talitos - fix ECB algs ivsize



ECB's ivsize must be 0.

Signed-off-by: default avatarChristophe Leroy <christophe.leroy@c-s.fr>
Fixes: 5e75ae1b ("crypto: talitos - add new crypto modes")
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent ee483d32
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -2809,7 +2809,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,
			}
		},
@@ -2862,7 +2861,6 @@ static struct talitos_alg_template driver_algs[] = {
			.cra_ablkcipher = {
				.min_keysize = DES_KEY_SIZE,
				.max_keysize = DES_KEY_SIZE,
				.ivsize = DES_BLOCK_SIZE,
				.setkey = ablkcipher_des_setkey,
			}
		},
@@ -2897,7 +2895,6 @@ static struct talitos_alg_template driver_algs[] = {
			.cra_ablkcipher = {
				.min_keysize = DES3_EDE_KEY_SIZE,
				.max_keysize = DES3_EDE_KEY_SIZE,
				.ivsize = DES3_EDE_BLOCK_SIZE,
				.setkey = ablkcipher_des3_setkey,
			}
		},