Nanostack Border Router is a generic mbed border router implementation that provides the 6LoWPAN ND or Thread border router initialization logic.

Files at this revision

API Documentation at this revision

Comitter:
mbed_official
Date:
Mon Nov 26 08:45:34 2018 +0000
Parent:
82:3d9e3b7b3dcf
Child:
84:e6b7af6f34a4
Commit message:
Update mbedtls configuration (#148)

Enable MBEDTLS_CIPHER_MODE_CTR as it is required by SecureStore.cpp
.
Commit copied from https://github.com/ARMmbed/nanostack-border-router

Changed in this revision

source/mbedtls_thread_config.h Show annotated file Show diff for this revision Revisions of this file
--- a/source/mbedtls_thread_config.h	Fri Nov 23 14:45:35 2018 +0000
+++ b/source/mbedtls_thread_config.h	Mon Nov 26 08:45:34 2018 +0000
@@ -60,6 +60,9 @@
 /* Save ROM and a few bytes of RAM by specifying our own ciphersuite list */
 #define MBEDTLS_SSL_CIPHERSUITES MBEDTLS_TLS_ECJPAKE_WITH_AES_128_CCM_8
 
+/* Needed by SecureStore encrypt_decrypt_data */
+#define MBEDTLS_CIPHER_MODE_CTR
+
 /* Optimization. Remove all not needed stuff */
 /* For type TYPE_THREAD_SLEEPY_END_DEVICE
 #undef MBEDTLS_X509_USE_C
@@ -121,7 +124,6 @@
 #undef MBEDTLS_DEPRECATED_REMOVED
 #undef MBEDTLS_CAMELLIA_SMALL_MEMORY
 #undef MBEDTLS_CIPHER_MODE_CFB
-#undef MBEDTLS_CIPHER_MODE_CTR
 #undef MBEDTLS_CIPHER_NULL_CIPHER
 #undef MBEDTLS_CIPHER_PADDING_ONE_AND_ZEROS
 #undef MBEDTLS_CIPHER_PADDING_ZEROS_AND_LEN