linux/drivers/crypto/aspeed
Thomas Fourier 3ddd4942ea crypto: aspeed - Fix dma_unmap_sg() direction
commit 838d2d5151 upstream.

It seems like everywhere in this file, when the request is not
bidirectionala, req->src is mapped with DMA_TO_DEVICE and req->dst is
mapped with DMA_FROM_DEVICE.

Fixes: 62f58b1637 ("crypto: aspeed - add HACE crypto driver")
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
..
aspeed-acry.c crypto: aspeed-acry - Convert to platform remove callback returning void 2023-10-27 18:04:25 +08:00
aspeed-hace-crypto.c crypto: aspeed - Fix dma_unmap_sg() direction 2025-10-19 16:33:49 +02:00
aspeed-hace-hash.c crypto: aspeed - Remove non-standard sha512 algorithms 2023-08-18 17:01:10 +08:00
aspeed-hace.c crypto: aspeed-hace - Convert to platform remove callback returning void 2023-10-27 18:04:25 +08:00
aspeed-hace.h crypto: aspeed - Use new crypto_engine_op interface 2023-08-18 17:01:10 +08:00
Kconfig crypto: aspeed - Remove cfb and ofb 2023-12-08 11:59:45 +08:00
Makefile crypto: aspeed - Fix modular aspeed-acry 2023-02-14 13:39:33 +08:00