Correct the maximum canonical value in tests

Signed-off-by: Gabor Mezei <[email protected]>
This commit is contained in:
Gabor Mezei
2023-03-06 16:32:16 +01:00
parent 97803abd2a
commit 61ef3603eb
+2 -2
View File
@@ -93,8 +93,8 @@ class EcpP224R1Raw(bignum_common.ModOperationCommon,
"ffffffffffffffffffffffffffffffff000000000000000000000000",
# Maximum canonical P224 multiplication result
("ffffffffffffffffffffffffffffffffffffffffffffffffffffffff"
"ffffffffffffffffffffffffffffffffffffffffffffffffffffffff"),
("fffffffffffffffffffffffffffffffe000000000000000000000000"
"00000001000000000000000000000000000000000000000000000000"),
# Generate an overflow during reduction
("00000000000000000000000000010000000070000000002000001000"