aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/Kconfig
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2010-08-05 21:40:28 -0400
committerHerbert Xu <herbert@gondor.apana.org.au>2010-08-05 21:40:28 -0400
commit326a6346ffb5b19eb593530d9d3096d409e46f62 (patch)
treec049bbde5ec2e214edb42822688a9c8b2628dfbc /crypto/Kconfig
parent23a75eee070f1370bee803a34f285cf81eb5f331 (diff)
crypto: testmgr - Fix test disabling option
This patch fixes a serious bug in the test disabling patch where it can cause an spurious load of the cryptomgr module even when it's compiled in. It also negates the test disabling option so that its absence causes tests to be enabled. The Kconfig option is also now behind EMBEDDED. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/Kconfig')
-rw-r--r--crypto/Kconfig11
1 files changed, 5 insertions, 6 deletions
diff --git a/crypto/Kconfig b/crypto/Kconfig
index 1cd497d7a15a..6f5c50fdbbdd 100644
--- a/crypto/Kconfig
+++ b/crypto/Kconfig
@@ -101,13 +101,12 @@ config CRYPTO_MANAGER2
101 select CRYPTO_BLKCIPHER2 101 select CRYPTO_BLKCIPHER2
102 select CRYPTO_PCOMP2 102 select CRYPTO_PCOMP2
103 103
104config CRYPTO_MANAGER_TESTS 104config CRYPTO_MANAGER_DISABLE_TESTS
105 bool "Run algolithms' self-tests" 105 bool "Disable run-time self tests"
106 default y 106 depends on CRYPTO_MANAGER2 && EMBEDDED
107 depends on CRYPTO_MANAGER2
108 help 107 help
109 Run cryptomanager's tests for the new crypto algorithms being 108 Disable run-time self tests that normally take place at
110 registered. 109 algorithm registration.
111 110
112config CRYPTO_GF128MUL 111config CRYPTO_GF128MUL
113 tristate "GF(2^128) multiplication functions (EXPERIMENTAL)" 112 tristate "GF(2^128) multiplication functions (EXPERIMENTAL)"