Skip to content
Commit 9e5c9fe4 authored by Richard W.M. Jones's avatar Richard W.M. Jones Committed by Herbert Xu
Browse files

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: default avatarRichard W.M. Jones <rjones@redhat.com>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent bc197b2a
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment