From 7554eeaf4c6000116fec9c19c3237601d95a6e22 Mon Sep 17 00:00:00 2001 From: Gabor Mezei Date: Mon, 27 Jan 2025 11:17:10 +0100 Subject: [PATCH] Disable 224K1 while testing the other curves Signed-off-by: Gabor Mezei --- tests/scripts/depends.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/tests/scripts/depends.py b/tests/scripts/depends.py index ac3ba9c466..2e8df33b58 100755 --- a/tests/scripts/depends.py +++ b/tests/scripts/depends.py @@ -512,7 +512,9 @@ class DomainData: hash_symbols = self.config_symbols_matching(r'MBEDTLS_(MD|RIPEMD|SHA)[0-9]+_C\Z') # Find elliptic curve enabling macros - curve_symbols = self.config_symbols_matching(r'PSA_WANT_ECC_\w+\Z') + # MBEDTLS_ECP_DP_SECP224K1_ENABLED added to disable it for all curves + curve_symbols = self.config_symbols_matching(r'PSA_WANT_ECC_\w+\Z|' + r'MBEDTLS_ECP_DP_SECP224K1_ENABLED') # Find key exchange enabling macros by name. key_exchange_symbols = self.config_symbols_matching(r'MBEDTLS_KEY_EXCHANGE_\w+_ENABLED\Z') @@ -543,7 +545,8 @@ class DomainData: build_and_test), # Elliptic curves. Run the test suites. - 'curves': ExclusiveDomain(curve_symbols, build_and_test), + 'curves': ExclusiveDomain(curve_symbols, build_and_test, + exclude=r'MBEDTLS_ECP_DP_SECP224K1_ENABLED'), # Hash algorithms. Excluding exclusive domains of MD, RIPEMD, SHA1, # SHA224 and SHA384 because MBEDTLS_ENTROPY_C is extensively used