summaryrefslogtreecommitdiff
path: root/libs/libaxolotl/src/curve25519/ed25519/ge_p3_to_p2.c
blob: d26a09f7ec7f27ea73eea1044af32481e228d886 (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);
}