Re: [PATCH] crypto: caam - double the entropy delay interval for retry

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxx>
> ---
>  drivers/crypto/caam/ctrl.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)

Patch applied.  Thanks.
-- 
Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt




[Index of Archives]     [Kernel]     [Gnu Classpath]     [Gnu Crypto]     [DM Crypt]     [Netfilter]     [Bugtraq]
  Powered by Linux