From e7124b557d7d6f5807cd24f949ae532073ac462b Mon Sep 17 00:00:00 2001 From: Hanno Becker Date: Wed, 21 Aug 2019 17:42:09 +0100 Subject: [PATCH] Remove Secp384r1 from baremetal_test config Previously, configs/baremetal_test.h added MBEDTLS_ECP_DP_SECP384R1_ENABLED because we didn't have sufficient test certificates using Secp256r1. Now that these test certificates have been added, we can successfully run ssl_client2 and ssl_server2 with just Secp256r1 enabled. --- configs/baremetal_test.h | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/configs/baremetal_test.h b/configs/baremetal_test.h index 82c0ed17c..b7e36f0f4 100644 --- a/configs/baremetal_test.h +++ b/configs/baremetal_test.h @@ -37,18 +37,6 @@ /* Debug output */ #define MBEDTLS_DEBUG_C -/* We don't have DER-encoded test CRTs yet. */ -#define MBEDTLS_PEM_PARSE_C -#define MBEDTLS_BASE64_C -/* 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