1
0

ge_p1p1_to_p2.c 165 B

123456789101112
  1. #include "ge.h"
  2. /*
  3. r = p
  4. */
  5. extern void ge_p1p1_to_p2(ge_p2 *r,const ge_p1p1 *p)
  6. {
  7. fe_mul(r->X,p->X,p->T);
  8. fe_mul(r->Y,p->Y,p->Z);
  9. fe_mul(r->Z,p->Z,p->T);
  10. }