commit | 9e5c9fe4cbb89b9af1fcf317f7b39d993bb47a71 | [log] [tgz] |
---|---|---|
author | Richard W.M. Jones <rjones@redhat.com> | Tue May 03 10:00:17 2016 +0100 |
committer | Herbert Xu <herbert@gondor.apana.org.au> | Thu May 05 14:36:53 2016 +0800 |
tree | 5bdd1fd539810739c68e2ebe461740db036a77ea | |
parent | bc197b2a9c7e0129fa0ec1961881e2a0b3bef967 [diff] |
crypto: testmgr - Add a flag allowing the self-tests to be disabled at runtime. Running self-tests for a short-lived KVM VM takes 28ms on my laptop. This commit adds a flag 'cryptomgr.notests' which allows them to be disabled. However if fips=1 as well, we ignore this flag as FIPS mode mandates that the self-tests are run. Signed-off-by: Richard W.M. Jones <rjones@redhat.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>