From 9232f4157207829d45f8689c50951e2e84c1a83b Mon Sep 17 00:00:00 2001 From: Valerio Setti Date: Thu, 6 Nov 2025 23:43:25 +0100 Subject: [PATCH] scripts: ecp.py: do not test secp192 curves in development Signed-off-by: Valerio Setti --- scripts/mbedtls_framework/ecp.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/scripts/mbedtls_framework/ecp.py b/scripts/mbedtls_framework/ecp.py index f9df5bdf5..9192e0638 100644 --- a/scripts/mbedtls_framework/ecp.py +++ b/scripts/mbedtls_framework/ecp.py @@ -86,7 +86,9 @@ class EcpP192R1Raw(bignum_common.ModOperationCommon, @property def is_valid(self) -> bool: - return True + # secp192r1 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() @@ -553,7 +555,9 @@ class EcpP192K1Raw(bignum_common.ModOperationCommon, @property def is_valid(self) -> bool: - return True + # secp192k1 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()