Skip to content

Commit 2343d15

Browse files
zx2c4herbertx
authored andcommitted
crypto: Kconfig - allow tests to be disabled when manager is disabled
The library code uses CRYPTO_MANAGER_DISABLE_TESTS to conditionalize its tests, but the library code can also exist without CRYPTO_MANAGER. That means on minimal configs, the test code winds up being built with no way to disable it. Signed-off-by: Jason A. Donenfeld <[email protected]> Signed-off-by: Herbert Xu <[email protected]>
1 parent 0bc8176 commit 2343d15

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

crypto/Kconfig

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -136,8 +136,6 @@ config CRYPTO_USER
136136
Userspace configuration for cryptographic instantiations such as
137137
cbc(aes).
138138

139-
if CRYPTO_MANAGER2
140-
141139
config CRYPTO_MANAGER_DISABLE_TESTS
142140
bool "Disable run-time self tests"
143141
default y
@@ -155,8 +153,6 @@ config CRYPTO_MANAGER_EXTRA_TESTS
155153
This is intended for developer use only, as these tests take much
156154
longer to run than the normal self tests.
157155

158-
endif # if CRYPTO_MANAGER2
159-
160156
config CRYPTO_GF128MUL
161157
tristate
162158

0 commit comments

Comments
 (0)