Debian Codegraph @

crypto_mGnP/ed25519/ref10/ge_p3_dbl.c

raw
1 // linker define ge_p3_dbl
2 // linker use ge_p3_to_p2
3 // linker use ge_p2_dbl
4
5 #include "ge.h"
6
7 /*
8 r = 2 * p
9 */
10
11 void ge_p3_dbl(ge_p1p1 *r,const ge_p3 *p)
12 {
13 ge_p2 q;
14 ge_p3_to_p2(&q,p);
15 ge_p2_dbl(r,&q);
16 }