From 3e5b5f192ebc329b2e0450127a483b672c650f63 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20P=C3=A9gouri=C3=A9-Gonnard?= Date: Tue, 20 Oct 2015 14:55:13 +0200 Subject: [PATCH] Tune up config-thread.h a bit more --- configs/config-thread.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/configs/config-thread.h b/configs/config-thread.h index 3feef1379..453b17f0a 100644 --- a/configs/config-thread.h +++ b/configs/config-thread.h @@ -75,9 +75,12 @@ #define MBEDTLS_NET_C #define MBEDTLS_TIMING_C +/* Save RAM at the expense of ROM */ +#define MBEDTLS_AES_ROM_TABLES + /* Save RAM by adjusting to our exact needs */ #define MBEDTLS_ECP_MAX_BITS 256 -#define MBEDTLS_ENTROPY_MAX_SOURCES 2 +#define MBEDTLS_MPI_MAX_SIZE 32 // 256 bits is 32 bytes /* 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 @@ -86,6 +89,6 @@ #include "mbedtls/target_config.h" #endif -#include "check_config.h" +#include "mbedtls/check_config.h" #endif /* MBEDTLS_CONFIG_H */