diff options
author | Eric Biggers <ebiggers@google.com> | 2019-03-31 13:09:14 -0700 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2019-04-08 14:42:55 +0800 |
commit | 0224cedfcf6e9a35b35dac4e313f036d8083530f (patch) | |
tree | 17dc6c17d73dbdf18f45a184eb9dceb9208823ae /crypto/cast_common.c | |
parent | 1b173f23b6ff9f1f5f96a5f21b8d0ea442d579c5 (diff) | |
download | linux-crypto-0224cedfcf6e9a35b35dac4e313f036d8083530f.tar.gz linux-crypto-0224cedfcf6e9a35b35dac4e313f036d8083530f.zip |
crypto: testmgr - add panic_on_fail module parameter
Add a module parameter cryptomgr.panic_on_fail which causes the kernel
to panic if any crypto self-tests fail.
Use cases:
- More easily detect crypto self-test failures by boot testing,
e.g. on KernelCI.
- Get a bug report if syzkaller manages to use the template system to
instantiate an algorithm that fails its self-tests.
The command-line option "fips=1" already does this, but it also makes
other changes not wanted for general testing, such as disabling
"unapproved" algorithms. panic_on_fail just does what it says.
Signed-off-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions