blob: 6ebcd387d30977c4472a373ff66587d93043b1f6 [file] [log] [blame]
# NIST384 curve constants
from constants import *
SHA = 'sha384' # hash type to use with this curve
EFS = 48 # elliptic curve field size in bytes
CurveType = WEIERSTRASS
# field modulus
p = 39402006196394479212279040100143613805079739270465446667948293404245721771496870329047266088258938001861606973112319
r = 39402006196394479212279040100143613805079739270465446667946905279627659399113263569398956308152294913554433653942643 # group order
# elliptic curve
A = -3
B = 27580193559959705877849011840389048093056905856361568521428707301988689241309860865136260764883745107765439761230575
# generator point
Gx = 26247035095799689268623156744566981891852923491109213387815615900925518854738050089022388053975719786650872476732087
Gy = 8325710961489029985546751289520108179287853048861315594709205902480503199884419224438643760392947333078086511627871