Use lower case hex number

Signed-off-by: Gabor Mezei <gabor.mezei@arm.com>
This commit is contained in:
Gabor Mezei 2023-03-01 16:50:00 +01:00
parent 620f0dc850
commit 931fd646ff
No known key found for this signature in database
GPG Key ID: FEE76C0CF8C6267D

@ -99,11 +99,11 @@ class EcpP224R1Raw(bignum_common.ModOperationCommon,
# Generate an overflow during reduction
("00000000000000000000000000010000000070000000002000001000"
"FFFFFFFFFFFF9FFFFFFFFFE00000EFFF000070000000002000001003"),
"ffffffffffff9fffffffffe00000efff000070000000002000001003"),
# Generate an underflow during reduction
("00000001000000000000000000000000000000000000000000000000"
"00000000000DC0000000000000000001000000010000000100000003"),
"00000000000dc0000000000000000001000000010000000100000003"),
# First 8 number generated by random.getrandbits(448) - seed(2,2)
("da94e3e8ab73738fcf1822ffbc6887782b491044d5e341245c6e4337"
@ -140,6 +140,7 @@ class EcpP224R1Raw(bignum_common.ModOperationCommon,
@property
def is_valid(self) -> bool:
return True
class EcpP521R1Raw(bignum_common.ModOperationCommon,
EcpTarget):
"""Test cases for ecp quasi_reduction()."""