Enable MBEDTLS_AES_ROM_TABLES in config-no-entropy

Enable the MBEDTLS_AES_ROM_TABLES option in the
configs/config-no-entropy.h to place AES lookup tables in ROM. This
saves considerable RAM space, a resource that is very limited in small
devices that use this configuration.
This commit is contained in:
Andres Amaya Garcia 2017-06-23 13:05:44 +01:00 committed by Simon Butcher
parent 78b1473ff3
commit 7501f052ba

View File

@ -80,6 +80,9 @@
#define MBEDTLS_X509_CRT_PARSE_C #define MBEDTLS_X509_CRT_PARSE_C
#define MBEDTLS_X509_CRL_PARSE_C #define MBEDTLS_X509_CRL_PARSE_C
/* Miscellaneous options */
#define MBEDTLS_AES_ROM_TABLES
#include "check_config.h" #include "check_config.h"
#endif /* MBEDTLS_CONFIG_H */ #endif /* MBEDTLS_CONFIG_H */