Skip to content

Commit

Permalink
crypto: marvell/cesa - ECB does not IV
Browse files Browse the repository at this point in the history
[ Upstream commit 4ffa176 ]

The DES3 ECB has an IV size set but ECB does not need one.

Fixes: 4ada483 ("crypto: marvell/cesa - add Triple-DES support")
Signed-off-by: Corentin Labbe <clabbe@baylibre.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Sasha Levin <sashal@kernel.org>
  • Loading branch information
montjoie authored and gregkh committed Jun 9, 2022
1 parent f7d835a commit d2531fc
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/crypto/marvell/cesa/cipher.c
Expand Up @@ -624,7 +624,6 @@ struct skcipher_alg mv_cesa_ecb_des3_ede_alg = {
.decrypt = mv_cesa_ecb_des3_ede_decrypt,
.min_keysize = DES3_EDE_KEY_SIZE,
.max_keysize = DES3_EDE_KEY_SIZE,
.ivsize = DES3_EDE_BLOCK_SIZE,
.base = {
.cra_name = "ecb(des3_ede)",
.cra_driver_name = "mv-ecb-des3-ede",
Expand Down

0 comments on commit d2531fc

Please sign in to comment.