]> git.baikalelectronics.ru Git - kernel.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)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 18 Feb 2022 05:21:10 +0000 (16:21 +1100)
commitc3716e4f05b0d671d611073de3adb8cbd9298a90
treeee30a6a6e9fe155d62db8452c278ab9b73953516
parent40da05a37f42f7ccfd720f17b387d135a228551f
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: b09e055215959 ("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