ge25519_double.c 185 B

12345678
  1. #include "ge25519.h"
  2. void ge25519_double(ge25519_p3 *r, const ge25519_p3 *p)
  3. {
  4. ge25519_p1p1 grp1p1;
  5. ge25519_dbl_p1p1(&grp1p1, (ge25519_p2 *)p);
  6. ge25519_p1p1_to_p3(r, &grp1p1);
  7. }