• Home
  • Raw
  • Download

Lines Matching refs:fe

842 typedef uint64_t fe[NLIMBS];  typedef
848 typedef uint32_t fe[NLIMBS]; typedef
873 static void fe_sqr(fe out, const fe in) { in fe_sqr()
877 static void fe_tobytes(uint8_t out[NBYTES], const fe in) { in fe_tobytes()
883 static void fe_frombytes(fe out, const uint8_t in[NBYTES]) { in fe_frombytes()
892 static void fe_from_montgomery(fe x) { in fe_from_montgomery()
899 static int BN_to_fe(fe out, const BIGNUM *bn) { in BN_to_fe()
908 static BIGNUM *fe_to_BN(BIGNUM *out, const fe in) { in fe_to_BN()
920 static void fe_inv(fe out, const fe in) { in fe_inv()
921 fe ftmp, ftmp2; in fe_inv()
923 fe e2, e4, e8, e16, e32, e64; in fe_inv()
1006 static void point_double(fe x_out, fe y_out, fe z_out, in point_double()
1007 const fe x_in, const fe y_in, const fe z_in) { in point_double()
1008 fe delta, gamma, beta, ftmp, ftmp2, tmptmp, alpha, fourbeta; in point_double()
1060 static void point_add(fe x3, fe y3, fe z3, const fe x1, in point_add()
1061 const fe y1, const fe z1, const int mixed, in point_add()
1062 const fe x2, const fe y2, const fe z2) { in point_add()
1063 fe x_out, y_out, z_out; in point_add()
1068 fe z1z1; fe_sqr(z1z1, z1); in point_add()
1070 fe u1, s1, two_z1z2; in point_add()
1073 fe z2z2; fe_sqr(z2z2, z2); in point_add()
1099 fe u2; fe_mul(u2, x2, z1z1); in point_add()
1102 fe h; fe_sub(h, u2, u1); in point_add()
1110 fe z1z1z1; fe_mul(z1z1z1, z1, z1z1); in point_add()
1113 fe s2; fe_mul(s2, y2, z1z1z1); in point_add()
1116 fe r; in point_add()
1128 fe i; in point_add()
1133 fe j; fe_mul(j, h, i); in point_add()
1136 fe v; fe_mul(v, u1, i); in point_add()
1147 fe s1j; in point_add()
1197 static const fe g_pre_comp[2][16][3] = {
1351 static const fe g_pre_comp[2][16][3] = {
1513 const fe pre_comp[/*size*/][3], in select_point()
1514 fe out[3]) { in select_point()
1515 OPENSSL_memset(out, 0, sizeof(fe) * 3); in select_point()
1537 static void batch_mul(fe x_out, fe y_out, fe z_out, in batch_mul()
1539 const fe p_pre_comp[17][3]) { in batch_mul()
1541 fe nq[3] = {{0},{0},{0}}, ftmp, tmp[3]; in batch_mul()
1633 fe x, y, z1, z2; in ec_GFp_nistp256_point_get_affine_coordinates()
1678 fe p_pre_comp[17][3]; in ec_GFp_nistp256_points_mul()
1679 fe x_out, y_out, z_out; in ec_GFp_nistp256_points_mul()
1710 (const fe (*) [3])p_pre_comp); in ec_GFp_nistp256_points_mul()