feat(mbedtls): add dynamic buffer and local resource managment to decrease SSL heap cost

This commit is contained in:
Dong Heng
2020-04-10 16:33:54 +08:00
committed by bot
parent 437a8fa9d2
commit 3d57bf30a2
15 changed files with 1322 additions and 2 deletions

View File

@@ -0,0 +1,6 @@
CONFIG_MBEDTLS_CERTIFICATE_BUNDLE_DEFAULT_NONE=y
CONFIG_MBEDTLS_CUSTOM_CERTIFICATE_BUNDLE=y
CONFIG_MBEDTLS_CUSTOM_CERTIFICATE_BUNDLE_PATH="certs"
CONFIG_MBEDTLS_DYNAMIC_BUFFER=y
CONFIG_MBEDTLS_DYNAMIC_FREE_PEER_CERT=y
CONFIG_MBEDTLS_DYNAMIC_FREE_CONFIG_DATA=y