summaryrefslogtreecommitdiff
path: root/crypto/async_tx/async_memcpy.c
diff options
context:
space:
mode:
authorVictoria Milhoan <vicki.milhoan@freescale.com>2015-06-15 23:52:57 (GMT)
committerAlex Porosanu <alexandru.porosanu@freescale.com>2015-11-03 09:49:46 (GMT)
commit16d4087fef605b53c187e6f059747c8c31b93df1 (patch)
tree0f755a93951dd31fb462e061a6b2be96eb52be10 /crypto/async_tx/async_memcpy.c
parent270c77083258df3d3be4664bfdfaf832ba08d67b (diff)
downloadlinux-fsl-qoriq-16d4087fef605b53c187e6f059747c8c31b93df1.tar.xz
crypto: caam - Fix incorrect size when DMA unmapping buffer
The CAAM driver uses two data buffers to store data for a hashing operation, with one buffer defined as active. This change forces switching of the active buffer when executing a hashing operation to avoid a later DMA unmap using the length of the opposite buffer. Signed-off-by: Victoria Milhoan <vicki.milhoan@freescale.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> (cherry picked from commit 8af7b0f809a3d34657433ec545d64dff9808ce34)
Diffstat (limited to 'crypto/async_tx/async_memcpy.c')
0 files changed, 0 insertions, 0 deletions