crypto: tcrypt - permit tcrypt.ko to be builtin
authorArd Biesheuvel <ardb@kernel.org>
Fri, 20 Nov 2020 11:04:32 +0000 (12:04 +0100)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 27 Nov 2020 06:13:45 +0000 (17:13 +1100)
commit00ea27f11c4f96ffc9ebc147b5ea045babb02ce3
tree026184dd83a302b9690850f8d68f8286242c2027
parent08a7e33c083b60c1ddd330df22fb56038e4a40ad
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>
crypto/Kconfig