crypto: rockchip - ECB does not need IV
authorCorentin Labbe <clabbe@baylibre.com>
Fri, 11 Feb 2022 12:16:17 +0000 (12:16 +0000)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 18 Feb 2022 05:21:10 +0000 (16:21 +1100)
commit973d74e93820d99d8ea203882631c76edab699c9
treeee30a6a6e9fe155d62db8452c278ab9b73953516
parentf8a2652826444d13181061840b96a5d975d5b6c6
crypto: rockchip - ECB does not need IV

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>
drivers/crypto/rockchip/rk3288_crypto_skcipher.c