Fix maximum cannonical value
Signed-off-by: Gabor Mezei <gabor.mezei@arm.com>
This commit is contained in:
parent
e4710ae9ed
commit
fffd6d9ded
1 changed files with 2 additions and 2 deletions
|
@ -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"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue