mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-03-29 13:20:21 +00:00
Fix maximum cannonical value
Signed-off-by: Gabor Mezei <gabor.mezei@arm.com>
This commit is contained in:
parent
e4710ae9ed
commit
fffd6d9ded
@ -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…
x
Reference in New Issue
Block a user