[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20210603123137.GJ6161@gondor.apana.org.au>
Date: Thu, 3 Jun 2021 20:31:37 +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: hisilicon/hpre - add check before gx modulo p
On Sat, May 29, 2021 at 04:58:19PM +0800, Hui Tang wrote:
> The result of gx modulo p is zero if gx is equal to p, so return
> error immediately if gx is equal to p.
>
> Signed-off-by: Hui Tang <tanghui20@...wei.com>
> ---
> drivers/crypto/hisilicon/hpre/hpre_crypto.c | 6 +++++-
> 1 file changed, 5 insertions(+), 1 deletion(-)
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