diff options
author | Horia Geantă <horia.geanta@nxp.com> | 2019-02-19 16:56:57 +0200 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2019-02-28 14:17:58 +0800 |
commit | 307244452d3de657744712f1208ae89a75707cbc (patch) | |
tree | b6b33f1e938a87d8f6213d10cc4efaba470c6a4a /arch/x86 | |
parent | 8e731ee5e2a5aa37b736c05ee2562e1169af866e (diff) | |
download | linux-307244452d3de657744712f1208ae89a75707cbc.tar.bz2 |
crypto: caam - generate hash keys in-place
When generating a split key or hashing the key, DMA mapping the key
buffers coming directly from user is incorrect, since they are
not guaranteed to be DMAable.
Update driver to first copy user-provided key in the output buffer
("key_out") and then use this buffer for in-place computation
(split key generation, respectively key hashing).
Signed-off-by: Horia Geantă <horia.geanta@nxp.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'arch/x86')
0 files changed, 0 insertions, 0 deletions