☰
Debian Codegraph
@
0.4.1.post2-3
/
/
curve
/
ed25519
/
additions
/
ge_neg.c
☽
☼
curve/ed25519/additions/ge_neg.c
code
plain
raw
GPL-3
2013-2015 Open Whisper Systems
debian/copyright
1
#include "crypto_additions.h"
2
#include "ge.h"
3
4
/*
5
return r = -p
6
*/
7
8
9
void ge_neg(ge_p3* r, const ge_p3 *p)
10
{
11
fe_neg(r->X, p->X);
12
fe_copy(r->Y, p->Y);
13
fe_copy(r->Z, p->Z);
14
fe_neg(r->T, p->T);
15
}