aboutsummaryrefslogtreecommitdiff
path: root/src/crypto/crypto_ops_builder/ref10/ge_p3_dbl.c
blob: 0d8a05915d306b050dbf98e4ab5cbb915816d6e0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
#include "ge.h"

/*
r = 2 * p
*/

void ge_p3_dbl(ge_p1p1 *r,const ge_p3 *p)
{
  ge_p2 q;
  ge_p3_to_p2(&q,p);
  ge_p2_dbl(r,&q);
}