1
0

ge_p1p1_to_p3.c 191 B

12345678910111213
  1. #include "ge.h"
  2. /*
  3. r = p
  4. */
  5. extern void ge_p1p1_to_p3(ge_p3 *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. fe_mul(r->T,p->X,p->Y);
  11. }