summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArd Biesheuvel <ardb@kernel.org>2020-11-20 12:04:32 +0100
committerHerbert Xu <herbert@gondor.apana.org.au>2020-11-27 17:13:45 +1100
commit0e7a9e269de5500fc2e6eda8e105b7a89c7164c5 (patch)
tree5c981fa18b10853a25b85a125b59f94727c7b190
parentdc3517474c0906e5dc11d1affd285f93edefedd0 (diff)
downloadlinux-crypto-0e7a9e269de5500fc2e6eda8e105b7a89c7164c5.tar.gz
linux-crypto-0e7a9e269de5500fc2e6eda8e105b7a89c7164c5.zip
crypto: tcrypt - permit tcrypt.ko to be builtin
When working on crypto algorithms, being able to run tcrypt quickly without booting an entire Linux installation can be very useful. For instance, QEMU/kvm can be used to boot a kernel from the command line, and having tcrypt.ko builtin would allow tcrypt to be executed to run benchmarks, or to run tests for algorithms that need to be instantiated from templates, without the need to make it past the point where the rootfs is mounted. So let's relax the requirement that tcrypt can only be built as a module when CONFIG_EXPERT is enabled. Signed-off-by: Ard Biesheuvel <ardb@kernel.org> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
-rw-r--r--crypto/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/Kconfig b/crypto/Kconfig
index 37de7d00..a367fcfe 100644
--- a/crypto/Kconfig
+++ b/crypto/Kconfig
@@ -201,7 +201,7 @@ config CRYPTO_AUTHENC
config CRYPTO_TEST
tristate "Testing module"
- depends on m
+ depends on m || EXPERT
select CRYPTO_MANAGER
help
Quick & dirty crypto test module.