crypto: rockchip - ECB does not need IV
authorCorentin Labbe <clabbe@baylibre.com>
Fri, 11 Feb 2022 12:16:17 +0000 (12:16 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 8 Apr 2022 12:40:00 +0000 (14:40 +0200)
commit5e9501e60b8d2654d85bbe6e00d69b8878d984c3
tree336846fc435075f64907c59e18105ceec4fb1d96
parent8265bea7d8cd9006649dee961f9a1cd3949b726c
crypto: rockchip - ECB does not need IV

[ Upstream commit 973d74e93820d99d8ea203882631c76edab699c9 ]

When loading rockchip crypto module, testmgr complains that ivsize of ecb-des3-ede-rk
is not the same than generic implementation.
In fact ECB does not use an IV.

Fixes: ce0183cb6464b ("crypto: rockchip - switch to skcipher API")
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>
drivers/crypto/rockchip/rk3288_crypto_skcipher.c