summaryrefslogtreecommitdiff
path: root/crypto/shash.c
diff options
context:
space:
mode:
authorStephan Müller <smueller@chronox.de>2023-10-19 09:40:42 +0200
committerHerbert Xu <herbert@gondor.apana.org.au>2023-10-27 18:04:25 +0800
commit8ef4ed7514314378224e993fa44ced0b6f9a3e19 (patch)
treecccff4006b6bedd115fe1ae3f12f189aa1f1e0d5 /crypto/shash.c
parent456364410716889832798a54d33efb459e78e20e (diff)
downloadlinux-crypto-8ef4ed7514314378224e993fa44ced0b6f9a3e19.tar.gz
linux-crypto-8ef4ed7514314378224e993fa44ced0b6f9a3e19.zip
crypto: jitter - use permanent health test storage
The health test result in the current code is only given for the currently processed raw time stamp. This implies to react on the health test error, the result must be checked after each raw time stamp being processed. To avoid this constant checking requirement, any health test error is recorded and stored to be analyzed at a later time, if needed. This change ensures that the power-up test catches any health test error. Without that patch, the power-up health test result is not enforced. The introduced changes are already in use with the user space version of the Jitter RNG. Fixes: f0be2a5192f0 ("jitter - add RCT/APT support for different OSRs") Reported-by: Joachim Vandersmissen <git@jvdsn.com> Signed-off-by: Stephan Mueller <smueller@chronox.de> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/shash.c')
0 files changed, 0 insertions, 0 deletions