Merge pull request #10371 from ronald-cron-arm/remove-legacy-ecc-crypto-options

Prepare for the removal of legacy ECC crypto options
This commit is contained in:
Ronald Cron
2025-09-09 13:26:27 +00:00
committed by GitHub
2 changed files with 2 additions and 2 deletions

View File

@@ -78,7 +78,7 @@
#endif
#if defined(MBEDTLS_SSL_PROTO_TLS1_2) && \
(defined(MBEDTLS_ECDH_C) || defined(MBEDTLS_ECDSA_C) || \
(defined(PSA_WANT_ALG_ECDH) || defined(PSA_WANT_ALG_ECDSA) || \
defined(MBEDTLS_KEY_EXCHANGE_ECJPAKE_ENABLED))
#define MBEDTLS_SSL_TLS1_2_SOME_ECC
#endif

View File

@@ -2373,7 +2373,7 @@ run_test "Opaque key for server authentication: ECDH-" \
-C "error"
requires_config_enabled MBEDTLS_X509_CRT_PARSE_C
requires_config_enabled MBEDTLS_ECDSA_C
requires_config_enabled PSA_WANT_ALG_ECDSA
requires_config_enabled PSA_WANT_KEY_TYPE_RSA_KEY_PAIR_BASIC
requires_config_disabled MBEDTLS_SSL_ASYNC_PRIVATE
requires_hash_alg SHA_256