Messages in this thread | | | Date | Fri, 6 Mar 2020 12:49:17 +1100 | From | Herbert Xu <> | Subject | Re: [PATCH] crypto: dcp - fix scatterlist linearization for hash |
| |
On Tue, Feb 25, 2020 at 05:05:52PM +0200, Dragos Rosioru (OSS) wrote: > From: Rosioru Dragos <dragos.rosioru@nxp.com> > > 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> > --- > drivers/crypto/mxs-dcp.c | 58 +++++++++++++++++++++++------------------------- > 1 file changed, 28 insertions(+), 30 deletions(-)
Patch applied. Thanks. -- Email: Herbert Xu <herbert@gondor.apana.org.au> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
| |