File: ge_p3_to_p2.c

package info (click to toggle)
python-axolotl-curve25519 0.4.1.post2-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 680 kB
  • sloc: ansic: 5,207; python: 34; makefile: 4
file content (12 lines) | stat: -rw-r--r-- 149 bytes parent folder | download | duplicates (45)
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);
}