|
static uint64_t | load_3 (const uint8_t *in) |
|
static uint64_t | load_4 (const uint8_t *in) |
|
static uint8_t | addcarryx_u25 (uint8_t c, uint32_t a, uint32_t b, uint32_t *low) |
|
static uint8_t | addcarryx_u26 (uint8_t c, uint32_t a, uint32_t b, uint32_t *low) |
|
static uint8_t | subborrow_u25 (uint8_t c, uint32_t a, uint32_t b, uint32_t *low) |
|
static uint8_t | subborrow_u26 (uint8_t c, uint32_t a, uint32_t b, uint32_t *low) |
|
static uint32_t | cmovznz32 (uint32_t t, uint32_t z, uint32_t nz) |
|
static void | fe_frombytes_impl (uint32_t h[10], const uint8_t *s) |
|
static void | fe_frombytes (fe *h, const uint8_t *s) |
|
static void | fe_freeze (uint32_t out[10], const uint32_t in1[10]) |
|
static void | fe_tobytes (uint8_t s[32], const fe *f) |
|
static void | fe_0 (fe *h) |
|
static void | fe_loose_0 (fe_loose *h) |
|
static void | fe_1 (fe *h) |
|
static void | fe_loose_1 (fe_loose *h) |
|
static void | fe_add_impl (uint32_t out[10], const uint32_t in1[10], const uint32_t in2[10]) |
|
static void | fe_add (fe_loose *h, const fe *f, const fe *g) |
|
static void | fe_sub_impl (uint32_t out[10], const uint32_t in1[10], const uint32_t in2[10]) |
|
static void | fe_sub (fe_loose *h, const fe *f, const fe *g) |
|
static void | fe_carry_impl (uint32_t out[10], const uint32_t in1[10]) |
|
static void | fe_carry (fe *h, const fe_loose *f) |
|
static void | fe_mul_impl (uint32_t out[10], const uint32_t in1[10], const uint32_t in2[10]) |
|
static void | fe_mul_ltt (fe_loose *h, const fe *f, const fe *g) |
|
static void | fe_mul_llt (fe_loose *h, const fe_loose *f, const fe *g) |
|
static void | fe_mul_ttt (fe *h, const fe *f, const fe *g) |
|
static void | fe_mul_tlt (fe *h, const fe_loose *f, const fe *g) |
|
static void | fe_mul_ttl (fe *h, const fe *f, const fe_loose *g) |
|
static void | fe_mul_tll (fe *h, const fe_loose *f, const fe_loose *g) |
|
static void | fe_sqr_impl (uint32_t out[10], const uint32_t in1[10]) |
|
static void | fe_sq_tl (fe *h, const fe_loose *f) |
|
static void | fe_sq_tt (fe *h, const fe *f) |
|
static void | fe_cswap (fe *f, fe *g, unsigned int b) |
|
static void | fe_mul_121666_impl (uint32_t out[10], const uint32_t in1[10]) |
|
static void | fe_mul121666 (fe *h, const fe_loose *f) |
|
static void | fe_neg_impl (uint32_t out[10], const uint32_t in2[10]) |
|
static void | fe_neg (fe_loose *h, const fe *f) |
|
static void | fe_cmov (fe_loose *f, const fe_loose *g, unsigned b) |
|
static void | fe_copy (fe *h, const fe *f) |
|
static void | fe_copy_lt (fe_loose *h, const fe *f) |
|
static void | fe_copy_ll (fe_loose *h, const fe_loose *f) |
|
static void | fe_loose_invert (fe *out, const fe_loose *z) |
|
static void | fe_invert (fe *out, const fe *z) |
|
static int | fe_isnonzero (const fe_loose *f) |
|
static int | fe_isnegative (const fe *f) |
|
static void | fe_sq2_tt (fe *h, const fe *f) |
|
static void | fe_pow22523 (fe *out, const fe *z) |
|
void | x25519_ge_tobytes (uint8_t s[32], const ge_p2 *h) |
|
void | ge_p3_tobytes (uint8_t s[32], const ge_p3 *h) |
|
int | x25519_ge_frombytes_vartime (ge_p3 *h, const uint8_t *s) |
|
void | ge_p2_0 (ge_p2 *h) |
|
void | ge_p3_0 (ge_p3 *h) |
|
void | ge_cached_0 (ge_cached *h) |
|
void | ge_precomp_0 (ge_precomp *h) |
|
static void | ge_p3_to_p2 (ge_p2 *r, const ge_p3 *p) |
|
void | x25519_ge_p3_to_cached (ge_cached *r, const ge_p3 *p) |
|
void | x25519_ge_p1p1_to_p2 (ge_p2 *r, const ge_p1p1 *p) |
|
void | x25519_ge_p1p1_to_p3 (ge_p3 *r, const ge_p1p1 *p) |
|
static void | ge_p1p1_to_cached (ge_cached *r, const ge_p1p1 *p) |
|
static void | ge_p2_dbl (ge_p1p1 *r, const ge_p2 *p) |
|
static void | ge_p3_dbl (ge_p1p1 *r, const ge_p3 *p) |
|
static void | ge_madd (ge_p1p1 *r, const ge_p3 *p, const ge_precomp *q) |
|
static void | ge_msub (ge_p1p1 *r, const ge_p3 *p, const ge_precomp *q) |
|
void | x25519_ge_add (ge_p1p1 *r, const ge_p3 *p, const ge_cached *q) |
|
void | x25519_ge_sub (ge_p1p1 *r, const ge_p3 *p, const ge_cached *q) |
|
static uint8_t | equal (signed char b, signed char c) |
|
static void | cmov (ge_precomp *t, const ge_precomp *u, uint8_t b) |
|
void | x25519_ge_scalarmult_small_precomp (ge_p3 *h, const uint8_t a[32], const uint8_t precomp_table[15 *2 *32]) |
|
static uint8_t | negative (signed char b) |
|
static void | table_select (ge_precomp *t, int pos, signed char b) |
|
void | x25519_ge_scalarmult_base (ge_p3 *h, const uint8_t *a) |
|
static void | cmov_cached (ge_cached *t, ge_cached *u, uint8_t b) |
|
void | x25519_ge_scalarmult (ge_p2 *r, const uint8_t *scalar, const ge_p3 *A) |
|
static void | slide (signed char *r, const uint8_t *a) |
|
void | ge_double_scalarmult_vartime (ge_p2 *r, const uint8_t *a, const ge_p3 *A, const uint8_t *b) |
|
void | x25519_sc_reduce (uint8_t s[64]) |
|
static void | sc_muladd (uint8_t *s, const uint8_t *a, const uint8_t *b, const uint8_t *c) |
|
static void | x25519_scalar_mult_generic (uint8_t out[32], const uint8_t scalar[32], const uint8_t point[32]) |
|
static void | x25519_scalar_mult (uint8_t out[32], const uint8_t scalar[32], const uint8_t point[32]) |
|
void | RandomBytes (void *buf, size_t nbytes) |
|
void | sc_random (uint8_t s[32]) |
|
void | x25519_ge_p2_to_p3 (ge_p3 *r, const ge_p2 *p) |
|