kconfig: remove Enable from boolean prompts
According to Kconfig guidelines, boolean prompts must not start with "Enable...". The following command has been used to automate the changes in this patch: sed -i "s/bool \"[Ee]nables\? \(\w\)/bool \"\U\1/g" **/Kconfig* Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
This commit is contained in:
parent
d510663c26
commit
95fb0ded6b
267 changed files with 920 additions and 920 deletions
|
@ -127,7 +127,7 @@ config MBEDTLS_INSTALL_PATH
|
|||
is enabled otherwise the build will fail.
|
||||
|
||||
config MBEDTLS_ENABLE_HEAP
|
||||
bool "Enable global heap for mbed TLS"
|
||||
bool "Global heap for mbed TLS"
|
||||
help
|
||||
This option enables the mbedtls to use the heap. This setting must
|
||||
be global so that various applications and libraries in Zephyr do not
|
||||
|
|
|
@ -10,35 +10,35 @@ menu "TLS configuration"
|
|||
menu "Supported TLS version"
|
||||
|
||||
config MBEDTLS_TLS_VERSION_1_0
|
||||
bool "Enable support for TLS 1.0"
|
||||
bool "Support for TLS 1.0"
|
||||
select MBEDTLS_CIPHER
|
||||
select MBEDTLS_MAC_MD5_ENABLED
|
||||
select MBEDTLS_MAC_SHA1_ENABLED
|
||||
select MBEDTLS_MD
|
||||
|
||||
config MBEDTLS_TLS_VERSION_1_1
|
||||
bool "Enable support for TLS 1.1 (DTLS 1.0)"
|
||||
bool "Support for TLS 1.1 (DTLS 1.0)"
|
||||
select MBEDTLS_CIPHER
|
||||
select MBEDTLS_MAC_MD5_ENABLED
|
||||
select MBEDTLS_MAC_SHA1_ENABLED
|
||||
select MBEDTLS_MD
|
||||
|
||||
config MBEDTLS_TLS_VERSION_1_2
|
||||
bool "Enable support for TLS 1.2 (DTLS 1.2)"
|
||||
bool "Support for TLS 1.2 (DTLS 1.2)"
|
||||
default y if !NET_L2_OPENTHREAD
|
||||
select MBEDTLS_CIPHER
|
||||
select MBEDTLS_MD
|
||||
|
||||
config MBEDTLS_DTLS
|
||||
bool "Enable support for DTLS"
|
||||
bool "Support for DTLS"
|
||||
depends on MBEDTLS_TLS_VERSION_1_1 || MBEDTLS_TLS_VERSION_1_2
|
||||
|
||||
config MBEDTLS_SSL_EXPORT_KEYS
|
||||
bool "Enable support for exporting SSL key block and master secret"
|
||||
bool "Support for exporting SSL key block and master secret"
|
||||
depends on MBEDTLS_TLS_VERSION_1_0 || MBEDTLS_TLS_VERSION_1_1 || MBEDTLS_TLS_VERSION_1_2
|
||||
|
||||
config MBEDTLS_SSL_ALPN
|
||||
bool "Enable support for setting the supported Application Layer Protocols"
|
||||
bool "Support for setting the supported Application Layer Protocols"
|
||||
depends on MBEDTLS_TLS_VERSION_1_0 || MBEDTLS_TLS_VERSION_1_1 || MBEDTLS_TLS_VERSION_1_2
|
||||
|
||||
endmenu
|
||||
|
@ -48,7 +48,7 @@ menu "Ciphersuite configuration"
|
|||
comment "Supported key exchange modes"
|
||||
|
||||
config MBEDTLS_KEY_EXCHANGE_ALL_ENABLED
|
||||
bool "Enable all available ciphersuite modes"
|
||||
bool "All available ciphersuite modes"
|
||||
select MBEDTLS_KEY_EXCHANGE_PSK_ENABLED
|
||||
select MBEDTLS_KEY_EXCHANGE_DHE_PSK_ENABLED
|
||||
select MBEDTLS_KEY_EXCHANGE_ECDHE_PSK_ENABLED
|
||||
|
@ -62,16 +62,16 @@ config MBEDTLS_KEY_EXCHANGE_ALL_ENABLED
|
|||
select MBEDTLS_KEY_EXCHANGE_ECJPAKE_ENABLED
|
||||
|
||||
config MBEDTLS_KEY_EXCHANGE_PSK_ENABLED
|
||||
bool "Enable the PSK based ciphersuite modes"
|
||||
bool "The PSK based ciphersuite modes"
|
||||
|
||||
config MBEDTLS_KEY_EXCHANGE_DHE_PSK_ENABLED
|
||||
bool "Enable the DHE-PSK based ciphersuite modes"
|
||||
bool "The DHE-PSK based ciphersuite modes"
|
||||
|
||||
config MBEDTLS_KEY_EXCHANGE_ECDHE_PSK_ENABLED
|
||||
bool "Enable the ECDHE-PSK based ciphersuite modes"
|
||||
bool "The ECDHE-PSK based ciphersuite modes"
|
||||
|
||||
config MBEDTLS_KEY_EXCHANGE_RSA_PSK_ENABLED
|
||||
bool "Enable the RSA-PSK based ciphersuite modes"
|
||||
bool "The RSA-PSK based ciphersuite modes"
|
||||
|
||||
config MBEDTLS_KEY_EXCHANGE_SOME_PSK_ENABLED
|
||||
bool
|
||||
|
@ -88,29 +88,29 @@ config MBEDTLS_PSK_MAX_LEN
|
|||
Max size of TLS pre-shared keys, in bytes.
|
||||
|
||||
config MBEDTLS_KEY_EXCHANGE_RSA_ENABLED
|
||||
bool "Enable the RSA-only based ciphersuite modes"
|
||||
bool "The RSA-only based ciphersuite modes"
|
||||
default y if !NET_L2_OPENTHREAD
|
||||
|
||||
config MBEDTLS_KEY_EXCHANGE_DHE_RSA_ENABLED
|
||||
bool "Enable the DHE-RSA based ciphersuite modes"
|
||||
bool "The DHE-RSA based ciphersuite modes"
|
||||
|
||||
config MBEDTLS_KEY_EXCHANGE_ECDHE_RSA_ENABLED
|
||||
bool "Enable the ECDHE-RSA based ciphersuite modes"
|
||||
bool "The ECDHE-RSA based ciphersuite modes"
|
||||
|
||||
config MBEDTLS_KEY_EXCHANGE_ECDHE_ECDSA_ENABLED
|
||||
bool "Enable the ECDHE-ECDSA based ciphersuite modes"
|
||||
bool "The ECDHE-ECDSA based ciphersuite modes"
|
||||
|
||||
config MBEDTLS_KEY_EXCHANGE_ECDH_ECDSA_ENABLED
|
||||
bool "Enable the ECDH-ECDSA based ciphersuite modes"
|
||||
bool "The ECDH-ECDSA based ciphersuite modes"
|
||||
|
||||
config MBEDTLS_ECDSA_DETERMINISTIC
|
||||
bool "Enable deterministic ECDSA (RFC 6979)"
|
||||
bool "Deterministic ECDSA (RFC 6979)"
|
||||
|
||||
config MBEDTLS_KEY_EXCHANGE_ECDH_RSA_ENABLED
|
||||
bool "Enable the ECDH-RSA based ciphersuite modes"
|
||||
bool "The ECDH-RSA based ciphersuite modes"
|
||||
|
||||
config MBEDTLS_KEY_EXCHANGE_ECJPAKE_ENABLED
|
||||
bool "Enable the ECJPAKE based ciphersuite modes"
|
||||
bool "The ECJPAKE based ciphersuite modes"
|
||||
|
||||
if MBEDTLS_KEY_EXCHANGE_ECDHE_PSK_ENABLED || \
|
||||
MBEDTLS_KEY_EXCHANGE_ECDHE_RSA_ENABLED || \
|
||||
|
@ -122,7 +122,7 @@ if MBEDTLS_KEY_EXCHANGE_ECDHE_PSK_ENABLED || \
|
|||
comment "Supported elliptic curves"
|
||||
|
||||
config MBEDTLS_ECP_ALL_ENABLED
|
||||
bool "Enable all available elliptic curves"
|
||||
bool "All available elliptic curves"
|
||||
select MBEDTLS_ECP_DP_SECP192R1_ENABLED
|
||||
select MBEDTLS_ECP_DP_SECP192R1_ENABLED
|
||||
select MBEDTLS_ECP_DP_SECP224R1_ENABLED
|
||||
|
@ -140,68 +140,68 @@ config MBEDTLS_ECP_ALL_ENABLED
|
|||
select MBEDTLS_ECP_NIST_OPTIM
|
||||
|
||||
config MBEDTLS_ECP_DP_SECP192R1_ENABLED
|
||||
bool "Enable SECP192R1 elliptic curve"
|
||||
bool "SECP192R1 elliptic curve"
|
||||
|
||||
config MBEDTLS_ECP_DP_SECP224R1_ENABLED
|
||||
bool "Enable SECP224R1 elliptic curve"
|
||||
bool "SECP224R1 elliptic curve"
|
||||
|
||||
config MBEDTLS_ECP_DP_SECP256R1_ENABLED
|
||||
bool "Enable SECP256R1 elliptic curve"
|
||||
bool "SECP256R1 elliptic curve"
|
||||
|
||||
config MBEDTLS_ECP_DP_SECP384R1_ENABLED
|
||||
bool "Enable SECP384R1 elliptic curve"
|
||||
bool "SECP384R1 elliptic curve"
|
||||
|
||||
config MBEDTLS_ECP_DP_SECP521R1_ENABLED
|
||||
bool "Enable SECP521R1 elliptic curve"
|
||||
bool "SECP521R1 elliptic curve"
|
||||
|
||||
config MBEDTLS_ECP_DP_SECP192K1_ENABLED
|
||||
bool "Enable SECP192K1 elliptic curve"
|
||||
bool "SECP192K1 elliptic curve"
|
||||
|
||||
config MBEDTLS_ECP_DP_SECP224K1_ENABLED
|
||||
bool "Enable SECP224K1 elliptic curve"
|
||||
bool "SECP224K1 elliptic curve"
|
||||
|
||||
config MBEDTLS_ECP_DP_SECP256K1_ENABLED
|
||||
bool "Enable SECP256K1 elliptic curve"
|
||||
bool "SECP256K1 elliptic curve"
|
||||
|
||||
config MBEDTLS_ECP_DP_BP256R1_ENABLED
|
||||
bool "Enable BP256R1 elliptic curve"
|
||||
bool "BP256R1 elliptic curve"
|
||||
|
||||
config MBEDTLS_ECP_DP_BP384R1_ENABLED
|
||||
bool "Enable BP384R1 elliptic curve"
|
||||
bool "BP384R1 elliptic curve"
|
||||
|
||||
config MBEDTLS_ECP_DP_BP512R1_ENABLED
|
||||
bool "Enable BP512R1 elliptic curve"
|
||||
bool "BP512R1 elliptic curve"
|
||||
|
||||
config MBEDTLS_ECP_DP_CURVE25519_ENABLED
|
||||
bool "Enable CURVE25519 elliptic curve"
|
||||
bool "CURVE25519 elliptic curve"
|
||||
|
||||
config MBEDTLS_ECP_DP_CURVE448_ENABLED
|
||||
bool "Enable CURVE448 elliptic curve"
|
||||
bool "CURVE448 elliptic curve"
|
||||
|
||||
config MBEDTLS_ECP_NIST_OPTIM
|
||||
bool "Enable NSIT curves optimization"
|
||||
bool "NSIT curves optimization"
|
||||
|
||||
endif
|
||||
|
||||
comment "Supported hash"
|
||||
|
||||
config MBEDTLS_HASH_ALL_ENABLED
|
||||
bool "Enable all available hashes"
|
||||
bool "All available hashes"
|
||||
select MBEDTLS_HASH_SHA256_ENABLED
|
||||
select MBEDTLS_HASH_SHA512_ENABLED
|
||||
|
||||
config MBEDTLS_HASH_SHA256_ENABLED
|
||||
bool "Enable SHA256 hash"
|
||||
bool "SHA256 hash"
|
||||
default y
|
||||
|
||||
config MBEDTLS_HASH_SHA512_ENABLED
|
||||
bool "Enable SHA512 hash"
|
||||
bool "SHA512 hash"
|
||||
default y
|
||||
|
||||
comment "Supported cipher modes"
|
||||
|
||||
config MBEDTLS_CIPHER_ALL_ENABLED
|
||||
bool "Enable all available ciphers"
|
||||
bool "All available ciphers"
|
||||
select MBEDTLS_CIPHER_AES_ENABLED
|
||||
select MBEDTLS_CIPHER_CAMELLIA_ENABLED
|
||||
select MBEDTLS_CIPHER_DES_ENABLED
|
||||
|
@ -216,7 +216,7 @@ config MBEDTLS_CIPHER_ALL_ENABLED
|
|||
select MBEDTLS_CHACHAPOLY_AEAD_ENABLED
|
||||
|
||||
config MBEDTLS_CIPHER_AES_ENABLED
|
||||
bool "Enable the AES block cipher"
|
||||
bool "The AES block cipher"
|
||||
default y
|
||||
|
||||
config MBEDTLS_AES_ROM_TABLES
|
||||
|
@ -225,48 +225,48 @@ config MBEDTLS_AES_ROM_TABLES
|
|||
default y
|
||||
|
||||
config MBEDTLS_CIPHER_CAMELLIA_ENABLED
|
||||
bool "Enable the Camellia block cipher"
|
||||
bool "The Camellia block cipher"
|
||||
|
||||
config MBEDTLS_CIPHER_DES_ENABLED
|
||||
bool "Enable the DES block cipher"
|
||||
bool "The DES block cipher"
|
||||
default y if !NET_L2_OPENTHREAD
|
||||
|
||||
config MBEDTLS_CIPHER_ARC4_ENABLED
|
||||
bool "Enable the ARC4 stream cipher"
|
||||
bool "The ARC4 stream cipher"
|
||||
|
||||
config MBEDTLS_CIPHER_CHACHA20_ENABLED
|
||||
bool "Enable the ChaCha20 stream cipher"
|
||||
bool "The ChaCha20 stream cipher"
|
||||
|
||||
config MBEDTLS_CIPHER_BLOWFISH_ENABLED
|
||||
bool "Enable the Blowfish block cipher"
|
||||
bool "The Blowfish block cipher"
|
||||
|
||||
config MBEDTLS_CIPHER_CCM_ENABLED
|
||||
bool "Enable the Counter with CBC-MAC (CCM) mode for 128-bit block cipher"
|
||||
bool "The Counter with CBC-MAC (CCM) mode for 128-bit block cipher"
|
||||
depends on MBEDTLS_CIPHER_AES_ENABLED || MBEDTLS_CIPHER_CAMELLIA_ENABLED
|
||||
|
||||
config MBEDTLS_CIPHER_GCM_ENABLED
|
||||
bool "Enable the Galois/Counter Mode (GCM) for AES"
|
||||
bool "The Galois/Counter Mode (GCM) for AES"
|
||||
depends on MBEDTLS_CIPHER_AES_ENABLED || MBEDTLS_CIPHER_CAMELLIA_ENABLED
|
||||
|
||||
config MBEDTLS_CIPHER_MODE_XTS_ENABLED
|
||||
bool "Enable Xor-encrypt-xor with ciphertext stealing mode (XTS) for AES"
|
||||
bool "Xor-encrypt-xor with ciphertext stealing mode (XTS) for AES"
|
||||
depends on MBEDTLS_CIPHER_AES_ENABLED || MBEDTLS_CIPHER_CAMELLIA_ENABLED
|
||||
|
||||
config MBEDTLS_CIPHER_MODE_CBC_ENABLED
|
||||
bool "Enable Cipher Block Chaining mode (CBC) for symmetric ciphers"
|
||||
bool "Cipher Block Chaining mode (CBC) for symmetric ciphers"
|
||||
default y if !NET_L2_OPENTHREAD
|
||||
|
||||
config MBEDTLS_CIPHER_MODE_CTR_ENABLED
|
||||
bool "Enable Counter Block Cipher mode (CTR) for symmetric ciphers."
|
||||
bool "Counter Block Cipher mode (CTR) for symmetric ciphers."
|
||||
|
||||
config MBEDTLS_CHACHAPOLY_AEAD_ENABLED
|
||||
bool "Enable the ChaCha20-Poly1305 AEAD algorithm"
|
||||
bool "The ChaCha20-Poly1305 AEAD algorithm"
|
||||
depends on MBEDTLS_CIPHER_CHACHA20_ENABLED || MBEDTLS_MAC_POLY1305_ENABLED
|
||||
|
||||
comment "Supported message authentication methods"
|
||||
|
||||
config MBEDTLS_MAC_ALL_ENABLED
|
||||
bool "Enable all available MAC methods"
|
||||
bool "All available MAC methods"
|
||||
select MBEDTLS_MAC_MD4_ENABLED
|
||||
select MBEDTLS_MAC_MD5_ENABLED
|
||||
select MBEDTLS_MAC_SHA1_ENABLED
|
||||
|
@ -276,22 +276,22 @@ config MBEDTLS_MAC_ALL_ENABLED
|
|||
select MBEDTLS_MAC_CMAC_ENABLED
|
||||
|
||||
config MBEDTLS_MAC_MD4_ENABLED
|
||||
bool "Enable the MD4 hash algorithm"
|
||||
bool "The MD4 hash algorithm"
|
||||
|
||||
config MBEDTLS_MAC_MD5_ENABLED
|
||||
bool "Enable the MD5 hash algorithm"
|
||||
bool "The MD5 hash algorithm"
|
||||
default y if !NET_L2_OPENTHREAD
|
||||
|
||||
config MBEDTLS_MAC_SHA1_ENABLED
|
||||
bool "Enable the SHA1 hash algorithm"
|
||||
bool "The SHA1 hash algorithm"
|
||||
default y if !NET_L2_OPENTHREAD
|
||||
|
||||
config MBEDTLS_MAC_SHA256_ENABLED
|
||||
bool "Enable the SHA-224 and SHA-256 hash algorithms"
|
||||
bool "The SHA-224 and SHA-256 hash algorithms"
|
||||
default y
|
||||
|
||||
config MBEDTLS_SHA256_SMALLER
|
||||
bool "Enable smaller SHA-256 implementation"
|
||||
bool "Smaller SHA-256 implementation"
|
||||
depends on MBEDTLS_MAC_SHA256_ENABLED
|
||||
default y
|
||||
help
|
||||
|
@ -299,13 +299,13 @@ config MBEDTLS_SHA256_SMALLER
|
|||
lower performance
|
||||
|
||||
config MBEDTLS_MAC_SHA512_ENABLED
|
||||
bool "Enable the SHA-384 and SHA-512 hash algorithms"
|
||||
bool "The SHA-384 and SHA-512 hash algorithms"
|
||||
|
||||
config MBEDTLS_MAC_POLY1305_ENABLED
|
||||
bool "Enable the Poly1305 MAC algorithm"
|
||||
bool "The Poly1305 MAC algorithm"
|
||||
|
||||
config MBEDTLS_MAC_CMAC_ENABLED
|
||||
bool "Enable the CMAC (Cipher-based Message Authentication Code) mode for block ciphers."
|
||||
bool "The CMAC (Cipher-based Message Authentication Code) mode for block ciphers."
|
||||
depends on MBEDTLS_CIPHER_AES_ENABLED || MBEDTLS_CIPHER_DES_ENABLED
|
||||
|
||||
endmenu
|
||||
|
@ -313,33 +313,33 @@ endmenu
|
|||
comment "Random number generators"
|
||||
|
||||
config MBEDTLS_CTR_DRBG_ENABLED
|
||||
bool "Enable the CTR_DRBG AES-256-based random generator"
|
||||
bool "The CTR_DRBG AES-256-based random generator"
|
||||
depends on MBEDTLS_CIPHER_AES_ENABLED
|
||||
default y
|
||||
|
||||
config MBEDTLS_HMAC_DRBG_ENABLED
|
||||
bool "Enable the HMAC_DRBG random generator"
|
||||
bool "The HMAC_DRBG random generator"
|
||||
select MBEDTLS_MD
|
||||
|
||||
comment "Other configurations"
|
||||
|
||||
config MBEDTLS_CIPHER
|
||||
bool "Enable the generic cipher layer."
|
||||
bool "The generic cipher layer."
|
||||
|
||||
config MBEDTLS_MD
|
||||
bool "Enable the generic message digest layer."
|
||||
bool "The generic message digest layer."
|
||||
|
||||
config MBEDTLS_GENPRIME_ENABLED
|
||||
bool "Enable the prime-number generation code."
|
||||
bool "The prime-number generation code."
|
||||
|
||||
config MBEDTLS_PEM_CERTIFICATE_FORMAT
|
||||
bool "Enable support for PEM certificate format"
|
||||
bool "Support for PEM certificate format"
|
||||
help
|
||||
By default only DER (binary) format of certificates is supported. Enable
|
||||
this option to enable support for PEM format.
|
||||
|
||||
config MBEDTLS_HAVE_ASM
|
||||
bool "Enable use of assembly code"
|
||||
bool "Use of assembly code"
|
||||
default y if !ARM
|
||||
help
|
||||
Enable use of assembly code in mbedTLS. This improves the performances
|
||||
|
@ -347,11 +347,11 @@ config MBEDTLS_HAVE_ASM
|
|||
code size.
|
||||
|
||||
config MBEDTLS_ENTROPY_ENABLED
|
||||
bool "Enable mbedTLS generic entropy pool"
|
||||
bool "MbedTLS generic entropy pool"
|
||||
depends on MBEDTLS_MAC_SHA256_ENABLED || MBEDTLS_MAC_SHA512_ENABLED
|
||||
|
||||
config MBEDTLS_OPENTHREAD_OPTIMIZATIONS_ENABLED
|
||||
bool "Enable mbedTLS optimizations for OpenThread"
|
||||
bool "MbedTLS optimizations for OpenThread"
|
||||
depends on NET_L2_OPENTHREAD
|
||||
default y if !NET_SOCKETS_SOCKOPT_TLS
|
||||
help
|
||||
|
@ -361,7 +361,7 @@ config MBEDTLS_OPENTHREAD_OPTIMIZATIONS_ENABLED
|
|||
sockets), it's advised to disable this option.
|
||||
|
||||
config MBEDTLS_USER_CONFIG_ENABLE
|
||||
bool "Enable user mbedTLS config file"
|
||||
bool "User mbedTLS config file"
|
||||
help
|
||||
Enable user mbedTLS config file that will be included at the end of
|
||||
the generic config file.
|
||||
|
@ -373,25 +373,25 @@ config MBEDTLS_USER_CONFIG_FILE
|
|||
covered by the generic config file.
|
||||
|
||||
config MBEDTLS_SERVER_NAME_INDICATION
|
||||
bool "Enable support for RFC 6066 server name indication (SNI) in SSL"
|
||||
bool "Support for RFC 6066 server name indication (SNI) in SSL"
|
||||
help
|
||||
Enable this to support RFC 6066 server name indication (SNI) in SSL.
|
||||
This requires that MBEDTLS_X509_CRT_PARSE_C is also set.
|
||||
|
||||
config MBEDTLS_PK_WRITE_C
|
||||
bool "Enable the generic public (asymetric) key writer"
|
||||
bool "The generic public (asymetric) key writer"
|
||||
help
|
||||
Enable generic public key write functions.
|
||||
|
||||
config MBEDTLS_HAVE_TIME_DATE
|
||||
bool "Enable date/time validation in mbed TLS"
|
||||
bool "Date/time validation in mbed TLS"
|
||||
help
|
||||
System has time.h, time(), and an implementation for gmtime_r().
|
||||
There also need to be a valid time source in the system, as mbedTLS
|
||||
expects a valid date/time for certificate validation."
|
||||
|
||||
config MBEDTLS_PKCS5_C
|
||||
bool "Enable password-based encryption functions"
|
||||
bool "Password-based encryption functions"
|
||||
select MBEDTLS_MD
|
||||
help
|
||||
Enable PKCS5 functions
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue