From 05dc47da941d6a5e4a578f167da0fbdb5c651ec7 Mon Sep 17 00:00:00 2001 From: mkardous-silabs <84793247+mkardous-silabs@users.noreply.github.com> Date: Fri, 18 Aug 2023 13:57:09 -0400 Subject: [PATCH] Replace OT define with the correct define (#132) fix OT define --- matter/efr32/efr32mg12/BRD4161A/config/sl_mbedtls_config.h | 4 ++-- matter/efr32/efr32mg12/BRD4162A/config/sl_mbedtls_config.h | 4 ++-- matter/efr32/efr32mg12/BRD4163A/config/sl_mbedtls_config.h | 4 ++-- matter/efr32/efr32mg12/BRD4164A/config/sl_mbedtls_config.h | 4 ++-- matter/efr32/efr32mg12/BRD4166A/config/sl_mbedtls_config.h | 4 ++-- matter/efr32/efr32mg12/BRD4170A/config/sl_mbedtls_config.h | 4 ++-- matter/efr32/efr32mg12/BRD4304A/config/sl_mbedtls_config.h | 4 ++-- matter/efr32/efr32mg24/BRD2601B/config/sl_mbedtls_config.h | 4 ++-- matter/efr32/efr32mg24/BRD2703A/config/sl_mbedtls_config.h | 4 ++-- matter/efr32/efr32mg24/BRD4186A/config/sl_mbedtls_config.h | 4 ++-- matter/efr32/efr32mg24/BRD4186C/config/sl_mbedtls_config.h | 4 ++-- matter/efr32/efr32mg24/BRD4187A/config/sl_mbedtls_config.h | 4 ++-- matter/efr32/efr32mg24/BRD4187C/config/sl_mbedtls_config.h | 4 ++-- matter/efr32/mgm24/BRD2704A/config/sl_mbedtls_config.h | 4 ++-- matter/efr32/mgm24/BRD4316A/config/sl_mbedtls_config.h | 4 ++-- matter/efr32/mgm24/BRD4317A/config/sl_mbedtls_config.h | 4 ++-- matter/efr32/mgm24/BRD4318A/config/sl_mbedtls_config.h | 4 ++-- matter/efr32/mgm24/BRD4319A/config/sl_mbedtls_config.h | 4 ++-- matter/mbedtls/tinycrypt/inc/mbedtls/config.h | 2 +- 19 files changed, 37 insertions(+), 37 deletions(-) diff --git a/matter/efr32/efr32mg12/BRD4161A/config/sl_mbedtls_config.h b/matter/efr32/efr32mg12/BRD4161A/config/sl_mbedtls_config.h index 6fc9ffa81d..e7058d6808 100644 --- a/matter/efr32/efr32mg12/BRD4161A/config/sl_mbedtls_config.h +++ b/matter/efr32/efr32mg12/BRD4161A/config/sl_mbedtls_config.h @@ -22,7 +22,7 @@ // Default: 768 // The size configured here determines the size of the internal I/O // buffer used in mbedTLS when receiving data. -#if OPENTHREAD_CONFIG_COAP_SECURE_API_ENABLE +#if SL_USE_COAP_CONFIG #define SL_MBEDTLS_SSL_IN_CONTENT_LEN 900 #else #define SL_MBEDTLS_SSL_IN_CONTENT_LEN 768 @@ -36,7 +36,7 @@ // Default: 768 // The size configured here determines the size of the internal I/O // buffer used in mbedTLS when sending data. -#if OPENTHREAD_CONFIG_COAP_SECURE_API_ENABLE +#if SL_USE_COAP_CONFIG #define SL_MBEDTLS_SSL_OUT_CONTENT_LEN 900 #else #define SL_MBEDTLS_SSL_OUT_CONTENT_LEN 768 diff --git a/matter/efr32/efr32mg12/BRD4162A/config/sl_mbedtls_config.h b/matter/efr32/efr32mg12/BRD4162A/config/sl_mbedtls_config.h index 6fc9ffa81d..e7058d6808 100644 --- a/matter/efr32/efr32mg12/BRD4162A/config/sl_mbedtls_config.h +++ b/matter/efr32/efr32mg12/BRD4162A/config/sl_mbedtls_config.h @@ -22,7 +22,7 @@ // Default: 768 // The size configured here determines the size of the internal I/O // buffer used in mbedTLS when receiving data. -#if OPENTHREAD_CONFIG_COAP_SECURE_API_ENABLE +#if SL_USE_COAP_CONFIG #define SL_MBEDTLS_SSL_IN_CONTENT_LEN 900 #else #define SL_MBEDTLS_SSL_IN_CONTENT_LEN 768 @@ -36,7 +36,7 @@ // Default: 768 // The size configured here determines the size of the internal I/O // buffer used in mbedTLS when sending data. -#if OPENTHREAD_CONFIG_COAP_SECURE_API_ENABLE +#if SL_USE_COAP_CONFIG #define SL_MBEDTLS_SSL_OUT_CONTENT_LEN 900 #else #define SL_MBEDTLS_SSL_OUT_CONTENT_LEN 768 diff --git a/matter/efr32/efr32mg12/BRD4163A/config/sl_mbedtls_config.h b/matter/efr32/efr32mg12/BRD4163A/config/sl_mbedtls_config.h index 6c1f8e1df4..25a07095f4 100644 --- a/matter/efr32/efr32mg12/BRD4163A/config/sl_mbedtls_config.h +++ b/matter/efr32/efr32mg12/BRD4163A/config/sl_mbedtls_config.h @@ -22,7 +22,7 @@ // Default: 768 // The size configured here determines the size of the internal I/O // buffer used in mbedTLS when receiving data. -#if OPENTHREAD_CONFIG_COAP_SECURE_API_ENABLE +#if SL_USE_COAP_CONFIG #define SL_MBEDTLS_SSL_IN_CONTENT_LEN 900 #else #define SL_MBEDTLS_SSL_IN_CONTENT_LEN 768 @@ -36,7 +36,7 @@ // Default: 768 // The size configured here determines the size of the internal I/O // buffer used in mbedTLS when sending data. -#if OPENTHREAD_CONFIG_COAP_SECURE_API_ENABLE +#if SL_USE_COAP_CONFIG #define SL_MBEDTLS_SSL_OUT_CONTENT_LEN 900 #else #define SL_MBEDTLS_SSL_OUT_CONTENT_LEN 768 diff --git a/matter/efr32/efr32mg12/BRD4164A/config/sl_mbedtls_config.h b/matter/efr32/efr32mg12/BRD4164A/config/sl_mbedtls_config.h index 6fc9ffa81d..e7058d6808 100644 --- a/matter/efr32/efr32mg12/BRD4164A/config/sl_mbedtls_config.h +++ b/matter/efr32/efr32mg12/BRD4164A/config/sl_mbedtls_config.h @@ -22,7 +22,7 @@ // Default: 768 // The size configured here determines the size of the internal I/O // buffer used in mbedTLS when receiving data. -#if OPENTHREAD_CONFIG_COAP_SECURE_API_ENABLE +#if SL_USE_COAP_CONFIG #define SL_MBEDTLS_SSL_IN_CONTENT_LEN 900 #else #define SL_MBEDTLS_SSL_IN_CONTENT_LEN 768 @@ -36,7 +36,7 @@ // Default: 768 // The size configured here determines the size of the internal I/O // buffer used in mbedTLS when sending data. -#if OPENTHREAD_CONFIG_COAP_SECURE_API_ENABLE +#if SL_USE_COAP_CONFIG #define SL_MBEDTLS_SSL_OUT_CONTENT_LEN 900 #else #define SL_MBEDTLS_SSL_OUT_CONTENT_LEN 768 diff --git a/matter/efr32/efr32mg12/BRD4166A/config/sl_mbedtls_config.h b/matter/efr32/efr32mg12/BRD4166A/config/sl_mbedtls_config.h index 6fc9ffa81d..e7058d6808 100644 --- a/matter/efr32/efr32mg12/BRD4166A/config/sl_mbedtls_config.h +++ b/matter/efr32/efr32mg12/BRD4166A/config/sl_mbedtls_config.h @@ -22,7 +22,7 @@ // Default: 768 // The size configured here determines the size of the internal I/O // buffer used in mbedTLS when receiving data. -#if OPENTHREAD_CONFIG_COAP_SECURE_API_ENABLE +#if SL_USE_COAP_CONFIG #define SL_MBEDTLS_SSL_IN_CONTENT_LEN 900 #else #define SL_MBEDTLS_SSL_IN_CONTENT_LEN 768 @@ -36,7 +36,7 @@ // Default: 768 // The size configured here determines the size of the internal I/O // buffer used in mbedTLS when sending data. -#if OPENTHREAD_CONFIG_COAP_SECURE_API_ENABLE +#if SL_USE_COAP_CONFIG #define SL_MBEDTLS_SSL_OUT_CONTENT_LEN 900 #else #define SL_MBEDTLS_SSL_OUT_CONTENT_LEN 768 diff --git a/matter/efr32/efr32mg12/BRD4170A/config/sl_mbedtls_config.h b/matter/efr32/efr32mg12/BRD4170A/config/sl_mbedtls_config.h index 6c1f8e1df4..25a07095f4 100644 --- a/matter/efr32/efr32mg12/BRD4170A/config/sl_mbedtls_config.h +++ b/matter/efr32/efr32mg12/BRD4170A/config/sl_mbedtls_config.h @@ -22,7 +22,7 @@ // Default: 768 // The size configured here determines the size of the internal I/O // buffer used in mbedTLS when receiving data. -#if OPENTHREAD_CONFIG_COAP_SECURE_API_ENABLE +#if SL_USE_COAP_CONFIG #define SL_MBEDTLS_SSL_IN_CONTENT_LEN 900 #else #define SL_MBEDTLS_SSL_IN_CONTENT_LEN 768 @@ -36,7 +36,7 @@ // Default: 768 // The size configured here determines the size of the internal I/O // buffer used in mbedTLS when sending data. -#if OPENTHREAD_CONFIG_COAP_SECURE_API_ENABLE +#if SL_USE_COAP_CONFIG #define SL_MBEDTLS_SSL_OUT_CONTENT_LEN 900 #else #define SL_MBEDTLS_SSL_OUT_CONTENT_LEN 768 diff --git a/matter/efr32/efr32mg12/BRD4304A/config/sl_mbedtls_config.h b/matter/efr32/efr32mg12/BRD4304A/config/sl_mbedtls_config.h index 6f8e2131ae..a1b4f13a5c 100644 --- a/matter/efr32/efr32mg12/BRD4304A/config/sl_mbedtls_config.h +++ b/matter/efr32/efr32mg12/BRD4304A/config/sl_mbedtls_config.h @@ -18,7 +18,7 @@ // Default: 768 // The size configured here determines the size of the internal I/O // buffer used in mbedTLS when receiving data. -#if OPENTHREAD_CONFIG_COAP_SECURE_API_ENABLE +#if SL_USE_COAP_CONFIG #define SL_MBEDTLS_SSL_IN_CONTENT_LEN 900 #else #define SL_MBEDTLS_SSL_IN_CONTENT_LEN 768 @@ -28,7 +28,7 @@ // Default: 768 // The size configured here determines the size of the internal I/O // buffer used in mbedTLS when sending data. -#if OPENTHREAD_CONFIG_COAP_SECURE_API_ENABLE +#if SL_USE_COAP_CONFIG #define SL_MBEDTLS_SSL_OUT_CONTENT_LEN 900 #else #define SL_MBEDTLS_SSL_OUT_CONTENT_LEN 768 diff --git a/matter/efr32/efr32mg24/BRD2601B/config/sl_mbedtls_config.h b/matter/efr32/efr32mg24/BRD2601B/config/sl_mbedtls_config.h index 6fc9ffa81d..e7058d6808 100644 --- a/matter/efr32/efr32mg24/BRD2601B/config/sl_mbedtls_config.h +++ b/matter/efr32/efr32mg24/BRD2601B/config/sl_mbedtls_config.h @@ -22,7 +22,7 @@ // Default: 768 // The size configured here determines the size of the internal I/O // buffer used in mbedTLS when receiving data. -#if OPENTHREAD_CONFIG_COAP_SECURE_API_ENABLE +#if SL_USE_COAP_CONFIG #define SL_MBEDTLS_SSL_IN_CONTENT_LEN 900 #else #define SL_MBEDTLS_SSL_IN_CONTENT_LEN 768 @@ -36,7 +36,7 @@ // Default: 768 // The size configured here determines the size of the internal I/O // buffer used in mbedTLS when sending data. -#if OPENTHREAD_CONFIG_COAP_SECURE_API_ENABLE +#if SL_USE_COAP_CONFIG #define SL_MBEDTLS_SSL_OUT_CONTENT_LEN 900 #else #define SL_MBEDTLS_SSL_OUT_CONTENT_LEN 768 diff --git a/matter/efr32/efr32mg24/BRD2703A/config/sl_mbedtls_config.h b/matter/efr32/efr32mg24/BRD2703A/config/sl_mbedtls_config.h index 6f8e2131ae..a1b4f13a5c 100644 --- a/matter/efr32/efr32mg24/BRD2703A/config/sl_mbedtls_config.h +++ b/matter/efr32/efr32mg24/BRD2703A/config/sl_mbedtls_config.h @@ -18,7 +18,7 @@ // Default: 768 // The size configured here determines the size of the internal I/O // buffer used in mbedTLS when receiving data. -#if OPENTHREAD_CONFIG_COAP_SECURE_API_ENABLE +#if SL_USE_COAP_CONFIG #define SL_MBEDTLS_SSL_IN_CONTENT_LEN 900 #else #define SL_MBEDTLS_SSL_IN_CONTENT_LEN 768 @@ -28,7 +28,7 @@ // Default: 768 // The size configured here determines the size of the internal I/O // buffer used in mbedTLS when sending data. -#if OPENTHREAD_CONFIG_COAP_SECURE_API_ENABLE +#if SL_USE_COAP_CONFIG #define SL_MBEDTLS_SSL_OUT_CONTENT_LEN 900 #else #define SL_MBEDTLS_SSL_OUT_CONTENT_LEN 768 diff --git a/matter/efr32/efr32mg24/BRD4186A/config/sl_mbedtls_config.h b/matter/efr32/efr32mg24/BRD4186A/config/sl_mbedtls_config.h index af65a3a76f..6087331fed 100644 --- a/matter/efr32/efr32mg24/BRD4186A/config/sl_mbedtls_config.h +++ b/matter/efr32/efr32mg24/BRD4186A/config/sl_mbedtls_config.h @@ -18,7 +18,7 @@ // Default: 768 // The size configured here determines the size of the internal I/O // buffer used in mbedTLS when receiving data. -#if OPENTHREAD_CONFIG_COAP_SECURE_API_ENABLE +#if SL_USE_COAP_CONFIG #define SL_MBEDTLS_SSL_IN_CONTENT_LEN 900 #else #define SL_MBEDTLS_SSL_IN_CONTENT_LEN 768 @@ -28,7 +28,7 @@ // Default: 768 // The size configured here determines the size of the internal I/O // buffer used in mbedTLS when sending data. -#if OPENTHREAD_CONFIG_COAP_SECURE_API_ENABLE +#if SL_USE_COAP_CONFIG #define SL_MBEDTLS_SSL_OUT_CONTENT_LEN 900 #else #define SL_MBEDTLS_SSL_OUT_CONTENT_LEN 768 diff --git a/matter/efr32/efr32mg24/BRD4186C/config/sl_mbedtls_config.h b/matter/efr32/efr32mg24/BRD4186C/config/sl_mbedtls_config.h index af65a3a76f..6087331fed 100644 --- a/matter/efr32/efr32mg24/BRD4186C/config/sl_mbedtls_config.h +++ b/matter/efr32/efr32mg24/BRD4186C/config/sl_mbedtls_config.h @@ -18,7 +18,7 @@ // Default: 768 // The size configured here determines the size of the internal I/O // buffer used in mbedTLS when receiving data. -#if OPENTHREAD_CONFIG_COAP_SECURE_API_ENABLE +#if SL_USE_COAP_CONFIG #define SL_MBEDTLS_SSL_IN_CONTENT_LEN 900 #else #define SL_MBEDTLS_SSL_IN_CONTENT_LEN 768 @@ -28,7 +28,7 @@ // Default: 768 // The size configured here determines the size of the internal I/O // buffer used in mbedTLS when sending data. -#if OPENTHREAD_CONFIG_COAP_SECURE_API_ENABLE +#if SL_USE_COAP_CONFIG #define SL_MBEDTLS_SSL_OUT_CONTENT_LEN 900 #else #define SL_MBEDTLS_SSL_OUT_CONTENT_LEN 768 diff --git a/matter/efr32/efr32mg24/BRD4187A/config/sl_mbedtls_config.h b/matter/efr32/efr32mg24/BRD4187A/config/sl_mbedtls_config.h index 6f8e2131ae..a1b4f13a5c 100644 --- a/matter/efr32/efr32mg24/BRD4187A/config/sl_mbedtls_config.h +++ b/matter/efr32/efr32mg24/BRD4187A/config/sl_mbedtls_config.h @@ -18,7 +18,7 @@ // Default: 768 // The size configured here determines the size of the internal I/O // buffer used in mbedTLS when receiving data. -#if OPENTHREAD_CONFIG_COAP_SECURE_API_ENABLE +#if SL_USE_COAP_CONFIG #define SL_MBEDTLS_SSL_IN_CONTENT_LEN 900 #else #define SL_MBEDTLS_SSL_IN_CONTENT_LEN 768 @@ -28,7 +28,7 @@ // Default: 768 // The size configured here determines the size of the internal I/O // buffer used in mbedTLS when sending data. -#if OPENTHREAD_CONFIG_COAP_SECURE_API_ENABLE +#if SL_USE_COAP_CONFIG #define SL_MBEDTLS_SSL_OUT_CONTENT_LEN 900 #else #define SL_MBEDTLS_SSL_OUT_CONTENT_LEN 768 diff --git a/matter/efr32/efr32mg24/BRD4187C/config/sl_mbedtls_config.h b/matter/efr32/efr32mg24/BRD4187C/config/sl_mbedtls_config.h index a7c72bcf7f..acaf8e558b 100644 --- a/matter/efr32/efr32mg24/BRD4187C/config/sl_mbedtls_config.h +++ b/matter/efr32/efr32mg24/BRD4187C/config/sl_mbedtls_config.h @@ -22,7 +22,7 @@ // Default: 768 // The size configured here determines the size of the internal I/O // buffer used in mbedTLS when receiving data. -#if OPENTHREAD_CONFIG_COAP_SECURE_API_ENABLE +#if SL_USE_COAP_CONFIG #define SL_MBEDTLS_SSL_IN_CONTENT_LEN 900 #else #define SL_MBEDTLS_SSL_IN_CONTENT_LEN 768 @@ -36,7 +36,7 @@ // Default: 768 // The size configured here determines the size of the internal I/O // buffer used in mbedTLS when sending data. -#if OPENTHREAD_CONFIG_COAP_SECURE_API_ENABLE +#if SL_USE_COAP_CONFIG #define SL_MBEDTLS_SSL_OUT_CONTENT_LEN 900 #else #define SL_MBEDTLS_SSL_OUT_CONTENT_LEN 768 diff --git a/matter/efr32/mgm24/BRD2704A/config/sl_mbedtls_config.h b/matter/efr32/mgm24/BRD2704A/config/sl_mbedtls_config.h index 6fc9ffa81d..e7058d6808 100644 --- a/matter/efr32/mgm24/BRD2704A/config/sl_mbedtls_config.h +++ b/matter/efr32/mgm24/BRD2704A/config/sl_mbedtls_config.h @@ -22,7 +22,7 @@ // Default: 768 // The size configured here determines the size of the internal I/O // buffer used in mbedTLS when receiving data. -#if OPENTHREAD_CONFIG_COAP_SECURE_API_ENABLE +#if SL_USE_COAP_CONFIG #define SL_MBEDTLS_SSL_IN_CONTENT_LEN 900 #else #define SL_MBEDTLS_SSL_IN_CONTENT_LEN 768 @@ -36,7 +36,7 @@ // Default: 768 // The size configured here determines the size of the internal I/O // buffer used in mbedTLS when sending data. -#if OPENTHREAD_CONFIG_COAP_SECURE_API_ENABLE +#if SL_USE_COAP_CONFIG #define SL_MBEDTLS_SSL_OUT_CONTENT_LEN 900 #else #define SL_MBEDTLS_SSL_OUT_CONTENT_LEN 768 diff --git a/matter/efr32/mgm24/BRD4316A/config/sl_mbedtls_config.h b/matter/efr32/mgm24/BRD4316A/config/sl_mbedtls_config.h index 6fc9ffa81d..e7058d6808 100644 --- a/matter/efr32/mgm24/BRD4316A/config/sl_mbedtls_config.h +++ b/matter/efr32/mgm24/BRD4316A/config/sl_mbedtls_config.h @@ -22,7 +22,7 @@ // Default: 768 // The size configured here determines the size of the internal I/O // buffer used in mbedTLS when receiving data. -#if OPENTHREAD_CONFIG_COAP_SECURE_API_ENABLE +#if SL_USE_COAP_CONFIG #define SL_MBEDTLS_SSL_IN_CONTENT_LEN 900 #else #define SL_MBEDTLS_SSL_IN_CONTENT_LEN 768 @@ -36,7 +36,7 @@ // Default: 768 // The size configured here determines the size of the internal I/O // buffer used in mbedTLS when sending data. -#if OPENTHREAD_CONFIG_COAP_SECURE_API_ENABLE +#if SL_USE_COAP_CONFIG #define SL_MBEDTLS_SSL_OUT_CONTENT_LEN 900 #else #define SL_MBEDTLS_SSL_OUT_CONTENT_LEN 768 diff --git a/matter/efr32/mgm24/BRD4317A/config/sl_mbedtls_config.h b/matter/efr32/mgm24/BRD4317A/config/sl_mbedtls_config.h index 6c1f8e1df4..25a07095f4 100644 --- a/matter/efr32/mgm24/BRD4317A/config/sl_mbedtls_config.h +++ b/matter/efr32/mgm24/BRD4317A/config/sl_mbedtls_config.h @@ -22,7 +22,7 @@ // Default: 768 // The size configured here determines the size of the internal I/O // buffer used in mbedTLS when receiving data. -#if OPENTHREAD_CONFIG_COAP_SECURE_API_ENABLE +#if SL_USE_COAP_CONFIG #define SL_MBEDTLS_SSL_IN_CONTENT_LEN 900 #else #define SL_MBEDTLS_SSL_IN_CONTENT_LEN 768 @@ -36,7 +36,7 @@ // Default: 768 // The size configured here determines the size of the internal I/O // buffer used in mbedTLS when sending data. -#if OPENTHREAD_CONFIG_COAP_SECURE_API_ENABLE +#if SL_USE_COAP_CONFIG #define SL_MBEDTLS_SSL_OUT_CONTENT_LEN 900 #else #define SL_MBEDTLS_SSL_OUT_CONTENT_LEN 768 diff --git a/matter/efr32/mgm24/BRD4318A/config/sl_mbedtls_config.h b/matter/efr32/mgm24/BRD4318A/config/sl_mbedtls_config.h index 6fc9ffa81d..e7058d6808 100644 --- a/matter/efr32/mgm24/BRD4318A/config/sl_mbedtls_config.h +++ b/matter/efr32/mgm24/BRD4318A/config/sl_mbedtls_config.h @@ -22,7 +22,7 @@ // Default: 768 // The size configured here determines the size of the internal I/O // buffer used in mbedTLS when receiving data. -#if OPENTHREAD_CONFIG_COAP_SECURE_API_ENABLE +#if SL_USE_COAP_CONFIG #define SL_MBEDTLS_SSL_IN_CONTENT_LEN 900 #else #define SL_MBEDTLS_SSL_IN_CONTENT_LEN 768 @@ -36,7 +36,7 @@ // Default: 768 // The size configured here determines the size of the internal I/O // buffer used in mbedTLS when sending data. -#if OPENTHREAD_CONFIG_COAP_SECURE_API_ENABLE +#if SL_USE_COAP_CONFIG #define SL_MBEDTLS_SSL_OUT_CONTENT_LEN 900 #else #define SL_MBEDTLS_SSL_OUT_CONTENT_LEN 768 diff --git a/matter/efr32/mgm24/BRD4319A/config/sl_mbedtls_config.h b/matter/efr32/mgm24/BRD4319A/config/sl_mbedtls_config.h index 6fc9ffa81d..e7058d6808 100644 --- a/matter/efr32/mgm24/BRD4319A/config/sl_mbedtls_config.h +++ b/matter/efr32/mgm24/BRD4319A/config/sl_mbedtls_config.h @@ -22,7 +22,7 @@ // Default: 768 // The size configured here determines the size of the internal I/O // buffer used in mbedTLS when receiving data. -#if OPENTHREAD_CONFIG_COAP_SECURE_API_ENABLE +#if SL_USE_COAP_CONFIG #define SL_MBEDTLS_SSL_IN_CONTENT_LEN 900 #else #define SL_MBEDTLS_SSL_IN_CONTENT_LEN 768 @@ -36,7 +36,7 @@ // Default: 768 // The size configured here determines the size of the internal I/O // buffer used in mbedTLS when sending data. -#if OPENTHREAD_CONFIG_COAP_SECURE_API_ENABLE +#if SL_USE_COAP_CONFIG #define SL_MBEDTLS_SSL_OUT_CONTENT_LEN 900 #else #define SL_MBEDTLS_SSL_OUT_CONTENT_LEN 768 diff --git a/matter/mbedtls/tinycrypt/inc/mbedtls/config.h b/matter/mbedtls/tinycrypt/inc/mbedtls/config.h index 9fec5fc689..d8b84609b0 100644 --- a/matter/mbedtls/tinycrypt/inc/mbedtls/config.h +++ b/matter/mbedtls/tinycrypt/inc/mbedtls/config.h @@ -337,7 +337,7 @@ typedef void mbedtls_ecp_restart_ctx; #define MBEDTLS_ENTROPY_MAX_SOURCES \ 2 /**< Maximum number of sources supported */ #define MBEDTLS_SSL_DTLS_BADMAC_LIMIT -#if OPENTHREAD_CONFIG_COAP_SECURE_API_ENABLE +#if SL_USE_COAP_CONFIG #define MBEDTLS_SSL_MAX_CONTENT_LEN \ 900 /**< Maxium fragment length in bytes \ */