Correct ECP optimization params in baremetal_test.sh

This commit is contained in:
Hanno Becker 2019-04-03 12:00:46 +01:00
parent c7c20817dc
commit e6c3c7f52c

View file

@ -43,6 +43,12 @@
/* We don't have Secp256r1 test CRTs at the moment. */
#define MBEDTLS_ECP_DP_SECP384R1_ENABLED
/* Correct ECP configuration values */
#undef MBEDTLS_ECP_MAX_BITS
#undef MBEDTLS_MPI_MAX_SIZE
#define MBEDTLS_ECP_MAX_BITS 384
#define MBEDTLS_MPI_MAX_SIZE 48
/* ssl_client2 and ssl_server2 use CTR-DRBG so far. */
#define MBEDTLS_CTR_DRBG_C