Skip to content

Commit 11763cf

Browse files
edmontrlubos
authored andcommitted
openthread: update libraries based on commit 2ce3d3b
Update OpenThread pre-build libraries to adapt to Mbed TLS changes. Signed-off-by: Eduardo Montoya <[email protected]>
1 parent 0e0add5 commit 11763cf

20 files changed

+37
-55
lines changed
Binary file not shown.
Binary file not shown.

openthread/lib/cortex-m33/hard-float/v1.3/ftd/oberon/nrf_security_mbedtls_configuration.h

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1405,7 +1405,7 @@
14051405
*
14061406
* Comment this macro to disable support for Extended Master Secret.
14071407
*/
1408-
/* #undef MBEDTLS_SSL_EXTENDED_MASTER_SECRET */
1408+
#define MBEDTLS_SSL_EXTENDED_MASTER_SECRET
14091409

14101410
/**
14111411
* \def MBEDTLS_SSL_KEEP_PEER_CERTIFICATE
@@ -3272,13 +3272,6 @@ it is (2^48 - 1), our restriction is : (int - 0xFFFF - 0xF).*/
32723272
*/
32733273
//#define MBEDTLS_ECDH_VARIANT_EVEREST_ENABLED
32743274

3275-
/**
3276-
* Nordic added
3277-
*
3278-
* Adding back the legacy ECDH context for binary compatibility
3279-
*/
3280-
#define MBEDTLS_ECDH_LEGACY_CONTEXT
3281-
32823275
#if defined(CONFIG_MBEDTLS_OPENTHREAD_OPTIMIZATIONS_ENABLED)
32833276
#define MBEDTLS_MPI_WINDOW_SIZE 1 /**< Maximum windows size used. */
32843277
#define MBEDTLS_MPI_MAX_SIZE 32 /**< Maximum number of bytes for usable MPIs. */

openthread/lib/cortex-m33/hard-float/v1.3/ftd/oberon/openthread_lib_configuration.txt

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
1-
OpenThread_commit=v2.0.1-115-ge299df7fc
2-
NRFXLIB_commit=v2.0.1-2-g6ed78933
3-
MBEDTLS_commit=v3.0.0-ncs2-0-gb36261c55
1+
GCC_version: arm-zephyr-eabi-gcc (Zephyr SDK 0.14.1) 10.3.0
2+
3+
OpenThread_commit=thread-reference-20200818-ncs1-rc3-764-g0d19f9112
4+
NRFXLIB_commit=v2.1.0-rc1-12-g9a6637e1
5+
MBEDTLS_commit=v2.26.0-3406-gcfc83308d
46

57
CONFIG_OPENTHREAD_BUILD_OUTPUT_STRIPPED=y
68
CONFIG_OPENTHREAD_CHANNEL=11
@@ -33,6 +35,7 @@ CONFIG_OPENTHREAD_MAX_CHILDREN=32
3335
CONFIG_OPENTHREAD_MAX_IP_ADDR_PER_CHILD=6
3436
CONFIG_OPENTHREAD_MAX_STATECHANGE_HANDLERS=2
3537
CONFIG_OPENTHREAD_MBEDTLS_LIB_NAME=mbedtls_external
38+
CONFIG_OPENTHREAD_MESSAGE_BUFFER_SIZE=128
3639
CONFIG_OPENTHREAD_MLR=y
3740
CONFIG_OPENTHREAD_MTD_NETDIAG=y
3841
CONFIG_OPENTHREAD_NETWORKKEY=
Binary file not shown.
Binary file not shown.

openthread/lib/cortex-m33/hard-float/v1.3/mtd/oberon/nrf_security_mbedtls_configuration.h

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1405,7 +1405,7 @@
14051405
*
14061406
* Comment this macro to disable support for Extended Master Secret.
14071407
*/
1408-
/* #undef MBEDTLS_SSL_EXTENDED_MASTER_SECRET */
1408+
#define MBEDTLS_SSL_EXTENDED_MASTER_SECRET
14091409

14101410
/**
14111411
* \def MBEDTLS_SSL_KEEP_PEER_CERTIFICATE
@@ -3272,13 +3272,6 @@ it is (2^48 - 1), our restriction is : (int - 0xFFFF - 0xF).*/
32723272
*/
32733273
//#define MBEDTLS_ECDH_VARIANT_EVEREST_ENABLED
32743274

3275-
/**
3276-
* Nordic added
3277-
*
3278-
* Adding back the legacy ECDH context for binary compatibility
3279-
*/
3280-
#define MBEDTLS_ECDH_LEGACY_CONTEXT
3281-
32823275
#if defined(CONFIG_MBEDTLS_OPENTHREAD_OPTIMIZATIONS_ENABLED)
32833276
#define MBEDTLS_MPI_WINDOW_SIZE 1 /**< Maximum windows size used. */
32843277
#define MBEDTLS_MPI_MAX_SIZE 32 /**< Maximum number of bytes for usable MPIs. */

openthread/lib/cortex-m33/hard-float/v1.3/mtd/oberon/openthread_lib_configuration.txt

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
1-
OpenThread_commit=v2.0.1-115-ge299df7fc
2-
NRFXLIB_commit=v2.0.1-2-g6ed78933
3-
MBEDTLS_commit=v3.0.0-ncs2-0-gb36261c55
1+
GCC_version: arm-zephyr-eabi-gcc (Zephyr SDK 0.14.1) 10.3.0
2+
3+
OpenThread_commit=thread-reference-20200818-ncs1-rc3-764-g0d19f9112
4+
NRFXLIB_commit=v2.1.0-rc1-12-g9a6637e1
5+
MBEDTLS_commit=v2.26.0-3406-gcfc83308d
46

57
CONFIG_OPENTHREAD_BUILD_OUTPUT_STRIPPED=y
68
CONFIG_OPENTHREAD_CHANNEL=11
@@ -29,8 +31,10 @@ CONFIG_OPENTHREAD_MAC_SOFTWARE_ACK_TIMEOUT_ENABLE=y
2931
CONFIG_OPENTHREAD_MAC_SOFTWARE_CSMA_BACKOFF_ENABLE=y
3032
CONFIG_OPENTHREAD_MAC_SOFTWARE_RETRANSMIT_ENABLE=y
3133
CONFIG_OPENTHREAD_MANUAL_START=y
34+
CONFIG_OPENTHREAD_MAX_CHILDREN=1
3235
CONFIG_OPENTHREAD_MAX_STATECHANGE_HANDLERS=2
3336
CONFIG_OPENTHREAD_MBEDTLS_LIB_NAME=mbedtls_external
37+
CONFIG_OPENTHREAD_MESSAGE_BUFFER_SIZE=128
3438
CONFIG_OPENTHREAD_MLR=y
3539
CONFIG_OPENTHREAD_MTD=y
3640
CONFIG_OPENTHREAD_MTD_NETDIAG=y
Binary file not shown.
Binary file not shown.

0 commit comments

Comments
 (0)