libsodium: Needed for Dnscrypto-proxy Release 1.3.0
[tomato.git] / release / src / router / libsodium / src / libsodium / crypto_sign / ed25519 / ref10 / ge_p3_dbl.c
blob0d8a05915d306b050dbf98e4ab5cbb915816d6e0
1 #include "ge.h"
3 /*
4 r = 2 * p
5 */
7 void ge_p3_dbl(ge_p1p1 *r,const ge_p3 *p)
9 ge_p2 q;
10 ge_p3_to_p2(&q,p);
11 ge_p2_dbl(r,&q);