summaryrefslogtreecommitdiffstats
path: root/crypto/sha256_generic.c
diff options
context:
space:
mode:
authorLeilei Zhao <leilei.zhao@atmel.com>2015-04-07 17:45:11 +0800
committerHerbert Xu <herbert@gondor.apana.org.au>2015-04-08 22:20:05 +0800
commit9cd223239a79df3cc758ecabb8473ca91599021b (patch)
treec235d3ef0573aaa853b27d7b721e6ca9da410441 /crypto/sha256_generic.c
parent289b2623df34ebec4c25b7d31804b70fc90b92c6 (diff)
downloadop-kernel-dev-9cd223239a79df3cc758ecabb8473ca91599021b.zip
op-kernel-dev-9cd223239a79df3cc758ecabb8473ca91599021b.tar.gz
crypto: atmel-aes - correct usage of dma_sync_* API
The output buffer is used for CPU access, so the API should be dma_sync_single_for_cpu which makes the cache line invalid in order to reload the value in memory. Signed-off-by: Leilei Zhao <leilei.zhao@atmel.com> Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/sha256_generic.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud