Lines Matching refs:sc25519
1 /* $OpenBSD: sc25519.c,v 1.1 2014/07/22 00:41:19 deraadt Exp $ */
6 * Copied from supercop-20130419/crypto_sign/ed25519/ref/sc25519.c
9 #include "sc25519.h"
28 static void reduce_add_sub(sc25519 *r)
49 static void barrett_reduce(sc25519 *r, const crypto_uint32 x[64])
100 void sc25519_from32bytes(sc25519 *r, const unsigned char x[32])
115 void sc25519_from64bytes(sc25519 *r, const unsigned char x[64])
123 void sc25519_from_shortsc(sc25519 *r, const shortsc25519 *x)
132 void sc25519_to32bytes(unsigned char r[32], const sc25519 *x)
138 int sc25519_iszero_vartime(const sc25519 *x)
146 int sc25519_isshort_vartime(const sc25519 *x)
154 int sc25519_lt_vartime(const sc25519 *x, const sc25519 *y)
165 void sc25519_add(sc25519 *r, const sc25519 *x, const sc25519 *y)
178 void sc25519_sub_nored(sc25519 *r, const sc25519 *x, const sc25519 *y)
191 void sc25519_mul(sc25519 *r, const sc25519 *x, const sc25519 *y)
212 void sc25519_mul_shortsc(sc25519 *r, const sc25519 *x, const shortsc25519 *y)
214 sc25519 t;
219 void sc25519_window3(signed char r[85], const sc25519 *s)
256 void sc25519_window5(signed char r[51], const sc25519 *s)
293 void sc25519_2interleave2(unsigned char r[127], const sc25519 *s1, const sc25519 *s2)