]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
crypto: cryptomgr - Select algorithm types only when CRYPTO_SELFTESTS
authorEric Biggers <ebiggers@kernel.org>
Fri, 27 Mar 2026 23:08:18 +0000 (16:08 -0700)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 3 Apr 2026 00:56:13 +0000 (08:56 +0800)
commitcdadc14359378c0cf02251c86ffbc606f55bfadd
tree76e6ca9ccf1b20024e69cbc05a62a483767c37af
parent51d0f5020deeef1c678b7e3e71420b2842215662
crypto: cryptomgr - Select algorithm types only when CRYPTO_SELFTESTS

Enabling any template selects CRYPTO_MANAGER, which causes
CRYPTO_MANAGER2 to enable itself, which selects every algorithm type
option.  However, pulling in all algorithm types is needed only when the
self-tests are enabled.  So condition the selections accordingly.

To make this possible, also add the missing selections to various
symbols that were relying on transitive selections via CRYPTO_MANAGER.

Signed-off-by: Eric Biggers <ebiggers@kernel.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/Kconfig
drivers/crypto/Kconfig
drivers/crypto/allwinner/Kconfig
drivers/crypto/intel/qat/Kconfig