linux/drivers/crypto/aspeed
Paul Louvel 51d0f5020d crypto: aspeed - Use memcpy_from_sglist() in aspeed_ahash_dma_prepare()
Replace scatterwalk_map_and_copy() with memcpy_from_sglist() in
aspeed_ahash_dma_prepare(). The latter provides a simpler interface
without requiring a direction parameter, making the code easier to
read and less error-prone.

No functional change intended.

Signed-off-by: Paul Louvel <paul.louvel@bootlin.com>
Reviewed-by: Neal Liu <neal_liu@aspeedtech.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
2026-04-03 08:56:12 +08:00
..
aspeed-acry.c crypto: aspeed - fix double free caused by devm 2025-10-23 12:53:23 +08:00
aspeed-hace-crypto.c crypto: aspeed - Fix dma_unmap_sg() direction 2025-09-20 20:21:03 +08:00
aspeed-hace-hash.c crypto: aspeed - Use memcpy_from_sglist() in aspeed_ahash_dma_prepare() 2026-04-03 08:56:12 +08:00
aspeed-hace.c crypto: drivers - Switch back to struct platform_driver::remove() 2024-10-19 08:44:30 +08:00
aspeed-hace.h crypto: aspeed/hash - Use API partial block handling 2025-06-13 17:26:15 +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