diff options
author | Rosioru Dragos <dragos.rosioru@nxp.com> | 2020-02-18 17:56:39 +0200 |
---|---|---|
committer | Horia Geantă <horia.geanta@nxp.com> | 2020-03-31 13:39:26 +0300 |
commit | 651364b5fe44c83cb8f89c4d9f8f89359fb787c5 (patch) | |
tree | 0f7cfcee8eeab5b37c970191dac44783959ea9e6 /mm/memory-failure.c | |
parent | c2937fd8fe144519d6461d396ed6e9066749ba21 (diff) |
LF-717: crypto: dcp - fix scatterlist linearization for hash
The incorrect traversal of the scatterlist, during the linearization phase
lead to computing the hash value of the wrong input buffer.
New implementation uses scatterwalk_map_and_copy()
to address this issue.
Fixes: 15b59e7c3733 ("crypto: mxs - Add Freescale MXS DCP driver")
Signed-off-by: Rosioru Dragos <dragos.rosioru@nxp.com>
Acked-by: Horia Geantă <horia.geanta@nxp.com>
Signed-off-by: Leonard Crestez <leonard.crestez@nxp.com>
Diffstat (limited to 'mm/memory-failure.c')
0 files changed, 0 insertions, 0 deletions