mirror of
https://github.com/yuzu-mirror/mbedtls.git
synced 2026-04-05 06:26:52 +00:00
Extend the unit tests for mbedtls_mpi_core_add_if() to also test mbedtls_mpi_core_add()
Signed-off-by: Tom Cosgrove <tom.cosgrove@arm.com>
This commit is contained in:
parent
af7d44b4d2
commit
eee0d6ce6b
2 changed files with 53 additions and 19 deletions
|
|
@ -144,12 +144,12 @@ class BignumCoreOperationArchSplit(BignumCoreOperation):
|
|||
yield cls(a_value, b_value, 32).create_test_case()
|
||||
yield cls(a_value, b_value, 64).create_test_case()
|
||||
|
||||
class BignumCoreAddIf(BignumCoreOperationArchSplit):
|
||||
"""Test cases for bignum core add if."""
|
||||
class BignumCoreAddAndAddIf(BignumCoreOperationArchSplit):
|
||||
"""Test cases for bignum core add and add-if."""
|
||||
count = 0
|
||||
symbol = "+"
|
||||
test_function = "mpi_core_add_if"
|
||||
test_name = "mbedtls_mpi_core_add_if"
|
||||
test_function = "mpi_core_add_and_add_if"
|
||||
test_name = "mpi_core_add_and_add_if"
|
||||
|
||||
def result(self) -> List[str]:
|
||||
result = self.int_a + self.int_b
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue