shithub: drawterm

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