Remove the `_MAC` part because those Kconfig options enable only hash algorithms, nothing MAC-related, and the `_ENABLED` part to align the naming to the Mbed TLS defines (plus we don't need such a part). As a bonus, enabling SHA-256 does not automatically enable SHA-224 anymore. See the migration guide entries for more details on the practical changes. Signed-off-by: Tomi Fontanilles <tomi.fontanilles@nordicsemi.no>
31 lines
722 B
Text
31 lines
722 B
Text
CONFIG_TEST=y
|
|
|
|
# Kernel options
|
|
CONFIG_MAIN_STACK_SIZE=10000
|
|
CONFIG_ENTROPY_GENERATOR=y
|
|
CONFIG_INIT_STACKS=y
|
|
|
|
# Logging
|
|
CONFIG_PRINTK=y
|
|
CONFIG_MBEDTLS_DEBUG=y
|
|
CONFIG_MBEDTLS_LOG_LEVEL_DBG=y
|
|
|
|
# TLS configuration
|
|
CONFIG_MBEDTLS=y
|
|
CONFIG_MBEDTLS_BUILTIN=y
|
|
CONFIG_MBEDTLS_ENABLE_HEAP=y
|
|
CONFIG_MBEDTLS_HEAP_SIZE=64000
|
|
CONFIG_MBEDTLS_SSL_MAX_CONTENT_LEN=2048
|
|
|
|
CONFIG_MBEDTLS_TLS_VERSION_1_2=y
|
|
CONFIG_MBEDTLS_KEY_EXCHANGE_ALL_ENABLED=y
|
|
CONFIG_MBEDTLS_CIPHER_ALL_ENABLED=y
|
|
CONFIG_MBEDTLS_ECP_ALL_ENABLED=y
|
|
CONFIG_MBEDTLS_HASH_ALL_ENABLED=y
|
|
CONFIG_MBEDTLS_CMAC=y
|
|
CONFIG_MBEDTLS_GENPRIME_ENABLED=y
|
|
CONFIG_MBEDTLS_HMAC_DRBG_ENABLED=y
|
|
CONFIG_MBEDTLS_ECDH_C=y
|
|
CONFIG_MBEDTLS_ECDSA_C=y
|
|
CONFIG_MBEDTLS_ECJPAKE_C=y
|
|
CONFIG_MBEDTLS_ECP_C=y
|