shithub: drawterm-fdroid

ref: 0818148b0432a1b11d2feb72cca47156a603e884
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);
	}