From 3f9d21e721a50067e989ee4f8eea6ab4e2c41da4 Mon Sep 17 00:00:00 2001 From: Robert Lubos Date: Fri, 31 May 2024 10:13:59 +0200 Subject: [PATCH] samples: net: cloud: mqtt_azzure: Add missing mbed TLS configs Due to the recent changes in mbed TLS area, and due to adding new certificates to the sample, the mbed TLS configuration has to be update to be able to support them all. Signed-off-by: Robert Lubos --- samples/net/cloud/mqtt_azure/prj.conf | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/samples/net/cloud/mqtt_azure/prj.conf b/samples/net/cloud/mqtt_azure/prj.conf index 2a88f746f5f..b857f7e4317 100644 --- a/samples/net/cloud/mqtt_azure/prj.conf +++ b/samples/net/cloud/mqtt_azure/prj.conf @@ -33,6 +33,12 @@ CONFIG_MBEDTLS_ENABLE_HEAP=y CONFIG_MBEDTLS_HEAP_SIZE=100000 CONFIG_MBEDTLS_SSL_MAX_CONTENT_LEN=10240 CONFIG_MBEDTLS_PEM_CERTIFICATE_FORMAT=y +CONFIG_MBEDTLS_SHA1=y +CONFIG_MBEDTLS_SHA384=y +CONFIG_MBEDTLS_KEY_EXCHANGE_ECDHE_RSA_ENABLED=y +CONFIG_MBEDTLS_ECP_DP_SECP256R1_ENABLED=y +CONFIG_MBEDTLS_ECDH_C=y +CONFIG_MBEDTLS_ECP_C=y # Network configuration CONFIG_NET_CONFIG_SETTINGS=y