summaryrefslogtreecommitdiff
path: root/drivers/crypto
diff options
context:
space:
mode:
authorStephan Müller <smueller@chronox.de>2023-10-19 10:40:42 +0300
committerHerbert Xu <herbert@gondor.apana.org.au>2023-10-27 13:04:25 +0300
commitcf27d9475f37fb69b5bc293e6e6d6c1d03cf7cc6 (patch)
treec77b3a52d3ee16905b844beb8fa701153a519add /drivers/crypto
parent3dca18fcfebf33f2a73876f9314f7621c2e2fb0b (diff)
downloadlinux-cf27d9475f37fb69b5bc293e6e6d6c1d03cf7cc6.tar.xz
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: 04597c8dd6c4 ("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 'drivers/crypto')
0 files changed, 0 insertions, 0 deletions