diff options
author | Corentin Labbe <clabbe@baylibre.com> | 2022-04-13 22:11:54 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-06-14 19:11:40 +0300 |
commit | e7a0d0c2802f80c0b158d423470ff893dc968809 (patch) | |
tree | 8793f02662a82e7db26af10802bbb4b116c8e637 /drivers | |
parent | de65c32ace9aa70d51facc61ba986607075e3a25 (diff) | |
download | linux-e7a0d0c2802f80c0b158d423470ff893dc968809.tar.xz |
crypto: marvell/cesa - ECB does not IV
[ Upstream commit 4ffa1763622ae5752961499588f3f8874315f974 ]
The DES3 ECB has an IV size set but ECB does not need one.
Fixes: 4ada483978237 ("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>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/crypto/marvell/cipher.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/crypto/marvell/cipher.c b/drivers/crypto/marvell/cipher.c index 84ceddfee76b..708dc63b2f09 100644 --- a/drivers/crypto/marvell/cipher.c +++ b/drivers/crypto/marvell/cipher.c @@ -610,7 +610,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", |