[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20200306014917.GE30653@gondor.apana.org.au>
Date: Fri, 6 Mar 2020 12:49:17 +1100
From: Herbert Xu <herbert@...dor.apana.org.au>
To: "Dragos Rosioru (OSS)" <dragos.rosioru@....nxp.com>
Cc: "David S. Miller" <davem@...emloft.net>,
Shawn Guo <shawnguo@...nel.org>,
Sascha Hauer <s.hauer@...gutronix.de>,
linux-kernel@...r.kernel.org, linux-crypto@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org,
Horia Geanta <horia.geanta@....com>,
Marek Vasut <marex@...x.de>,
Pengutronix Kernel Team <kernel@...gutronix.de>,
Fabio Estevam <festevam@...il.com>,
NXP Linux Team <linux-imx@....com>
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@....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@...r.kernel.org>
> Fixes: 15b59e7c3733 ("crypto: mxs - Add Freescale MXS DCP driver")
> Signed-off-by: Rosioru Dragos <dragos.rosioru@....com>
> ---
> drivers/crypto/mxs-dcp.c | 58 +++++++++++++++++++++++-------------------------
> 1 file changed, 28 insertions(+), 30 deletions(-)
Patch applied. Thanks.
--
Email: Herbert Xu <herbert@...dor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
Powered by blists - more mailing lists