shithub: drawterm-fdroid

ref: 807168fe7239d1940a63544d014887c61f19b540
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);
	}