mkp224o/ed25519/amd64-64-24k/fe25519_neg.c

9 lines
133 B
C
Raw Normal View History

#include "fe25519.h"
void fe25519_neg(fe25519 *r, const fe25519 *x)
{
fe25519 t;
fe25519_setint(&t,0);
fe25519_sub(r,&t,x);
}