Espressif ESP32-S2 Programming Manual page 1195

Table of Contents

Advertisement

Chapter 2. API Reference
CONFIG_MBEDTLS_HARDWARE_AES
CONFIG_MBEDTLS_ATCA_HW_ECDSA_SIGN
CONFIG_MBEDTLS_ATCA_HW_ECDSA_VERIFY
CONFIG_MBEDTLS_HARDWARE_MPI
CONFIG_MBEDTLS_HARDWARE_SHA
CONFIG_MBEDTLS_DEBUG
CONFIG_MBEDTLS_ECP_RESTARTABLE
CONFIG_MBEDTLS_HAVE_TIME
CONFIG_MBEDTLS_RIPEMD160_C
CONFIG_MBEDTLS_SHA512_C
CONFIG_MBEDTLS_THREADING_C
CONFIG_MBEDTLS_X509_CHECK_EXTENDED_KEY_USAGE
CONFIG_MBEDTLS_X509_CHECK_KEY_USAGE
CONFIG_MBEDTLS_LARGE_KEY_SOFTWARE_MPI
CONFIG_MBEDTLS_HKDF_C
CONFIG_MBEDTLS_SSL_PROTO_SSL3
CONFIG_MBEDTLS_MEM_ALLOC_MODE
CONFIG_MBEDTLS_POLY1305_C
CONFIG_MBEDTLS_SECURITY_RISKS
CONFIG_MBEDTLS_SSL_ALPN
CONFIG_MBEDTLS_SSL_PROTO_DTLS
CONFIG_MBEDTLS_SSL_PROTO_GMTSSL1_1
CONFIG_MBEDTLS_SSL_PROTO_TLS1
CONFIG_MBEDTLS_SSL_PROTO_TLS1_1
CONFIG_MBEDTLS_SSL_PROTO_TLS1_2
CONFIG_MBEDTLS_SSL_RENEGOTIATION
Symmetric Ciphers
TLS Key Exchange Methods
CONFIG_MBEDTLS_SSL_MAX_CONTENT_LEN
CONFIG_MBEDTLS_TLS_MODE
CONFIG_MBEDTLS_CLIENT_SSL_SESSION_TICKETS
CONFIG_MBEDTLS_SERVER_SSL_SESSION_TICKETS
CONFIG_MBEDTLS_ROM_MD5
CONFIG_MBEDTLS_DYNAMIC_BUFFER
CONFIG_MBEDTLS_MEM_ALLOC_MODE
Memory allocation strategy
Found in:
Component config
Allocation strategy for mbedTLS, essentially provides ability to allocate all required dynamic allocations
from,
• Internal DRAM memory only
• External SPIRAM memory only
• Either internal or external memory based on default malloc() behavior in ESP-IDF
• Custom allocation mode, by overwriting calloc()/free() using mbedtls_platform_set_calloc_free()
function
• Internal IRAM memory wherever applicable else internal DRAM
Recommended mode here is always internal (*), since that is most preferred from security perspective.
But if application requirement does not allow sufficient free internal memory then alternate mode can
be selected.
(*) In case of ESP32-S2/ESP32-S3, hardware allows encryption of external SPIRAM contents provided
hardware flash encryption feature is enabled. In that case, using external SPIRAM allocation strategy is
also safe choice from security perspective.
Available options:
• Internal memory (MBEDTLS_INTERNAL_MEM_ALLOC)
Espressif Systems
>
mbedTLS
1184
Submit Document Feedback
Release v4.4

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the ESP32-S2 and is the answer not in the manual?

Questions and answers

Table of Contents

Save PDF