• Home
  • Raw
  • Download

Lines Matching refs:fe

63 typedef uint64_t fe[NLIMBS];  typedef
68 typedef uint32_t fe[NLIMBS]; typedef
99 static void fe_from_montgomery(fe x) { in fe_from_montgomery()
103 static void fe_from_generic(fe out, const EC_FELEM *in) { in fe_from_generic()
107 static void fe_to_generic(EC_FELEM *out, const fe in) { in fe_to_generic()
122 static void fe_inv(fe out, const fe in) { in fe_inv()
123 fe ftmp, ftmp2; in fe_inv()
125 fe e2, e4, e8, e16, e32, e64; in fe_inv()
208 static void point_double(fe x_out, fe y_out, fe z_out, in point_double()
209 const fe x_in, const fe y_in, const fe z_in) { in point_double()
210 fe delta, gamma, beta, ftmp, ftmp2, tmptmp, alpha, fourbeta; in point_double()
262 static void point_add(fe x3, fe y3, fe z3, const fe x1, in point_add()
263 const fe y1, const fe z1, const int mixed, in point_add()
264 const fe x2, const fe y2, const fe z2) { in point_add()
265 fe x_out, y_out, z_out; in point_add()
270 fe z1z1; fe_sqr(z1z1, z1); in point_add()
272 fe u1, s1, two_z1z2; in point_add()
275 fe z2z2; fe_sqr(z2z2, z2); in point_add()
301 fe u2; fe_mul(u2, x2, z1z1); in point_add()
304 fe h; fe_sub(h, u2, u1); in point_add()
312 fe z1z1z1; fe_mul(z1z1z1, z1, z1z1); in point_add()
315 fe s2; fe_mul(s2, y2, z1z1z1); in point_add()
318 fe r; in point_add()
330 fe i; in point_add()
335 fe j; fe_mul(j, h, i); in point_add()
338 fe v; fe_mul(v, u1, i); in point_add()
349 fe s1j; in point_add()
399 static const fe g_pre_comp[2][16][3] = {
553 static const fe g_pre_comp[2][16][3] = {
715 const fe pre_comp[/*size*/][3], in select_point()
716 fe out[3]) { in select_point()
717 OPENSSL_memset(out, 0, sizeof(fe) * 3); in select_point()
739 static void batch_mul(fe x_out, fe y_out, fe z_out, in batch_mul()
741 const fe p_pre_comp[17][3]) { in batch_mul()
743 fe nq[3] = {{0},{0},{0}}, ftmp, tmp[3]; in batch_mul()
838 fe z1, z2; in ec_GFp_nistp256_point_get_affine_coordinates()
849 fe x; in ec_GFp_nistp256_point_get_affine_coordinates()
856 fe y; in ec_GFp_nistp256_point_get_affine_coordinates()
868 fe x1, y1, z1, x2, y2, z2; in ec_GFp_nistp256_add()
883 fe x, y, z; in ec_GFp_nistp256_dbl()
897 fe p_pre_comp[17][3]; in ec_GFp_nistp256_points_mul()
898 fe x_out, y_out, z_out; in ec_GFp_nistp256_points_mul()
927 (const fe (*) [3])p_pre_comp); in ec_GFp_nistp256_points_mul()
941 fe p_pre_comp[1 << (P256_WSIZE_PUBLIC-1)][3]; in ec_GFp_nistp256_point_mul_public()
945 fe p2[3]; in ec_GFp_nistp256_point_mul_public()
960 fe ret[3] = {{0},{0},{0}}; in ec_GFp_nistp256_point_mul_public()
993 fe *y = &p_pre_comp[idx][1], tmp; in ec_GFp_nistp256_point_mul_public()
1025 fe Z2_mont; in ec_GFp_nistp256_cmp_x_coordinate()
1029 fe r_Z2; in ec_GFp_nistp256_cmp_x_coordinate()
1033 fe X; in ec_GFp_nistp256_cmp_x_coordinate()