add gp setup script for curve25519 (not Ed25519!)
This commit is contained in:
parent
761dd37e1f
commit
e6bb15b589
6
gp-scripts/curve25519
Normal file
6
gp-scripts/curve25519
Normal file
@ -0,0 +1,6 @@
|
||||
q = 2^255-19
|
||||
E = ellinit(Mod([0, 486662, 0, 1, 0], q), Mod(1, q))
|
||||
u = Mod(9, q)
|
||||
v = sqrt(u^3 + 486662*u^2 + u)
|
||||
g = [u, v]
|
||||
o = 2^252 + 27742317777372353535851937790883648493
|
Loading…
Reference in New Issue
Block a user