Fix maximum cannonical value

Signed-off-by: Gabor Mezei <[email protected]>
This commit is contained in:
Gabor Mezei
2023-03-09 13:43:15 +01:00
parent e4710ae9ed
commit fffd6d9ded
+2 -2
View File
@@ -163,8 +163,8 @@ class EcpP256R1Raw(bignum_common.ModOperationCommon,
"ffffffff00000001000000000000000000000000fffffffffffffffffffffffe", "ffffffff00000001000000000000000000000000fffffffffffffffffffffffe",
# Maximum canonical P256 multiplication result # Maximum canonical P256 multiplication result
("ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff" ("fffffffe00000002fffffffe0000000100000001fffffffe00000001fffffffc"
"ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"), "00000003fffffffcfffffffffffffffffffffffc000000000000000000000004"),
# Generate an overflow during reduction # Generate an overflow during reduction
("0000000000000000000000010000000000000000000000000000000000000000" ("0000000000000000000000010000000000000000000000000000000000000000"