session-android/libaxolotl/jni/ed25519/ge_p3_dbl.c

13 lines
131 B
C
Raw Normal View History

2014-06-24 19:59:22 +00:00
#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);
}