aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
authorArnd Bergmann <arnd@arndb.de>2025-03-14 17:05:32 +0100
committerHerbert Xu <herbert@gondor.apana.org.au>2025-03-21 17:33:39 +0800
commitedc8e80bf862a7282da017e7f16e63b52585c793 (patch)
tree9a10a5cc2b94d0737fa5cada60073420a1ba7443 /lib
parent92c6a707d82f0629debf1c21dd87717776d96af2 (diff)
downloadath-edc8e80bf862a7282da017e7f16e63b52585c793.tar.gz
crypto: lib/Kconfig - hide library options
Any driver that needs these library functions should already be selecting the corresponding Kconfig symbols, so there is no real point in making these visible. The original patch that made these user selectable described problems with drivers failing to select the code they use, but for consistency it's better to always use 'select' on a symbol than to mix it with 'depends on'. Fixes: e56e18985596 ("lib/crypto: add prompts back to crypto libraries") Signed-off-by: Arnd Bergmann <arnd@arndb.de> Acked-by: Jarkko Sakkinen <jarkko@kernel.org> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'lib')
-rw-r--r--lib/crypto/Kconfig8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/crypto/Kconfig b/lib/crypto/Kconfig
index 17322f8715862..798972b29b68b 100644
--- a/lib/crypto/Kconfig
+++ b/lib/crypto/Kconfig
@@ -63,7 +63,7 @@ config CRYPTO_LIB_CHACHA_INTERNAL
select CRYPTO_LIB_CHACHA_GENERIC if CRYPTO_ARCH_HAVE_LIB_CHACHA=n
config CRYPTO_LIB_CHACHA
- tristate "ChaCha library interface"
+ tristate
select CRYPTO
select CRYPTO_LIB_CHACHA_INTERNAL
help
@@ -93,7 +93,7 @@ config CRYPTO_LIB_CURVE25519_INTERNAL
select CRYPTO_LIB_CURVE25519_GENERIC if CRYPTO_ARCH_HAVE_LIB_CURVE25519=n
config CRYPTO_LIB_CURVE25519
- tristate "Curve25519 scalar multiplication library"
+ tristate
select CRYPTO
select CRYPTO_LIB_CURVE25519_INTERNAL
help
@@ -132,7 +132,7 @@ config CRYPTO_LIB_POLY1305_INTERNAL
select CRYPTO_LIB_POLY1305_GENERIC if CRYPTO_ARCH_HAVE_LIB_POLY1305=n
config CRYPTO_LIB_POLY1305
- tristate "Poly1305 library interface"
+ tristate
select CRYPTO
select CRYPTO_LIB_POLY1305_INTERNAL
help
@@ -141,7 +141,7 @@ config CRYPTO_LIB_POLY1305
is available and enabled.
config CRYPTO_LIB_CHACHA20POLY1305
- tristate "ChaCha20-Poly1305 AEAD support (8-byte nonce library version)"
+ tristate
select CRYPTO_LIB_CHACHA
select CRYPTO_LIB_POLY1305
select CRYPTO_LIB_UTILS