linux/drivers/crypto/rockchip
Thomas Fourier 23351fbe49 crypto: rockchip - Fix dma_unmap_sg() nents value
commit 21140e5caf upstream.

The dma_unmap_sg() functions should be called with the same nents as the
dma_map_sg(), not the value the map function returned.

Fixes: 57d67c6e82 ("crypto: rockchip - rework by using crypto_engine")
Cc: <stable@vger.kernel.org>
Signed-off-by: Thomas Fourier <fourier.thomas@gmail.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
History 2025-10-19 16:33:49 +02:00
..
Makefile crypto: rockchip - switch to skcipher API 2019-11-17 09:02:48 +08:00
rk3288_crypto.c crypto: rockchip - fix to check return value 2024-02-24 08:41:20 +08:00
rk3288_crypto.h crypto: rk3288 - Use new crypto_engine_op interface 2023-08-18 17:01:11 +08:00
rk3288_crypto_ahash.c crypto: rockchip - Fix dma_unmap_sg() nents value 2025-10-19 16:33:49 +02:00
rk3288_crypto_skcipher.c crypto: rk3288 - Use helper to set reqsize 2023-12-29 11:25:55 +08:00