Lines Matching refs:fe
192 static void fe_frombytes(fe *h, const uint8_t *s) { in fe_frombytes()
226 static void fe_tobytes(uint8_t s[32], const fe *f) { in fe_tobytes()
267 static void fe_0(fe *h) { in fe_0()
268 OPENSSL_memset(h, 0, sizeof(fe)); in fe_0()
276 static void fe_1(fe *h) { in fe_1()
277 OPENSSL_memset(h, 0, sizeof(fe)); in fe_1()
307 static void fe_add(fe_loose *h, const fe *f, const fe *g) { in fe_add()
335 static void fe_sub(fe_loose *h, const fe *f, const fe *g) { in fe_sub()
376 static void fe_carry(fe *h, const fe_loose* f) { in fe_carry()
437 static void fe_mul_ltt(fe_loose *h, const fe *f, const fe *g) { in fe_mul_ltt()
441 static void fe_mul_llt(fe_loose *h, const fe_loose *f, const fe *g) { in fe_mul_llt()
445 static void fe_mul_ttt(fe *h, const fe *f, const fe *g) { in fe_mul_ttt()
449 static void fe_mul_tlt(fe *h, const fe_loose *f, const fe *g) { in fe_mul_tlt()
453 static void fe_mul_ttl(fe *h, const fe *f, const fe_loose *g) { in fe_mul_ttl()
457 static void fe_mul_tll(fe *h, const fe_loose *f, const fe_loose *g) { in fe_mul_tll()
507 static void fe_sq_tl(fe *h, const fe_loose *f) { in fe_sq_tl()
511 static void fe_sq_tt(fe *h, const fe *f) { in fe_sq_tt()
519 static void fe_cswap(fe *f, fe *g, uint64_t b) { in fe_cswap()
584 static void fe_mul121666(fe *h, const fe_loose *f) { in fe_mul121666()
611 static void fe_neg(fe_loose *h, const fe *f) { in fe_neg()
673 static void fe_frombytes(fe *h, const uint8_t *s) { in fe_frombytes()
732 static void fe_tobytes(uint8_t s[32], const fe *f) { in fe_tobytes()
773 static void fe_0(fe *h) { in fe_0()
774 OPENSSL_memset(h, 0, sizeof(fe)); in fe_0()
782 static void fe_1(fe *h) { in fe_1()
783 OPENSSL_memset(h, 0, sizeof(fe)); in fe_1()
828 static void fe_add(fe_loose *h, const fe *f, const fe *g) { in fe_add()
871 static void fe_sub(fe_loose *h, const fe *f, const fe *g) { in fe_sub()
937 static void fe_carry(fe *h, const fe_loose* f) { in fe_carry()
1061 static void fe_mul_ltt(fe_loose *h, const fe *f, const fe *g) { in fe_mul_ltt()
1065 static void fe_mul_llt(fe_loose *h, const fe_loose *f, const fe *g) { in fe_mul_llt()
1069 static void fe_mul_ttt(fe *h, const fe *f, const fe *g) { in fe_mul_ttt()
1073 static void fe_mul_tlt(fe *h, const fe_loose *f, const fe *g) { in fe_mul_tlt()
1077 static void fe_mul_ttl(fe *h, const fe *f, const fe_loose *g) { in fe_mul_ttl()
1081 static void fe_mul_tll(fe *h, const fe_loose *f, const fe_loose *g) { in fe_mul_tll()
1192 static void fe_sq_tl(fe *h, const fe_loose *f) { in fe_sq_tl()
1196 static void fe_sq_tt(fe *h, const fe *f) { in fe_sq_tt()
1204 static void fe_cswap(fe *f, fe *g, unsigned int b) { in fe_cswap()
1333 static void fe_mul121666(fe *h, const fe_loose *f) { in fe_mul121666()
1375 static void fe_neg(fe_loose *h, const fe *f) { in fe_neg()
1398 static void fe_copy(fe *h, const fe *f) { in fe_copy()
1399 OPENSSL_memmove(h, f, sizeof(fe)); in fe_copy()
1402 static void fe_copy_lt(fe_loose *h, const fe *f) { in fe_copy_lt()
1403 OPENSSL_COMPILE_ASSERT(sizeof(fe_loose) == sizeof(fe), in fe_copy_lt()
1405 OPENSSL_memmove(h, f, sizeof(fe)); in fe_copy_lt()
1413 static void fe_loose_invert(fe *out, const fe_loose *z) { in fe_loose_invert()
1414 fe t0; in fe_loose_invert()
1415 fe t1; in fe_loose_invert()
1416 fe t2; in fe_loose_invert()
1417 fe t3; in fe_loose_invert()
1471 static void fe_invert(fe *out, const fe *z) { in fe_invert()
1480 fe tight; in fe_isnonzero()
1491 static int fe_isnegative(const fe *f) { in fe_isnegative()
1497 static void fe_sq2_tt(fe *h, const fe *f) { in fe_sq2_tt()
1507 static void fe_pow22523(fe *out, const fe *z) { in fe_pow22523()
1508 fe t0; in fe_pow22523()
1509 fe t1; in fe_pow22523()
1510 fe t2; in fe_pow22523()
1568 fe recip; in x25519_ge_tobytes()
1569 fe x; in x25519_ge_tobytes()
1570 fe y; in x25519_ge_tobytes()
1580 fe recip; in ge_p3_tobytes()
1581 fe x; in ge_p3_tobytes()
1582 fe y; in ge_p3_tobytes()
1592 fe u; in x25519_ge_frombytes_vartime()
1594 fe v3; in x25519_ge_frombytes_vartime()
1595 fe vxx; in x25519_ge_frombytes_vartime()
1702 fe trX, trZ, trT; in ge_p2_dbl()
1703 fe t0; in ge_p2_dbl()
1728 fe trY, trZ, trT; in ge_madd()
1745 fe trY, trZ, trT; in ge_msub()
1762 fe trX, trY, trZ, trT; in x25519_ge_add()
1780 fe trX, trY, trZ, trT; in x25519_ge_sub()
1821 fe x, y; in x25519_ge_scalarmult_small_precomp()
1896 fe tmp; in table_select()
3084 fe x1, x2, z2, x3, z3, tmp0, tmp1; in x25519_scalar_mult_generic()
3228 fe zminusy_inv; in X25519_public_from_private()