Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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>

authored by

Arnd Bergmann and committed by
Herbert Xu
edc8e80b 92c6a707

+7 -7
+2 -2
drivers/crypto/marvell/Kconfig
··· 24 24 tristate "Support for Marvell OcteonTX CPT driver" 25 25 depends on ARCH_THUNDER || COMPILE_TEST 26 26 depends on PCI_MSI && 64BIT 27 - depends on CRYPTO_LIB_AES 27 + select CRYPTO_LIB_AES 28 28 select CRYPTO_SKCIPHER 29 29 select CRYPTO_HASH 30 30 select CRYPTO_AEAD ··· 41 41 tristate "Marvell OcteonTX2 CPT driver" 42 42 depends on ARCH_THUNDER2 || COMPILE_TEST 43 43 depends on PCI_MSI && 64BIT 44 - depends on CRYPTO_LIB_AES 45 44 depends on NET_VENDOR_MARVELL 46 45 select OCTEONTX2_MBOX 47 46 select CRYPTO_DEV_MARVELL 47 + select CRYPTO_LIB_AES 48 48 select CRYPTO_SKCIPHER 49 49 select CRYPTO_HASH 50 50 select CRYPTO_AEAD
+4 -4
lib/crypto/Kconfig
··· 63 63 select CRYPTO_LIB_CHACHA_GENERIC if CRYPTO_ARCH_HAVE_LIB_CHACHA=n 64 64 65 65 config CRYPTO_LIB_CHACHA 66 - tristate "ChaCha library interface" 66 + tristate 67 67 select CRYPTO 68 68 select CRYPTO_LIB_CHACHA_INTERNAL 69 69 help ··· 93 93 select CRYPTO_LIB_CURVE25519_GENERIC if CRYPTO_ARCH_HAVE_LIB_CURVE25519=n 94 94 95 95 config CRYPTO_LIB_CURVE25519 96 - tristate "Curve25519 scalar multiplication library" 96 + tristate 97 97 select CRYPTO 98 98 select CRYPTO_LIB_CURVE25519_INTERNAL 99 99 help ··· 132 132 select CRYPTO_LIB_POLY1305_GENERIC if CRYPTO_ARCH_HAVE_LIB_POLY1305=n 133 133 134 134 config CRYPTO_LIB_POLY1305 135 - tristate "Poly1305 library interface" 135 + tristate 136 136 select CRYPTO 137 137 select CRYPTO_LIB_POLY1305_INTERNAL 138 138 help ··· 141 141 is available and enabled. 142 142 143 143 config CRYPTO_LIB_CHACHA20POLY1305 144 - tristate "ChaCha20-Poly1305 AEAD support (8-byte nonce library version)" 144 + tristate 145 145 select CRYPTO_LIB_CHACHA 146 146 select CRYPTO_LIB_POLY1305 147 147 select CRYPTO_LIB_UTILS
+1 -1
security/keys/Kconfig
··· 60 60 bool "Large payload keys" 61 61 depends on KEYS 62 62 depends on TMPFS 63 - depends on CRYPTO_LIB_CHACHA20POLY1305 = y 63 + select CRYPTO_LIB_CHACHA20POLY1305 64 64 help 65 65 This option provides support for holding large keys within the kernel 66 66 (for example Kerberos ticket caches). The data may be stored out to