Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace OT define with the correct define #132

Merged
merged 1 commit into from
Aug 18, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions matter/efr32/efr32mg12/BRD4161A/config/sl_mbedtls_config.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
// <i> Default: 768
// <i> The size configured here determines the size of the internal I/O
// <i> 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
Expand All @@ -36,7 +36,7 @@
// <i> Default: 768
// <i> The size configured here determines the size of the internal I/O
// <i> 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
Expand Down
4 changes: 2 additions & 2 deletions matter/efr32/efr32mg12/BRD4162A/config/sl_mbedtls_config.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
// <i> Default: 768
// <i> The size configured here determines the size of the internal I/O
// <i> 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
Expand All @@ -36,7 +36,7 @@
// <i> Default: 768
// <i> The size configured here determines the size of the internal I/O
// <i> 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
Expand Down
4 changes: 2 additions & 2 deletions matter/efr32/efr32mg12/BRD4163A/config/sl_mbedtls_config.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
// <i> Default: 768
// <i> The size configured here determines the size of the internal I/O
// <i> 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
Expand All @@ -36,7 +36,7 @@
// <i> Default: 768
// <i> The size configured here determines the size of the internal I/O
// <i> 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
Expand Down
4 changes: 2 additions & 2 deletions matter/efr32/efr32mg12/BRD4164A/config/sl_mbedtls_config.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
// <i> Default: 768
// <i> The size configured here determines the size of the internal I/O
// <i> 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
Expand All @@ -36,7 +36,7 @@
// <i> Default: 768
// <i> The size configured here determines the size of the internal I/O
// <i> 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
Expand Down
4 changes: 2 additions & 2 deletions matter/efr32/efr32mg12/BRD4166A/config/sl_mbedtls_config.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
// <i> Default: 768
// <i> The size configured here determines the size of the internal I/O
// <i> 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
Expand All @@ -36,7 +36,7 @@
// <i> Default: 768
// <i> The size configured here determines the size of the internal I/O
// <i> 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
Expand Down
4 changes: 2 additions & 2 deletions matter/efr32/efr32mg12/BRD4170A/config/sl_mbedtls_config.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
// <i> Default: 768
// <i> The size configured here determines the size of the internal I/O
// <i> 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
Expand All @@ -36,7 +36,7 @@
// <i> Default: 768
// <i> The size configured here determines the size of the internal I/O
// <i> 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
Expand Down
4 changes: 2 additions & 2 deletions matter/efr32/efr32mg12/BRD4304A/config/sl_mbedtls_config.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
// <i> Default: 768
// <i> The size configured here determines the size of the internal I/O
// <i> 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
Expand All @@ -28,7 +28,7 @@
// <i> Default: 768
// <i> The size configured here determines the size of the internal I/O
// <i> 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
Expand Down
4 changes: 2 additions & 2 deletions matter/efr32/efr32mg24/BRD2601B/config/sl_mbedtls_config.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
// <i> Default: 768
// <i> The size configured here determines the size of the internal I/O
// <i> 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
Expand All @@ -36,7 +36,7 @@
// <i> Default: 768
// <i> The size configured here determines the size of the internal I/O
// <i> 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
Expand Down
4 changes: 2 additions & 2 deletions matter/efr32/efr32mg24/BRD2703A/config/sl_mbedtls_config.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
// <i> Default: 768
// <i> The size configured here determines the size of the internal I/O
// <i> 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
Expand All @@ -28,7 +28,7 @@
// <i> Default: 768
// <i> The size configured here determines the size of the internal I/O
// <i> 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
Expand Down
4 changes: 2 additions & 2 deletions matter/efr32/efr32mg24/BRD4186A/config/sl_mbedtls_config.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
// <i> Default: 768
// <i> The size configured here determines the size of the internal I/O
// <i> 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
Expand All @@ -28,7 +28,7 @@
// <i> Default: 768
// <i> The size configured here determines the size of the internal I/O
// <i> 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
Expand Down
4 changes: 2 additions & 2 deletions matter/efr32/efr32mg24/BRD4186C/config/sl_mbedtls_config.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
// <i> Default: 768
// <i> The size configured here determines the size of the internal I/O
// <i> 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
Expand All @@ -28,7 +28,7 @@
// <i> Default: 768
// <i> The size configured here determines the size of the internal I/O
// <i> 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
Expand Down
4 changes: 2 additions & 2 deletions matter/efr32/efr32mg24/BRD4187A/config/sl_mbedtls_config.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
// <i> Default: 768
// <i> The size configured here determines the size of the internal I/O
// <i> 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
Expand All @@ -28,7 +28,7 @@
// <i> Default: 768
// <i> The size configured here determines the size of the internal I/O
// <i> 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
Expand Down
4 changes: 2 additions & 2 deletions matter/efr32/efr32mg24/BRD4187C/config/sl_mbedtls_config.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
// <i> Default: 768
// <i> The size configured here determines the size of the internal I/O
// <i> 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
Expand All @@ -36,7 +36,7 @@
// <i> Default: 768
// <i> The size configured here determines the size of the internal I/O
// <i> 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
Expand Down
4 changes: 2 additions & 2 deletions matter/efr32/mgm24/BRD2704A/config/sl_mbedtls_config.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
// <i> Default: 768
// <i> The size configured here determines the size of the internal I/O
// <i> 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
Expand All @@ -36,7 +36,7 @@
// <i> Default: 768
// <i> The size configured here determines the size of the internal I/O
// <i> 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
Expand Down
4 changes: 2 additions & 2 deletions matter/efr32/mgm24/BRD4316A/config/sl_mbedtls_config.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
// <i> Default: 768
// <i> The size configured here determines the size of the internal I/O
// <i> 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
Expand All @@ -36,7 +36,7 @@
// <i> Default: 768
// <i> The size configured here determines the size of the internal I/O
// <i> 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
Expand Down
4 changes: 2 additions & 2 deletions matter/efr32/mgm24/BRD4317A/config/sl_mbedtls_config.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
// <i> Default: 768
// <i> The size configured here determines the size of the internal I/O
// <i> 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
Expand All @@ -36,7 +36,7 @@
// <i> Default: 768
// <i> The size configured here determines the size of the internal I/O
// <i> 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
Expand Down
4 changes: 2 additions & 2 deletions matter/efr32/mgm24/BRD4318A/config/sl_mbedtls_config.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
// <i> Default: 768
// <i> The size configured here determines the size of the internal I/O
// <i> 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
Expand All @@ -36,7 +36,7 @@
// <i> Default: 768
// <i> The size configured here determines the size of the internal I/O
// <i> 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
Expand Down
4 changes: 2 additions & 2 deletions matter/efr32/mgm24/BRD4319A/config/sl_mbedtls_config.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
// <i> Default: 768
// <i> The size configured here determines the size of the internal I/O
// <i> 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
Expand All @@ -36,7 +36,7 @@
// <i> Default: 768
// <i> The size configured here determines the size of the internal I/O
// <i> 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
Expand Down
2 changes: 1 addition & 1 deletion matter/mbedtls/tinycrypt/inc/mbedtls/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
*/
Expand Down
Loading