Remove unnecessary check

Signed-off-by: Werner Lewis <werner.lewis@arm.com>
This commit is contained in:
Werner Lewis 2022-10-19 13:37:12 +01:00
parent 6baf12b18d
commit 63653b9b0a

View File

@ -692,8 +692,6 @@ def mpi_modmul_case_generate() -> None:
for mod, description in moduli:
n = bignum_common.hex_to_int(mod)
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
cases = {} # type: Dict[int, int]
i = 0