2022-10-20 20:22:01 +00:00
|
|
|
if PACKAGE_libmbedtls
|
|
|
|
|
|
|
|
comment "Option details in source code: include/mbedtls/mbedtls_config.h"
|
|
|
|
|
|
|
|
comment "Ciphers - unselect old or less-used ciphers to reduce binary size"
|
|
|
|
|
|
|
|
config MBEDTLS_AES_C
|
|
|
|
bool "MBEDTLS_AES_C"
|
|
|
|
default y
|
|
|
|
|
|
|
|
config MBEDTLS_CAMELLIA_C
|
|
|
|
bool "MBEDTLS_CAMELLIA_C"
|
|
|
|
default n
|
|
|
|
|
|
|
|
config MBEDTLS_CCM_C
|
|
|
|
bool "MBEDTLS_CCM_C"
|
|
|
|
default n
|
|
|
|
|
|
|
|
config MBEDTLS_CMAC_C
|
2022-10-22 17:06:58 +00:00
|
|
|
bool "MBEDTLS_CMAC_C (old but used by hostapd)"
|
|
|
|
default y
|
2022-10-20 20:22:01 +00:00
|
|
|
|
|
|
|
config MBEDTLS_DES_C
|
2022-10-22 17:06:58 +00:00
|
|
|
bool "MBEDTLS_DES_C (old but used by hostapd)"
|
|
|
|
default y
|
2022-10-20 20:22:01 +00:00
|
|
|
|
|
|
|
config MBEDTLS_GCM_C
|
|
|
|
bool "MBEDTLS_GCM_C"
|
|
|
|
default y
|
|
|
|
|
|
|
|
config MBEDTLS_NIST_KW_C
|
2022-10-22 17:06:58 +00:00
|
|
|
bool "MBEDTLS_NIST_KW_C (old but used by hostapd)"
|
|
|
|
default y
|
2022-10-20 20:22:01 +00:00
|
|
|
|
|
|
|
config MBEDTLS_RIPEMD160_C
|
|
|
|
bool "MBEDTLS_RIPEMD160_C"
|
|
|
|
default n
|
|
|
|
|
|
|
|
config MBEDTLS_RSA_NO_CRT
|
|
|
|
bool "MBEDTLS_RSA_NO_CRT"
|
|
|
|
default y
|
|
|
|
|
|
|
|
config MBEDTLS_KEY_EXCHANGE_PSK_ENABLED
|
|
|
|
bool "MBEDTLS_KEY_EXCHANGE_PSK_ENABLED"
|
|
|
|
default y
|
|
|
|
|
|
|
|
config MBEDTLS_KEY_EXCHANGE_DHE_PSK_ENABLED
|
|
|
|
bool "MBEDTLS_KEY_EXCHANGE_DHE_PSK_ENABLED"
|
|
|
|
default n
|
|
|
|
|
|
|
|
config MBEDTLS_KEY_EXCHANGE_ECDHE_PSK_ENABLED
|
|
|
|
bool "MBEDTLS_KEY_EXCHANGE_ECDHE_PSK_ENABLED"
|
|
|
|
default y
|
|
|
|
|
|
|
|
config MBEDTLS_KEY_EXCHANGE_RSA_PSK_ENABLED
|
|
|
|
bool "MBEDTLS_KEY_EXCHANGE_RSA_PSK_ENABLED"
|
|
|
|
default n
|
|
|
|
|
|
|
|
config MBEDTLS_KEY_EXCHANGE_RSA_ENABLED
|
|
|
|
bool "MBEDTLS_KEY_EXCHANGE_RSA_ENABLED"
|
2022-10-22 17:09:14 +00:00
|
|
|
default n
|
2022-10-20 20:22:01 +00:00
|
|
|
|
|
|
|
config MBEDTLS_KEY_EXCHANGE_DHE_RSA_ENABLED
|
|
|
|
bool "MBEDTLS_KEY_EXCHANGE_DHE_RSA_ENABLED"
|
2022-10-22 17:09:14 +00:00
|
|
|
default n
|
2022-10-20 20:22:01 +00:00
|
|
|
|
|
|
|
config MBEDTLS_KEY_EXCHANGE_ECDHE_RSA_ENABLED
|
|
|
|
bool "MBEDTLS_KEY_EXCHANGE_ECDHE_RSA_ENABLED"
|
|
|
|
default y
|
|
|
|
|
|
|
|
config MBEDTLS_KEY_EXCHANGE_ECDHE_ECDSA_ENABLED
|
|
|
|
bool "MBEDTLS_KEY_EXCHANGE_ECDHE_ECDSA_ENABLED"
|
|
|
|
default y
|
|
|
|
|
|
|
|
config MBEDTLS_KEY_EXCHANGE_ECDH_ECDSA_ENABLED
|
|
|
|
bool "MBEDTLS_KEY_EXCHANGE_ECDH_ECDSA_ENABLED"
|
|
|
|
default n
|
|
|
|
|
|
|
|
config MBEDTLS_KEY_EXCHANGE_ECDH_RSA_ENABLED
|
|
|
|
bool "MBEDTLS_KEY_EXCHANGE_ECDH_RSA_ENABLED"
|
|
|
|
default n
|
|
|
|
|
|
|
|
comment "Curves - unselect old or less-used curves to reduce binary size"
|
|
|
|
|
|
|
|
config MBEDTLS_ECP_DP_SECP192R1_ENABLED
|
|
|
|
bool "MBEDTLS_ECP_DP_SECP192R1_ENABLED"
|
|
|
|
default n
|
|
|
|
|
|
|
|
config MBEDTLS_ECP_DP_SECP224R1_ENABLED
|
|
|
|
bool "MBEDTLS_ECP_DP_SECP224R1_ENABLED"
|
|
|
|
default n
|
|
|
|
|
|
|
|
config MBEDTLS_ECP_DP_SECP256R1_ENABLED
|
|
|
|
bool "MBEDTLS_ECP_DP_SECP256R1_ENABLED"
|
|
|
|
default y
|
|
|
|
|
|
|
|
config MBEDTLS_ECP_DP_SECP384R1_ENABLED
|
|
|
|
bool "MBEDTLS_ECP_DP_SECP384R1_ENABLED"
|
|
|
|
default y
|
|
|
|
|
|
|
|
config MBEDTLS_ECP_DP_SECP521R1_ENABLED
|
|
|
|
bool "MBEDTLS_ECP_DP_SECP521R1_ENABLED"
|
2023-11-05 22:05:24 +00:00
|
|
|
default y
|
2022-10-20 20:22:01 +00:00
|
|
|
|
|
|
|
config MBEDTLS_ECP_DP_SECP192K1_ENABLED
|
|
|
|
bool "MBEDTLS_ECP_DP_SECP192K1_ENABLED"
|
|
|
|
default n
|
|
|
|
|
|
|
|
config MBEDTLS_ECP_DP_SECP224K1_ENABLED
|
|
|
|
bool "MBEDTLS_ECP_DP_SECP224K1_ENABLED"
|
|
|
|
default n
|
|
|
|
|
|
|
|
config MBEDTLS_ECP_DP_SECP256K1_ENABLED
|
|
|
|
bool "MBEDTLS_ECP_DP_SECP256K1_ENABLED"
|
|
|
|
default y
|
|
|
|
|
|
|
|
config MBEDTLS_ECP_DP_BP256R1_ENABLED
|
|
|
|
bool "MBEDTLS_ECP_DP_BP256R1_ENABLED"
|
|
|
|
default n
|
|
|
|
|
|
|
|
config MBEDTLS_ECP_DP_BP384R1_ENABLED
|
|
|
|
bool "MBEDTLS_ECP_DP_BP384R1_ENABLED"
|
|
|
|
default n
|
|
|
|
|
|
|
|
config MBEDTLS_ECP_DP_BP512R1_ENABLED
|
|
|
|
bool "MBEDTLS_ECP_DP_BP512R1_ENABLED"
|
|
|
|
default n
|
|
|
|
|
|
|
|
config MBEDTLS_ECP_DP_CURVE25519_ENABLED
|
|
|
|
bool "MBEDTLS_ECP_DP_CURVE25519_ENABLED"
|
|
|
|
default y
|
|
|
|
|
|
|
|
config MBEDTLS_ECP_DP_CURVE448_ENABLED
|
|
|
|
bool "MBEDTLS_ECP_DP_CURVE448_ENABLED"
|
|
|
|
default n
|
|
|
|
|
|
|
|
comment "Build Options - unselect features to reduce binary size"
|
|
|
|
|
|
|
|
config MBEDTLS_CIPHER_MODE_OFB
|
|
|
|
bool "MBEDTLS_CIPHER_MODE_OFB"
|
|
|
|
default n
|
|
|
|
|
|
|
|
config MBEDTLS_CIPHER_MODE_XTS
|
|
|
|
bool "MBEDTLS_CIPHER_MODE_XTS"
|
|
|
|
default n
|
|
|
|
|
|
|
|
config MBEDTLS_DEBUG_C
|
|
|
|
bool "MBEDTLS_DEBUG_C"
|
|
|
|
default n
|
|
|
|
|
|
|
|
config MBEDTLS_HKDF_C
|
|
|
|
bool "MBEDTLS_HKDF_C"
|
|
|
|
default n
|
|
|
|
|
|
|
|
config MBEDTLS_PLATFORM_C
|
|
|
|
bool "MBEDTLS_PLATFORM_C"
|
|
|
|
default n
|
|
|
|
|
|
|
|
config MBEDTLS_SELF_TEST
|
|
|
|
bool "MBEDTLS_SELF_TEST"
|
|
|
|
default n
|
|
|
|
|
2024-03-05 18:13:52 +00:00
|
|
|
config MBEDTLS_THREADING_C
|
|
|
|
bool "MBEDTLS_THREADING_C"
|
|
|
|
default y
|
|
|
|
|
|
|
|
config MBEDTLS_THREADING_PTHREAD
|
|
|
|
def_bool MBEDTLS_THREADING_C
|
|
|
|
|
2022-10-20 20:22:01 +00:00
|
|
|
config MBEDTLS_VERSION_C
|
|
|
|
bool "MBEDTLS_VERSION_C"
|
|
|
|
default n
|
|
|
|
|
|
|
|
config MBEDTLS_VERSION_FEATURES
|
|
|
|
bool "MBEDTLS_VERSION_FEATURES"
|
|
|
|
default n
|
|
|
|
|
2023-11-08 23:00:09 +00:00
|
|
|
config MBEDTLS_PSA_CRYPTO_CLIENT
|
|
|
|
bool "MBEDTLS_PSA_CRYPTO_CLIENT"
|
|
|
|
|
|
|
|
config MBEDTLS_DEPRECATED_WARNING
|
|
|
|
bool "MBEDTLS_DEPRECATED_WARNING"
|
|
|
|
default n
|
|
|
|
|
|
|
|
config MBEDTLS_SSL_PROTO_TLS1_2
|
|
|
|
bool "MBEDTLS_SSL_PROTO_TLS1_2"
|
|
|
|
default y
|
|
|
|
|
|
|
|
config MBEDTLS_SSL_PROTO_TLS1_3
|
|
|
|
bool "MBEDTLS_SSL_PROTO_TLS1_3"
|
|
|
|
select MBEDTLS_PSA_CRYPTO_CLIENT
|
|
|
|
select MBEDTLS_HKDF_C
|
|
|
|
default y
|
|
|
|
|
|
|
|
config MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE
|
|
|
|
bool "MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE"
|
|
|
|
depends on MBEDTLS_SSL_PROTO_TLS1_3
|
|
|
|
default y
|
|
|
|
|
|
|
|
config MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_PSK_ENABLED
|
|
|
|
bool "MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_PSK_ENABLED"
|
|
|
|
depends on MBEDTLS_SSL_PROTO_TLS1_3
|
|
|
|
default y
|
|
|
|
|
|
|
|
config MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED
|
|
|
|
bool "MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED"
|
|
|
|
depends on MBEDTLS_SSL_PROTO_TLS1_3
|
|
|
|
default y
|
|
|
|
|
|
|
|
config MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_PSK_EPHEMERAL_ENABLED
|
|
|
|
bool "MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_PSK_EPHEMERAL_ENABLED"
|
|
|
|
depends on MBEDTLS_SSL_PROTO_TLS1_3
|
|
|
|
default y
|
|
|
|
|
2022-10-20 20:22:01 +00:00
|
|
|
comment "Build Options"
|
|
|
|
|
|
|
|
config MBEDTLS_ENTROPY_FORCE_SHA256
|
|
|
|
bool "MBEDTLS_ENTROPY_FORCE_SHA256"
|
|
|
|
default y
|
|
|
|
|
|
|
|
config MBEDTLS_SSL_RENEGOTIATION
|
|
|
|
bool "MBEDTLS_SSL_RENEGOTIATION"
|
2023-11-08 23:00:09 +00:00
|
|
|
depends on MBEDTLS_SSL_PROTO_TLS1_2
|
2022-10-20 20:22:01 +00:00
|
|
|
default n
|
|
|
|
|
|
|
|
endif
|