Adjust bound more tightly

This commit is contained in:
Manuel Pégourié-Gonnard 2014-06-24 17:50:22 +02:00
parent 66e20c6318
commit 417670a030

View file

@ -60,8 +60,8 @@
#define POLARSSL_AES_ROM_TABLES #define POLARSSL_AES_ROM_TABLES
/* Save RAM by adjusting to our exact needs */ /* Save RAM by adjusting to our exact needs */
#define POLARSSL_MPI_MAX_SIZE 96
#define POLARSSL_ECP_MAX_BITS 384 #define POLARSSL_ECP_MAX_BITS 384
#define POLARSSL_MPI_MAX_SIZE 48 // 384 bits is 48 bytes
/* Save RAM at the expense of speed, see ecp.h */ /* Save RAM at the expense of speed, see ecp.h */
#define POLARSSL_ECP_WINDOW_SIZE 2 #define POLARSSL_ECP_WINDOW_SIZE 2