Debian Codegraph @

crypto_mGnP/ed25519/ref10/ge_p3_to_p2.c

raw
1 // linker define ge_p3_to_p2
2 // linker use fe_copy
3
4 #include "ge.h"
5
6 /*
7 r = p
8 */
9
10 void ge_p3_to_p2(ge_p2 *r,const ge_p3 *p)
11 {
12 fe_copy(r->X,p->X);
13 fe_copy(r->Y,p->Y);
14 fe_copy(r->Z,p->Z);
15 }