Skip to content

Commit

Permalink
[Script] Fix secp256r1 prime number
Browse files Browse the repository at this point in the history
  • Loading branch information
smlu committed Nov 30, 2023
1 parent 072660f commit bbe1eaa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/ec.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
secp256r1 = EllipticCurve(
'secp256r1',
# Field characteristic.
p=0xfffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f,
p=0xffffffff00000001000000000000000000000000ffffffffffffffffffffffff,
# Curve coefficients.
a=0xffffffff00000001000000000000000000000000fffffffffffffffffffffffc,
b=0x5ac635d8aa3a93e7b3ebbd55769886bc651d06b0cc53b0f63bce3c3e27d2604b,
Expand Down

0 comments on commit bbe1eaa

Please sign in to comment.