]> Git Repo - linux.git/commit - crypto/testmgr.c
crypto: testmgr - Add a flag allowing the self-tests to be disabled at runtime.
authorRichard W.M. Jones <[email protected]>
Tue, 3 May 2016 09:00:17 +0000 (10:00 +0100)
committerHerbert Xu <[email protected]>
Thu, 5 May 2016 06:36:53 +0000 (14:36 +0800)
commit9e5c9fe4cbb89b9af1fcf317f7b39d993bb47a71
tree5bdd1fd539810739c68e2ebe461740db036a77ea
parentbc197b2a9c7e0129fa0ec1961881e2a0b3bef967
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 <[email protected]>
Signed-off-by: Herbert Xu <[email protected]>
Documentation/kernel-parameters.txt
crypto/testmgr.c
This page took 0.076743 seconds and 4 git commands to generate.