crypto: testmgr - Fix test disabling option
[linux-flexiantxendom0-natty.git] / crypto / Kconfig
index 1cd497d..6f5c50f 100644 (file)
@@ -101,13 +101,12 @@ config CRYPTO_MANAGER2
        select CRYPTO_BLKCIPHER2
        select CRYPTO_PCOMP2
 
-config CRYPTO_MANAGER_TESTS
-       bool "Run algolithms' self-tests"
-       default y
-       depends on CRYPTO_MANAGER2
+config CRYPTO_MANAGER_DISABLE_TESTS
+       bool "Disable run-time self tests"
+       depends on CRYPTO_MANAGER2 && EMBEDDED
        help
-         Run cryptomanager's tests for the new crypto algorithms being
-         registered.
+         Disable run-time self tests that normally take place at
+         algorithm registration.
 
 config CRYPTO_GF128MUL
        tristate "GF(2^128) multiplication functions (EXPERIMENTAL)"