summaryrefslogtreecommitdiffstats
path: root/drivers/crypto/inside-secure/safexcel_cipher.c
diff options
context:
space:
mode:
authorAntoine Tenart <antoine.tenart@bootlin.com>2018-03-19 09:21:17 +0100
committerHerbert Xu <herbert@gondor.apana.org.au>2018-03-31 01:32:45 +0800
commitb89a815975e5dd3ffa4b4f6392eceff66c48476e (patch)
treecdcbad086a29406d2125156f447f0b4dbef2c946 /drivers/crypto/inside-secure/safexcel_cipher.c
parent57433b582090ce0d751009e931f15a653e22ee85 (diff)
downloadlinux-b89a815975e5dd3ffa4b4f6392eceff66c48476e.tar.bz2
crypto: inside-secure - do not access buffers mapped to the device
This patches update the way the digest is copied from the state buffer to the result buffer, so that the copy only happen after the state buffer was DMA unmapped, as otherwise the buffer would be owned by the device. Signed-off-by: Antoine Tenart <antoine.tenart@bootlin.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/inside-secure/safexcel_cipher.c')
0 files changed, 0 insertions, 0 deletions