shithub: drawterm

ref: e1964307f2d3ca6cd9e31ed3299c2ab42bfb7a4e
dir: /libauthsrv/ed448.mpc/

View raw version
void ed448_curve(mpint *p, mpint *a, mpint *d, mpint *x, mpint *y){
	strtomp("FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF", nil, 16, p);
	mpassign(mpone, a);
	uitomp(39081UL, d);
	d->sign = -1;
	strtomp("297EA0EA2692FF1B4FAFF46098453A6A26ADF733245F065C3C59D0709CECFA96147EAAF3932D94C63D96C170033F4BA0C7F0DE840AED939F", nil, 16, x);
	uitomp(19UL, y);
	}