blob: b9f3d4e4b4d5431f19af86e2fabbcbb31027c903 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
#include "crypto_additions.h"
#include "ge.h"
/*
return r = -p
*/
void ge_neg(ge_p3* r, const ge_p3 *p)
{
fe_neg(r->X, p->X);
fe_copy(r->Y, p->Y);
fe_copy(r->Z, p->Z);
fe_neg(r->T, p->T);
}
|