Split out mbedtls_ecp_mod_p448_raw()
Switch testing over to using the generic raw functions. Signed-off-by: Paul Elliott <paul.elliott@arm.com>
This commit is contained in:
parent
b4df176610
commit
a2e48f751b
4 changed files with 17 additions and 45 deletions
|
@ -784,8 +784,8 @@ class EcpP448Raw(bignum_common.ModOperationCommon,
|
|||
EcpTarget):
|
||||
"""Test cases for ECP P448 fast reduction."""
|
||||
symbol = "-"
|
||||
test_function = "ecp_mod_p448"
|
||||
test_name = "ecp_mod_p448"
|
||||
test_function = "ecp_mod_p_generic_raw"
|
||||
test_name = "ecp_mod_p448_raw"
|
||||
input_style = "fixed"
|
||||
arity = 1
|
||||
dependencies = ["MBEDTLS_ECP_DP_CURVE448_ENABLED"]
|
||||
|
@ -873,3 +873,7 @@ class EcpP448Raw(bignum_common.ModOperationCommon,
|
|||
@property
|
||||
def is_valid(self) -> bool:
|
||||
return True
|
||||
|
||||
def arguments(self):
|
||||
args = super().arguments()
|
||||
return ["MBEDTLS_ECP_DP_CURVE448"] + args
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue