Lines Matching refs:felem
133 typedef limb felem[NLIMBS]; typedef
143 static void bin66_to_felem(felem out, const u8 in[66]) in bin66_to_felem()
160 static void felem_to_bin66(u8 out[66], const felem in) in felem_to_bin66()
175 static int BN_to_felem(felem out, const BIGNUM *bn) in BN_to_felem()
194 static BIGNUM *felem_to_BN(BIGNUM *out, const felem in) in felem_to_BN()
206 static void felem_one(felem out) in felem_one()
219 static void felem_assign(felem out, const felem in) in felem_assign()
233 static void felem_sum64(felem out, const felem in) in felem_sum64()
247 static void felem_scalar(felem out, const felem in, limb scalar) in felem_scalar()
261 static void felem_scalar64(felem out, limb scalar) in felem_scalar64()
295 static void felem_neg(felem out, const felem in) in felem_neg()
319 static void felem_diff64(felem out, const felem in) in felem_diff64()
345 static void felem_diff_128_64(largefelem out, const felem in) in felem_diff_128_64()
404 static void felem_square_ref(largefelem out, const felem in) in felem_square_ref()
406 felem inx2, inx4; in felem_square_ref()
488 static void felem_mul_ref(largefelem out, const felem in1, const felem in2) in felem_mul_ref()
490 felem in2x2; in felem_mul_ref()
603 static void felem_reduce(felem out, const largefelem in) in felem_reduce()
679 static void felem_square_wrapper(largefelem out, const felem in);
680 static void felem_mul_wrapper(largefelem out, const felem in1, const felem in2);
682 static void (*felem_square_p)(largefelem out, const felem in) =
684 static void (*felem_mul_p)(largefelem out, const felem in1, const felem in2) =
687 void p521_felem_square(largefelem out, const felem in);
688 void p521_felem_mul(largefelem out, const felem in1, const felem in2);
710 static void felem_square_wrapper(largefelem out, const felem in) in felem_square_wrapper()
716 static void felem_mul_wrapper(largefelem out, const felem in1, const felem in2) in felem_mul_wrapper()
729 static void felem_square_reduce(felem out, const felem in) in felem_square_reduce()
736 static void felem_mul_reduce(felem out, const felem in1, const felem in2) in felem_mul_reduce()
751 static void felem_inv(felem out, const felem in) in felem_inv()
753 felem ftmp, ftmp2, ftmp3, ftmp4; in felem_inv()
851 static const felem kPrime = {
863 static limb felem_is_zero(const felem in) in felem_is_zero()
865 felem ftmp; in felem_is_zero()
941 static void felem_contract(felem out, const felem in) in felem_contract()
1087 point_double(felem x_out, felem y_out, felem z_out, in point_double()
1088 const felem x_in, const felem y_in, const felem z_in) in point_double()
1091 felem delta, gamma, beta, alpha, ftmp, ftmp2; in point_double()
1185 static void copy_conditional(felem out, const felem in, limb mask) in copy_conditional()
1205 static void point_add(felem x3, felem y3, felem z3, in point_add()
1206 const felem x1, const felem y1, const felem z1, in point_add()
1207 const int mixed, const felem x2, const felem y2, in point_add()
1208 const felem z2) in point_add()
1210 felem ftmp, ftmp2, ftmp3, ftmp4, ftmp5, ftmp6, x_out, y_out, z_out; in point_add()
1429 static const felem gmul[16][3] = {
1546 const felem pre_comp[][3], felem out[3]) in select_point()
1581 static void batch_mul(felem x_out, felem y_out, felem z_out, in batch_mul()
1584 const int mixed, const felem pre_comp[][17][3], in batch_mul()
1585 const felem g_pre_comp[16][3]) in batch_mul()
1589 felem nq[3], tmp[4]; in batch_mul()
1623 memcpy(nq, tmp, 3 * sizeof(felem)); in batch_mul()
1653 memcpy(nq, tmp, 3 * sizeof(felem)); in batch_mul()
1666 felem g_pre_comp[16][3];
1838 felem z1, z2, x_in, y_in, x_out, y_out; in ossl_ec_GFp_nistp521_point_get_affine_coordinates()
1875 static void make_points_affine(size_t num, felem points[][3], in make_points_affine()
1876 felem tmp_felems[]) in make_points_affine()
1884 sizeof(felem), in make_points_affine()
1919 felem (*pre_comp)[17][3] = NULL; in ossl_ec_GFp_nistp521_points_mul()
1920 felem *tmp_felems = NULL; in ossl_ec_GFp_nistp521_points_mul()
1925 felem x_in, y_in, z_in, x_out, y_out, z_out; in ossl_ec_GFp_nistp521_points_mul()
1927 felem(*g_pre_comp)[3] = NULL; in ossl_ec_GFp_nistp521_points_mul()
1947 g_pre_comp = (felem(*)[3]) gmul; in ossl_ec_GFp_nistp521_points_mul()
2034 memcpy(pre_comp[i][1][0], x_out, sizeof(felem)); in ossl_ec_GFp_nistp521_points_mul()
2035 memcpy(pre_comp[i][1][1], y_out, sizeof(felem)); in ossl_ec_GFp_nistp521_points_mul()
2036 memcpy(pre_comp[i][1][2], z_out, sizeof(felem)); in ossl_ec_GFp_nistp521_points_mul()
2079 mixed, (const felem(*)[17][3])pre_comp, in ossl_ec_GFp_nistp521_points_mul()
2080 (const felem(*)[3])g_pre_comp); in ossl_ec_GFp_nistp521_points_mul()
2085 NULL, mixed, (const felem(*)[17][3])pre_comp, NULL); in ossl_ec_GFp_nistp521_points_mul()
2115 felem tmp_felems[16]; in ossl_ec_GFp_nistp521_precompute_mult()