Skip to content

Commit 39e636f

Browse files
author
Arto Kinnunen
committed
Update mbedtls configuration
-Enable MBEDTLS_AES_FEWER_TABLES -Undefine MBEDTLS_MPI_MAX_SIZE before redefinition
1 parent 49d4753 commit 39e636f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

mbedtls_config.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,11 @@
3838

3939
/* Save RAM at the expense of ROM */
4040
#define MBEDTLS_AES_ROM_TABLES
41+
#define MBEDTLS_AES_FEWER_TABLES
4142

4243
/* Save RAM by adjusting to our exact needs */
4344
#define MBEDTLS_ECP_MAX_BITS 256
45+
#undef MBEDTLS_MPI_MAX_SIZE
4446
#define MBEDTLS_MPI_MAX_SIZE 32 // 256 bits is 32 bytes
4547

4648
/* Save ROM and a few bytes of RAM by specifying our own ciphersuite list */

0 commit comments

Comments
 (0)