diff options
author | Corentin Labbe <clabbe.montjoie@gmail.com> | 2025-04-27 13:12:36 +0200 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2025-04-28 19:45:26 +0800 |
commit | 2dfc7cd74a5e062a5405560447517e7aab1c7341 (patch) | |
tree | d4b874b89aeac06b3ed1e9049c474a0540906aa0 /lib/xarray.c | |
parent | 0f8d42bf128d349ad490e87d5574d211245e40f1 (diff) |
crypto: sun8i-ss - do not use sg_dma_len before calling DMA functions
When testing sun8i-ss with multi_v7_defconfig, all CBC algorithm fail crypto
selftests.
This is strange since on sunxi_defconfig, everything was ok.
The problem was in the IV setup loop which never run because sg_dma_len
was 0.
Fixes: 359e893e8af4 ("crypto: sun8i-ss - rework handling of IV")
Signed-off-by: Corentin Labbe <clabbe.montjoie@gmail.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'lib/xarray.c')
0 files changed, 0 insertions, 0 deletions