From 9b178deedbf23c8a39fdd7f3b4fdac616c873b2b Mon Sep 17 00:00:00 2001 From: David Brown Date: Wed, 10 Mar 2021 13:14:48 -0700 Subject: [PATCH] Fix typo in PSA ECC curve config option Fix SEC to SECP as the curve name. This fixes failing tests that verified the config option was working. Signed-off-by: David Brown --- include/mbedtls/config_psa.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/mbedtls/config_psa.h b/include/mbedtls/config_psa.h index e46b32e83..8fb8153ba 100644 --- a/include/mbedtls/config_psa.h +++ b/include/mbedtls/config_psa.h @@ -406,7 +406,7 @@ extern "C" { #if defined(PSA_WANT_ECC_SECP_K1_256) #if !defined(MBEDTLS_PSA_ACCEL_ECC_SECP_K1_256) -#define MBEDTLS_ECP_DP_SEC256K1_ENABLED +#define MBEDTLS_ECP_DP_SECP256K1_ENABLED #define MBEDTLS_PSA_BUILTIN_ECC_SECP_K1_256 1 #endif /* !MBEDTLS_PSA_ACCEL_ECC_SECP_K1_256 */ #endif /* PSA_WANT_ECC_SECP_K1_256 */ @@ -657,7 +657,7 @@ extern "C" { #define PSA_WANT_ECC_SECP_K1_224 #endif -#if defined(MBEDTLS_ECP_DP_SEC256K1_ENABLED) +#if defined(MBEDTLS_ECP_DP_SECP256K1_ENABLED) #define MBEDTLS_PSA_BUILTIN_ECC_SECP_K1_256 1 #define PSA_WANT_ECC_SECP_K1_256 #endif