mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-03-25 04:43:32 +00:00
Use lower case hex number
Signed-off-by: Gabor Mezei <gabor.mezei@arm.com>
This commit is contained in:
parent
620f0dc850
commit
931fd646ff
@ -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()."""
|
||||
|
Loading…
x
Reference in New Issue
Block a user