From 2f3e0f33598c9a5ea273b533237fca00717a5f18 Mon Sep 17 00:00:00 2001 From: Valerio Setti Date: Tue, 5 Aug 2025 09:47:29 +0200 Subject: [PATCH] scripts: ecp.py: remove test case generation for P224[K|R]1 curves Signed-off-by: Valerio Setti --- scripts/mbedtls_framework/ecp.py | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/scripts/mbedtls_framework/ecp.py b/scripts/mbedtls_framework/ecp.py index 34ee28f74..f9df5bdf5 100644 --- a/scripts/mbedtls_framework/ecp.py +++ b/scripts/mbedtls_framework/ecp.py @@ -7,6 +7,7 @@ from typing import List from . import test_data_generation from . import bignum_common +from . import build_tree class EcpTarget(test_data_generation.BaseTarget): @@ -164,7 +165,9 @@ class EcpP224R1Raw(bignum_common.ModOperationCommon, @property def is_valid(self) -> bool: - return True + # secp224r1 support has been removed from development, but it's stil + # available in 3.6 branch. + return build_tree.is_mbedtls_3_6() def arguments(self)-> List[str]: args = super().arguments() @@ -624,7 +627,9 @@ class EcpP224K1Raw(bignum_common.ModOperationCommon, @property def is_valid(self) -> bool: - return True + # secp224k1 support has been removed from development, but it's stil + # available in 3.6 branch. + return build_tree.is_mbedtls_3_6() def arguments(self): args = super().arguments()