2021-03-17 17:41:21 +08:00
|
|
|
CONFIG_TEST=y
|
|
|
|
|
2018-12-04 16:47:38 +08:00
|
|
|
# Kernel options
|
|
|
|
CONFIG_MAIN_STACK_SIZE=10000
|
|
|
|
CONFIG_ENTROPY_GENERATOR=y
|
|
|
|
CONFIG_INIT_STACKS=y
|
|
|
|
|
|
|
|
# Logging
|
|
|
|
CONFIG_PRINTK=y
|
|
|
|
CONFIG_MBEDTLS_DEBUG=y
|
2022-06-15 06:32:24 +08:00
|
|
|
CONFIG_MBEDTLS_LOG_LEVEL_DBG=y
|
2018-12-04 16:47:38 +08:00
|
|
|
|
|
|
|
# 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_MAC_ALL_ENABLED=y
|
|
|
|
CONFIG_MBEDTLS_GENPRIME_ENABLED=y
|
|
|
|
CONFIG_MBEDTLS_HMAC_DRBG_ENABLED=y
|
2022-10-05 21:00:42 +08:00
|
|
|
CONFIG_MBEDTLS_ECDH_C=y
|
|
|
|
CONFIG_MBEDTLS_ECDSA_C=y
|
|
|
|
CONFIG_MBEDTLS_ECJPAKE_C=y
|
|
|
|
CONFIG_MBEDTLS_ECP_C=y
|