Remove unnecessary check
Signed-off-by: Werner Lewis <werner.lewis@arm.com>
This commit is contained in:
parent
6baf12b18d
commit
63653b9b0a
1 changed files with 0 additions and 2 deletions
|
@ -692,8 +692,6 @@ def mpi_modmul_case_generate() -> None:
|
||||||
for mod, description in moduli:
|
for mod, description in moduli:
|
||||||
n = bignum_common.hex_to_int(mod)
|
n = bignum_common.hex_to_int(mod)
|
||||||
mod_read = "{:x}".format(n)
|
mod_read = "{:x}".format(n)
|
||||||
if mod_read != mod.lower():
|
|
||||||
raise ValueError("Read modulus not equal to input.")
|
|
||||||
case_count = 3 if n < 5 else 4
|
case_count = 3 if n < 5 else 4
|
||||||
cases = {} # type: Dict[int, int]
|
cases = {} # type: Dict[int, int]
|
||||||
i = 0
|
i = 0
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue