mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-29 13:53:33 +00:00
crypto: talitos - fix ECB algs ivsize
ECB's ivsize must be 0.
Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
Fixes: 5e75ae1b3c
("crypto: talitos - add new crypto modes")
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
This commit is contained in:
parent
ee483d32ee
commit
d84cc9c952
1 changed files with 0 additions and 3 deletions
|
@ -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,
|
||||
}
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue