aboutsummaryrefslogtreecommitdiff
path: root/configs/config-suite-b.h
diff options
context:
space:
mode:
authorManuel Pégourié-Gonnard <mpg@elzevir.fr>2014-06-24 17:50:22 +0200
committerManuel Pégourié-Gonnard <mpg@elzevir.fr>2014-06-24 17:50:22 +0200
commit417670a030a3bb2d762bf3f77200c357801ceb04 (patch)
treeaf473cac7553cc4fdcc447a5ff94c363ec64edce /configs/config-suite-b.h
parent66e20c6318a172cb508949dff0ce38d2c5790d40 (diff)
downloadmbedtls-417670a030a3bb2d762bf3f77200c357801ceb04.zip
mbedtls-417670a030a3bb2d762bf3f77200c357801ceb04.tar.gz
mbedtls-417670a030a3bb2d762bf3f77200c357801ceb04.tar.bz2
Adjust bound more tightly
Diffstat (limited to 'configs/config-suite-b.h')
-rw-r--r--configs/config-suite-b.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/configs/config-suite-b.h b/configs/config-suite-b.h
index 4651e0d..0600c2e 100644
--- a/configs/config-suite-b.h
+++ b/configs/config-suite-b.h
@@ -60,8 +60,8 @@
#define POLARSSL_AES_ROM_TABLES
/* Save RAM by adjusting to our exact needs */
-#define POLARSSL_MPI_MAX_SIZE 96
#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 */
#define POLARSSL_ECP_WINDOW_SIZE 2