[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20210521082224.dzarrsqzxygschlw@gondor.apana.org.au>
Date: Fri, 21 May 2021 16:22:25 +0800
From: Herbert Xu <herbert@...dor.apana.org.au>
To: Hui Tang <tanghui20@...wei.com>
Cc: davem@...emloft.net, linux-crypto@...r.kernel.org,
xuzaibo@...wei.com, wangzhou1@...ilicon.com,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] crypto: testmgr - fix initialization of 'secret_size'
On Mon, May 10, 2021 at 04:54:08PM +0800, Hui Tang wrote:
> Actual data length of the 'secret' is not equal to the 'secret_size'.
>
> Since the 'curve_id' has removed in the 'secret', the 'secret_size'
> should subtract the length of the 'curve_id'.
>
> Fixes: 6763f5ea2d9a(crypto: ecdh - move curve_id of ECDH from ...)
>
> Signed-off-by: Hui Tang <tanghui20@...wei.com>
> ---
> crypto/testmgr.h | 8 ++++----
> 1 file changed, 4 insertions(+), 4 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