mirror of https://github.com/ARMmbed/mbed-os.git
Enable MBEDTLS_AES_ROM_TABLES in mbed TLS main conf
Enable the compile-time option MBEDTLS_AES_ROM_TABLES in the mbed TLS main config.h file in mbed OS. This option has the effect of labelling the AES tables as 'const' so they are placed in ROM, which saves some RAM space.pull/4987/head
parent
adbba2c86b
commit
7c8ed0cc42
|
@ -112,6 +112,8 @@ conf unset MBEDTLS_RIPEMD160_C
|
|||
conf unset MBEDTLS_SHA1_C
|
||||
conf unset MBEDTLS_XTEA_C
|
||||
|
||||
conf set MBEDTLS_AES_ROM_TABLES
|
||||
|
||||
conf unset MBEDTLS_X509_RSASSA_PSS_SUPPORT
|
||||
|
||||
conf unset MBEDTLS_X509_CSR_PARSE_C
|
||||
|
|
|
@ -435,7 +435,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
|
||||
|
|
Loading…
Reference in New Issue