☰
Debian Codegraph
@
0~20260614-1
/
/
crypto_mGnP
/
ed25519
/
ref10
/
ge_p3_dbl.c
☽
☼
crypto_mGnP/ed25519/ref10/ge_p3_dbl.c
code
plain
raw
LicenseRef-PD-hp
or
CC0-1.0
or
0BSD
or
MIT-0
OR
MIT
2022-2026 Kaushik Nath; 2011-2026 Daniel J. Bernstein; 2015 Tung Chou; 2011-2014 Peter Schwabe; 2011 Niels Duif; 2011 Tanja Lange; 2011 Bo-Yin Yang
debian/copyright
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
}