summaryrefslogtreecommitdiff
path: root/crypto/Kconfig
diff options
context:
space:
mode:
authorAlexander Shishkin <virtuoso@slind.org>2010-06-03 20:53:43 +1000
committerHerbert Xu <herbert@gondor.apana.org.au>2010-06-03 20:53:43 +1000
commit7d839a6c275981338fba67ce1c0fc026f7c37d6b (patch)
treee2206a069505319721e1cf36ed780e3a3127edaf /crypto/Kconfig
parent68e954c3cc38337b1bdfb850ed2ca1720505cbf8 (diff)
downloadlinux-crypto-7d839a6c275981338fba67ce1c0fc026f7c37d6b.tar.gz
linux-crypto-7d839a6c275981338fba67ce1c0fc026f7c37d6b.zip
crypto: testmgr - add an option to disable cryptoalgos' self-tests
By default, CONFIG_CRYPTO_MANAGER_TESTS will be enabled and thus self-tests will still run, but it is now possible to disable them to gain some time during bootup. Signed-off-by: Alexander Shishkin <virtuoso@slind.org> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/Kconfig')
-rw-r--r--crypto/Kconfig8
1 files changed, 8 insertions, 0 deletions
diff --git a/crypto/Kconfig b/crypto/Kconfig
index 11d0f21f..1cd497d7 100644
--- a/crypto/Kconfig
+++ b/crypto/Kconfig
@@ -101,6 +101,14 @@ config CRYPTO_MANAGER2
select CRYPTO_BLKCIPHER2
select CRYPTO_PCOMP2
+config CRYPTO_MANAGER_TESTS
+ bool "Run algolithms' self-tests"
+ default y
+ depends on CRYPTO_MANAGER2
+ help
+ Run cryptomanager's tests for the new crypto algorithms being
+ registered.
+
config CRYPTO_GF128MUL
tristate "GF(2^128) multiplication functions (EXPERIMENTAL)"
depends on EXPERIMENTAL