aboutsummaryrefslogtreecommitdiffstats
path: root/jni/ed25519/ge_p3_to_p2.c
blob: e532a9e4cbcfa517d836ff2135f27029187b0856 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#include "ge.h"

/*
r = p
*/

extern void ge_p3_to_p2(ge_p2 *r,const ge_p3 *p)
{
  fe_copy(r->X,p->X);
  fe_copy(r->Y,p->Y);
  fe_copy(r->Z,p->Z);
}