linux-kernelorg-stable/drivers/crypto/caam
Gaurav Jain 9048beca9c crypto: caam - double the entropy delay interval for retry
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@nxp.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
2025-09-13 12:11:06 +08:00
..
Kconfig
Makefile crypto: caam - avoid option aliasing with the CONFIG_CAAM_QI build option 2025-07-18 20:51:59 +10:00
blob_gen.c
caamalg.c
caamalg_desc.c
caamalg_desc.h
caamalg_qi.c
caamalg_qi2.c
caamalg_qi2.h
caamhash.c
caamhash_desc.c
caamhash_desc.h
caampkc.c
caampkc.h
caamprng.c
caamrng.c
compat.h
ctrl.c crypto: caam - double the entropy delay interval for retry 2025-09-13 12:11:06 +08:00
ctrl.h
debugfs.c crypto: caam - avoid option aliasing with the CONFIG_CAAM_QI build option 2025-07-18 20:51:59 +10:00
debugfs.h crypto: caam - avoid option aliasing with the CONFIG_CAAM_QI build option 2025-07-18 20:51:59 +10:00
desc.h
desc_constr.h
dpseci-debugfs.c
dpseci-debugfs.h
dpseci.c
dpseci.h
dpseci_cmd.h
error.c
error.h
intern.h crypto: caam - avoid option aliasing with the CONFIG_CAAM_QI build option 2025-07-18 20:51:59 +10:00
jr.c crypto: engine - remove request batching support 2025-07-18 20:52:00 +10:00
jr.h
key_gen.c
key_gen.h
pdb.h
pkc_desc.c
qi.c
qi.h
regs.h
sg_sw_qm.h
sg_sw_qm2.h
sg_sw_sec4.h