Files
linux/drivers/crypto/hisilicon
Thomas Fourier 1ee57ab93b crypto: hisilicon - Fix dma_unmap_single() direction
The direction used to map the buffer skreq->iv is DMA_TO_DEVICE but it is
unmapped with direction DMA_BIDIRECTIONAL in the error path.

Change the unmap to match the mapping.

Fixes: 915e4e8413 ("crypto: hisilicon - SEC security accelerator driver")
Cc: <[email protected]>
Signed-off-by: Thomas Fourier <[email protected]>
Reviewed-by: Thorsten Blum <[email protected]>
Signed-off-by: Herbert Xu <[email protected]>
2026-04-12 16:46:29 +08:00
..