aboutsummaryrefslogtreecommitdiff
path: root/configs/config-no-entropy.h
diff options
context:
space:
mode:
authorAndres Amaya Garcia <andres.amayagarcia@arm.com>2017-06-23 13:05:44 +0100
committerSimon Butcher <simon.butcher@arm.com>2017-07-27 21:44:32 +0100
commit28f320e60ecae5e91d5fece0a8fe89e83b2858ab (patch)
tree9057bca1920db35544b4d20f0d09a45b789ab85e /configs/config-no-entropy.h
parentbfea4a7c02133df3bb5198373e735c53ced23917 (diff)
downloadmbedtls-28f320e60ecae5e91d5fece0a8fe89e83b2858ab.zip
mbedtls-28f320e60ecae5e91d5fece0a8fe89e83b2858ab.tar.gz
mbedtls-28f320e60ecae5e91d5fece0a8fe89e83b2858ab.tar.bz2
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.
Diffstat (limited to 'configs/config-no-entropy.h')
-rw-r--r--configs/config-no-entropy.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/configs/config-no-entropy.h b/configs/config-no-entropy.h
index 95f17d4..7375860 100644
--- a/configs/config-no-entropy.h
+++ b/configs/config-no-entropy.h
@@ -80,6 +80,9 @@
#define MBEDTLS_X509_CRT_PARSE_C
#define MBEDTLS_X509_CRL_PARSE_C
+/* Miscellaneous options */
+#define MBEDTLS_AES_ROM_TABLES
+
#include "check_config.h"
#endif /* MBEDTLS_CONFIG_H */