15 #define ge25519 crypto_sign_ed25519_ref_ge25519
16 #define ge25519_base crypto_sign_ed25519_ref_ge25519_base
17 #define ge25519_unpackneg_vartime crypto_sign_ed25519_ref_unpackneg_vartime
18 #define ge25519_pack crypto_sign_ed25519_ref_pack
19 #define ge25519_isneutral_vartime crypto_sign_ed25519_ref_isneutral_vartime
20 #define ge25519_double_scalarmult_vartime crypto_sign_ed25519_ref_double_scalarmult_vartime
21 #define ge25519_scalarmult_base crypto_sign_ed25519_ref_scalarmult_base
31 extern const ge25519 ge25519_base;
33 int ge25519_unpackneg_vartime(ge25519 *r,
const unsigned char p[32]);
35 void ge25519_pack(
unsigned char r[32],
const ge25519 *p);
37 int ge25519_isneutral_vartime(
const ge25519 *p);
39 void ge25519_double_scalarmult_vartime(ge25519 *r,
const ge25519 *p1,
const sc25519 *s1,
const ge25519 *p2,
const sc25519 *s2);
41 void ge25519_scalarmult_base(ge25519 *r,
const sc25519 *s);