diff options
author | Stephan Mueller <smueller@chronox.de> | 2016-08-09 19:02:36 (GMT) |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2016-08-16 09:20:19 (GMT) |
commit | d89a67134fcc7e863530624fe5a88dde0159cfb8 (patch) | |
tree | 3c4e658292ecb86f636d57e72b7128acc54524f2 /Documentation/DocBook | |
parent | c5f91cde6ba3e16772bca3885a3d51db73ed6a97 (diff) | |
download | linux-d89a67134fcc7e863530624fe5a88dde0159cfb8.tar.xz |
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 'Documentation/DocBook')
0 files changed, 0 insertions, 0 deletions