shithub: riscv

ref: ec60da4961b4acff96631e7b99c90a0f4500dbed
dir: /sys/src/libauthsrv/ed448.mp/

View raw version
# Edwards Curve Ed448-Goldilocks

# x^2+y^2 = 1-39081x^2y^2
ed448_curve(p,a,d,x,y) {
	p = 2^448 - 2^224 - 1;
	a = 1;
	d = -39081;
	x = 117812161263436946737282484343310064665180535357016373416879082147939404277809514858788439644911793978499419995990477371552926308078495;
	y = 19;
}