lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <aMTzcmnTAovW_Bw-@gondor.apana.org.au>
Date: Sat, 13 Sep 2025 12:30:42 +0800
From: Herbert Xu <herbert@...dor.apana.org.au>
To: Gaurav Jain <gaurav.jain@....com>
Cc: Horia Geanta <horia.geanta@....com>,
	Pankaj Gupta <pankaj.gupta@....com>, Varun Sethi <V.Sethi@....com>,
	Silvano Di Ninno <silvano.dininno@....com>,
	Meenakshi Aggarwal <meenakshi.aggarwal@....com>,
	"David S . Miller" <davem@...emloft.net>,
	linux-crypto@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] crypto: caam - double the entropy delay interval for
 retry

On Fri, Sep 05, 2025 at 03:41:48PM +0530, Gaurav Jain wrote:
> during entropy evaluation, if the generated samples fail
> any statistical test, then, all of the bits will be discarded,
> and a second set of samples will be generated and tested.
> 
> the entropy delay interval should be doubled before performing the
> retry.
> 
> also, ctrlpriv->rng4_sh_init and inst_handles both reads RNG DRNG
> status register, but only inst_handles is updated before every retry.
> so only check inst_handles and removing ctrlpriv->rng4_sh_init
> 
> Signed-off-by: Gaurav Jain <gaurav.jain@....com>
> ---
>  drivers/crypto/caam/ctrl.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 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

Powered by Openwall GNU/*/Linux Powered by OpenVZ