summaryrefslogtreecommitdiffstats
path: root/crypto/blowfish_common.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
commitd89a67134fcc7e863530624fe5a88dde0159cfb8 (patch)
tree3c4e658292ecb86f636d57e72b7128acc54524f2 /crypto/blowfish_common.c
parentc5f91cde6ba3e16772bca3885a3d51db73ed6a97 (diff)
downloadop-kernel-dev-d89a67134fcc7e863530624fe5a88dde0159cfb8.zip
op-kernel-dev-d89a67134fcc7e863530624fe5a88dde0159cfb8.tar.gz
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/blowfish_common.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud