summaryrefslogtreecommitdiffstats
path: root/drivers/crypto/caam/ctrl.c
diff options
context:
space:
mode:
authorVictoria Milhoan <vicki.milhoan@freescale.com>2015-06-16 01:52:57 +0200
committerHerbert Xu <herbert@gondor.apana.org.au>2015-06-16 08:35:07 +0200
commit8af7b0f809a3d34657433ec545d64dff9808ce34 (patch)
treea35024c4de3b7066fb381b474f4e22ceee885ec7 /drivers/crypto/caam/ctrl.c
parentMPILIB: add mpi_read_buf() and mpi_get_size() helpers (diff)
downloadlinux-8af7b0f809a3d34657433ec545d64dff9808ce34.tar.xz
linux-8af7b0f809a3d34657433ec545d64dff9808ce34.zip
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>
Diffstat (limited to 'drivers/crypto/caam/ctrl.c')
0 files changed, 0 insertions, 0 deletions