mirror of
https://github.com/Mbed-TLS/mbedtls-framework.git
synced 2026-09-13 21:59:55 +00:00
scripts: ecp.py: remove test case generation for P224[K|R]1 curves
Signed-off-by: Valerio Setti <[email protected]>
This commit is contained in:
@@ -7,6 +7,7 @@ from typing import List
|
|||||||
|
|
||||||
from . import test_data_generation
|
from . import test_data_generation
|
||||||
from . import bignum_common
|
from . import bignum_common
|
||||||
|
from . import build_tree
|
||||||
|
|
||||||
|
|
||||||
class EcpTarget(test_data_generation.BaseTarget):
|
class EcpTarget(test_data_generation.BaseTarget):
|
||||||
@@ -164,7 +165,9 @@ class EcpP224R1Raw(bignum_common.ModOperationCommon,
|
|||||||
|
|
||||||
@property
|
@property
|
||||||
def is_valid(self) -> bool:
|
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]:
|
def arguments(self)-> List[str]:
|
||||||
args = super().arguments()
|
args = super().arguments()
|
||||||
@@ -624,7 +627,9 @@ class EcpP224K1Raw(bignum_common.ModOperationCommon,
|
|||||||
|
|
||||||
@property
|
@property
|
||||||
def is_valid(self) -> bool:
|
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):
|
def arguments(self):
|
||||||
args = super().arguments()
|
args = super().arguments()
|
||||||
|
|||||||
Reference in New Issue
Block a user