summaryrefslogtreecommitdiff
path: root/lib/mpi/mpiutil.c
diff options
context:
space:
mode:
authorGilad Ben-Yossef <gilad@benyossef.com>2017-11-02 08:10:21 +0000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-11-06 16:46:03 +0100
commite7cdcba451b3ddd68e714875be13e782577c9e4a (patch)
tree6b018f987460b8ed6a66b05b0af736ca89b7810d /lib/mpi/mpiutil.c
parent42996f2d8e540b2baa7c26a4dac2f50dbbc9344d (diff)
staging: ccree: copy IV to DMAable memory
We are being passed an IV buffer from unknown origin, which may be stack allocated and thus not safe for DMA. Allocate a DMA safe buffer for the IV and use that instead. Signed-off-by: Gilad Ben-Yossef <gilad@benyossef.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions