summaryrefslogtreecommitdiff
path: root/ext/ed25519-amd64-asm/fe25519_neg.c
blob: 235b209dd98380f68794a068ae54ee0f4a1b83c9 (plain)
1
2
3
4
5
6
7
8
#include "fe25519.h"

void fe25519_neg(fe25519 *r, const fe25519 *x)
{
  fe25519 t;
  fe25519_setint(&t,0);
  fe25519_sub(r,&t,x);
}