commit | b89a815975e5dd3ffa4b4f6392eceff66c48476e | [log] [tgz] |
---|---|---|
author | Antoine Tenart <antoine.tenart@bootlin.com> | Mon Mar 19 09:21:17 2018 +0100 |
committer | Herbert Xu <herbert@gondor.apana.org.au> | Sat Mar 31 01:32:45 2018 +0800 |
tree | cdcbad086a29406d2125156f447f0b4dbef2c946 | |
parent | 57433b582090ce0d751009e931f15a653e22ee85 [diff] |
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>