tor

The Tor anonymity network
git clone https://git.dasho.dev/tor.git
Log | Files | Refs | README | LICENSE

ge_p1p1_to_p2.c (165B)


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