Lines Matching refs:felem

110 typedef limb felem[NLIMBS];  typedef
116 static void bin48_to_felem(felem out, const u8 in[48]) in bin48_to_felem()
128 static void felem_to_bin48(u8 out[48], const felem in) in felem_to_bin48()
141 static int BN_to_felem(felem out, const BIGNUM *bn) in BN_to_felem()
160 static BIGNUM *felem_to_BN(BIGNUM *out, const felem in) in felem_to_BN()
173 static void felem_one(felem out) in felem_one()
179 static void felem_assign(felem out, const felem in) in felem_assign()
181 memcpy(out, in, sizeof(felem)); in felem_assign()
185 static void felem_sum64(felem out, const felem in) in felem_sum64()
194 static void felem_scalar(felem out, const felem in, limb scalar) in felem_scalar()
203 static void felem_scalar64(felem out, limb scalar) in felem_scalar64()
227 static void felem_neg(felem out, const felem in) in felem_neg()
262 static void felem_diff64(felem out, const felem in) in felem_diff64()
295 static void felem_diff_128_64(widefelem out, const felem in) in felem_diff_128_64()
373 static void felem_square_ref(widefelem out, const felem in) in felem_square_ref()
375 felem inx2; in felem_square_ref()
420 static void felem_mul_ref(widefelem out, const felem in1, const felem in2) in felem_mul_ref()
506 static void felem_reduce(felem out, const widefelem in) in felem_reduce()
677 static void felem_square_wrapper(widefelem out, const felem in);
678 static void felem_mul_wrapper(widefelem out, const felem in1, const felem in2);
680 static void (*felem_square_p)(widefelem out, const felem in) =
682 static void (*felem_mul_p)(widefelem out, const felem in1, const felem in2) =
685 void p384_felem_square(widefelem out, const felem in);
686 void p384_felem_mul(widefelem out, const felem in1, const felem in2);
708 static void felem_square_wrapper(widefelem out, const felem in) in felem_square_wrapper()
714 static void felem_mul_wrapper(widefelem out, const felem in1, const felem in2) in felem_mul_wrapper()
727 static ossl_inline void felem_square_reduce(felem out, const felem in) in felem_square_reduce()
735 static ossl_inline 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, ftmp5, ftmp6; in felem_inv()
817 memcpy(out, ftmp, sizeof(felem)); in felem_inv()
828 static limb felem_is_zero(const felem in) in felem_is_zero()
855 static void felem_contract(felem out, const felem in) in felem_contract()
867 memcpy(tmp, in, sizeof(felem)); in felem_contract()
980 memcpy(out, tmp, sizeof(felem)); in felem_contract()
1002 point_double(felem x_out, felem y_out, felem z_out, in point_double()
1003 const felem x_in, const felem y_in, const felem z_in) in point_double()
1006 felem delta, gamma, beta, alpha, ftmp, ftmp2; in point_double()
1052 static void copy_conditional(felem out, const felem in, limb mask) in copy_conditional()
1071 static void point_add(felem x3, felem y3, felem z3, in point_add()
1072 const felem x1, const felem y1, const felem z1, in point_add()
1073 const int mixed, const felem x2, const felem y2, in point_add()
1074 const felem z2) in point_add()
1076 felem ftmp, ftmp2, ftmp3, ftmp4, ftmp5, ftmp6, x_out, y_out, z_out; in point_add()
1249 static const felem gmul[16][3] = {
1337 const felem pre_comp[][3], felem out[3]) in select_point()
1373 static void batch_mul(felem x_out, felem y_out, felem z_out, in batch_mul()
1376 const int mixed, const felem pre_comp[][17][3], in batch_mul()
1377 const felem g_pre_comp[16][3]) in batch_mul()
1381 felem nq[3], tmp[4]; in batch_mul()
1416 memcpy(nq, tmp, 3 * sizeof(felem)); in batch_mul()
1446 memcpy(nq, tmp, 3 * sizeof(felem)); in batch_mul()
1459 felem g_pre_comp[16][3];
1633 felem z1, z2, x_in, y_in, x_out, y_out; in ossl_ec_GFp_nistp384_point_get_affine_coordinates()
1670 static void make_points_affine(size_t num, felem points[][3], in make_points_affine()
1671 felem tmp_felems[]) in make_points_affine()
1679 sizeof(felem), in make_points_affine()
1710 felem (*pre_comp)[17][3] = NULL; in ossl_ec_GFp_nistp384_points_mul()
1711 felem *tmp_felems = NULL; in ossl_ec_GFp_nistp384_points_mul()
1716 felem x_in, y_in, z_in, x_out, y_out, z_out; in ossl_ec_GFp_nistp384_points_mul()
1718 felem(*g_pre_comp)[3] = NULL; in ossl_ec_GFp_nistp384_points_mul()
1738 g_pre_comp = (felem(*)[3]) gmul; in ossl_ec_GFp_nistp384_points_mul()
1825 memcpy(pre_comp[i][1][0], x_out, sizeof(felem)); in ossl_ec_GFp_nistp384_points_mul()
1826 memcpy(pre_comp[i][1][1], y_out, sizeof(felem)); in ossl_ec_GFp_nistp384_points_mul()
1827 memcpy(pre_comp[i][1][2], z_out, sizeof(felem)); in ossl_ec_GFp_nistp384_points_mul()
1865 mixed, (const felem(*)[17][3])pre_comp, in ossl_ec_GFp_nistp384_points_mul()
1866 (const felem(*)[3])g_pre_comp); in ossl_ec_GFp_nistp384_points_mul()
1871 NULL, mixed, (const felem(*)[17][3])pre_comp, NULL); in ossl_ec_GFp_nistp384_points_mul()
1901 felem tmp_felems[16]; in ossl_ec_GFp_nistp384_precompute_mult()