crypto: testmgr - replace CRYPTO_MANAGER_DISABLE_TESTS with CRYPTO_SELFTESTS
authorEric Biggers <ebiggers@google.com>
Mon, 5 May 2025 20:33:41 +0000 (13:33 -0700)
committerHerbert Xu <herbert@gondor.apana.org.au>
Mon, 12 May 2025 05:33:14 +0000 (13:33 +0800)
commit40b9969796bfa49ed1b0f7ddc254f48cb2ac6d2c
tree3348bf44e9e622851051c1b1d26f7cd8ea12114a
parentd469eaed223fa485eabebd3bcd05ddd3c891f54e
crypto: testmgr - replace CRYPTO_MANAGER_DISABLE_TESTS with CRYPTO_SELFTESTS

The negative-sense of CRYPTO_MANAGER_DISABLE_TESTS is a longstanding
mistake that regularly causes confusion.  Especially bad is that you can
have CRYPTO=n && CRYPTO_MANAGER_DISABLE_TESTS=n, which is ambiguous.

Replace CRYPTO_MANAGER_DISABLE_TESTS with CRYPTO_SELFTESTS which has the
expected behavior.

The tests continue to be disabled by default.

Signed-off-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
18 files changed:
arch/arm/configs/milbeaut_m10v_defconfig
arch/loongarch/configs/loongson3_defconfig
arch/s390/configs/debug_defconfig
arch/s390/configs/defconfig
crypto/Kconfig
crypto/algapi.c
crypto/algboss.c
crypto/api.c
crypto/hkdf.c
crypto/internal.h
crypto/kdf_sp800108.c
crypto/testmgr.c
lib/crypto/Makefile
lib/crypto/aescfb.c
lib/crypto/aesgcm.c
lib/crypto/blake2s.c
lib/crypto/chacha20poly1305.c
lib/crypto/curve25519.c