]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
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 11:57:34 +0000 (13:57 +0200)
commitfeb9509c2cf4783fd33230620511f59f112269fa
treeb5150288d9138759dc9955b0c07ed094b92d74f0
parentdf9fa059c6bdbfbcf1da49f21198756b0cb2b919
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