summaryrefslogtreecommitdiffstats
path: root/arch/x86/crypto/des3_ede_glue.c
diff options
context:
space:
mode:
authorRuchika Gupta2014-06-23 16:20:26 +0200
committerHerbert Xu2014-06-25 15:38:41 +0200
commit1da2be33ad4c30a2b1d5fe3053b5b7f63e6e2baa (patch)
treeae35138a3ce41c356e893589cce3720a6ee0bc5c /arch/x86/crypto/des3_ede_glue.c
parentcrypto: caam - Add definition of rd/wr_reg64 for little endian platform (diff)
downloadkernel-qcow2-linux-1da2be33ad4c30a2b1d5fe3053b5b7f63e6e2baa.tar.gz
kernel-qcow2-linux-1da2be33ad4c30a2b1d5fe3053b5b7f63e6e2baa.tar.xz
kernel-qcow2-linux-1da2be33ad4c30a2b1d5fe3053b5b7f63e6e2baa.zip
crypto: caam - Correct the dma mapping for sg table
At few places in caamhash and caamalg, after allocating a dmable buffer for sg table , the buffer was being modified. As per definition of DMA_FROM_DEVICE ,afer allocation the memory should be treated as read-only by the driver. This patch shifts the allocation of dmable buffer for sg table after it is populated by the driver, making it read-only as per the DMA API's requirement. Signed-off-by: Ruchika Gupta <ruchika.gupta@freescale.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'arch/x86/crypto/des3_ede_glue.c')
0 files changed, 0 insertions, 0 deletions