diff options
author | Rosioru Dragos <dragos.rosioru@nxp.com> | 2020-02-25 18:05:52 +0300 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2020-03-06 04:28:21 +0300 |
commit | fa03481b6e2e82355c46644147b614f18c7a8161 (patch) | |
tree | c0446b88eae61a4639fd3d7d24fdc48021113375 /drivers/crypto/chelsio | |
parent | 5fbab10dee12ce215f615a08e07b51e91f25f2ab (diff) | |
download | linux-fa03481b6e2e82355c46644147b614f18c7a8161.tar.xz |
crypto: mxs-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.
Cc: <stable@vger.kernel.org>
Fixes: 15b59e7c3733 ("crypto: mxs - Add Freescale MXS DCP driver")
Signed-off-by: Rosioru Dragos <dragos.rosioru@nxp.com>
Reviewed-by: Horia Geantă <horia.geanta@nxp.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/chelsio')
0 files changed, 0 insertions, 0 deletions