You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by cc...@apache.org on 2016/03/25 23:27:37 UTC

[3/9] incubator-mynewt-core git commit: Store mbedtls AES table in ROM.

Store mbedtls AES table in ROM.

Without this change, the library tries to allocate 2kB on the stack the
first time an AES operation is performed.


Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/commit/392936c3
Tree: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/tree/392936c3
Diff: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/diff/392936c3

Branch: refs/heads/develop
Commit: 392936c324caae6a77ef13a43d17cd62c78f1adc
Parents: 87d1d27
Author: Christopher Collins <cc...@apache.org>
Authored: Wed Mar 23 19:12:43 2016 -0700
Committer: Christopher Collins <cc...@apache.org>
Committed: Fri Mar 25 15:10:02 2016 -0700

----------------------------------------------------------------------
 libs/mbedtls/include/mbedtls/config.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/392936c3/libs/mbedtls/include/mbedtls/config.h
----------------------------------------------------------------------
diff --git a/libs/mbedtls/include/mbedtls/config.h b/libs/mbedtls/include/mbedtls/config.h
index d1db0d8..a6fdd68 100644
--- a/libs/mbedtls/include/mbedtls/config.h
+++ b/libs/mbedtls/include/mbedtls/config.h
@@ -297,7 +297,7 @@
  *
  * Uncomment this macro to store the AES tables in ROM.
  */
-//#define MBEDTLS_AES_ROM_TABLES
+#define MBEDTLS_AES_ROM_TABLES
 
 /**
  * \def MBEDTLS_CAMELLIA_SMALL_MEMORY