From: Mahavir Jain Date: Sat, 22 Sep 2018 12:22:10 +0000 (+0530) Subject: aws_iot: optimize dynamic memory by tweaking tls out buf content length X-Git-Tag: v3.2-beta1~113^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5585f699d11c76f3c4d51888ebc6e258bad13e48;p=esp-idf aws_iot: optimize dynamic memory by tweaking tls out buf content length --- diff --git a/examples/protocols/aws_iot/subscribe_publish/sdkconfig.defaults b/examples/protocols/aws_iot/subscribe_publish/sdkconfig.defaults index 8bb40678d9..c22bb19bce 100644 --- a/examples/protocols/aws_iot/subscribe_publish/sdkconfig.defaults +++ b/examples/protocols/aws_iot/subscribe_publish/sdkconfig.defaults @@ -7,3 +7,6 @@ CONFIG_AWS_IOT_SDK=y CONFIG_FATFS_READONLY=y CONFIG_FATFS_CODEPAGE_437=y CONFIG_FATFS_LFN_HEAP=y + +# Enable TLS asymmetric in/out content length +CONFIG_MBEDTLS_ASYMMETRIC_CONTENT_LEN=y diff --git a/examples/protocols/aws_iot/thing_shadow/sdkconfig.defaults b/examples/protocols/aws_iot/thing_shadow/sdkconfig.defaults index 5874f30f5c..42ad49ee47 100644 --- a/examples/protocols/aws_iot/thing_shadow/sdkconfig.defaults +++ b/examples/protocols/aws_iot/thing_shadow/sdkconfig.defaults @@ -6,3 +6,6 @@ CONFIG_AWS_IOT_SDK=y # (if enabled in config) CONFIG_FATFS_CODEPAGE_437=y CONFIG_FATFS_LFN_HEAP=y + +# Enable TLS asymmetric in/out content length +CONFIG_MBEDTLS_ASYMMETRIC_CONTENT_LEN=y