summaryrefslogtreecommitdiff
path: root/crypto/xor.c
diff options
context:
space:
mode:
authorStephan Mueller <smueller@chronox.de>2016-08-09 21:02:36 +0200
committerHerbert Xu <herbert@gondor.apana.org.au>2016-08-16 17:20:19 +0800
commitfca545a392c944d4ce6eb4be36def27c57401676 (patch)
treee315ace6c98fe621fcfba582d6e72a0ea272a6ae /crypto/xor.c
parent719532cc40bfecbb3b02d072ac20b9f85bbb8b0e (diff)
downloadlinux-crypto-fca545a392c944d4ce6eb4be36def27c57401676.tar.gz
linux-crypto-fca545a392c944d4ce6eb4be36def27c57401676.zip
crypto: drbg - do not call drbg_instantiate in healt test
When calling the DRBG health test in FIPS mode, the Jitter RNG is not yet present in the kernel crypto API which will cause the instantiation to fail and thus the health test to fail. As the health tests cover the enforcement of various thresholds, invoke the functions that are supposed to enforce the thresholds directly. This patch also saves precious seed. Reported-by: Tapas Sarangi <TSarangi@trustwave.com> Signed-off-by: Stephan Mueller <smueller@chronox.de> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/xor.c')
0 files changed, 0 insertions, 0 deletions