Lines Matching refs:felem

79 typedef limb felem[4];  typedef
138 static const felem gmul[2][16][3] = {
239 felem g_pre_comp[2][16][3];
310 static void bin28_to_felem(felem out, const u8 in[28]) in bin28_to_felem()
318 static void felem_to_bin28(u8 out[28], const felem in) in felem_to_bin28()
330 static int BN_to_felem(felem out, const BIGNUM *bn) in BN_to_felem()
349 static BIGNUM *felem_to_BN(BIGNUM *out, const felem in) in felem_to_BN()
367 static void felem_one(felem out) in felem_one()
375 static void felem_assign(felem out, const felem in) in felem_assign()
384 static void felem_sum(felem out, const felem in) in felem_sum()
394 static void felem_diff(felem out, const felem in) in felem_diff()
443 static void felem_diff_128_64(widefelem out, const felem in) in felem_diff_128_64()
468 static void felem_scalar(felem out, const limb scalar) in felem_scalar()
492 static void felem_square(widefelem out, const felem in) in felem_square()
508 static void felem_mul(widefelem out, const felem in1, const felem in2) in felem_mul()
526 static void felem_reduce(felem out, const widefelem in) in felem_reduce()
590 static void felem_square_reduce(felem out, const felem in) in felem_square_reduce()
597 static void felem_mul_reduce(felem out, const felem in1, const felem in2) in felem_mul_reduce()
608 static void felem_contract(felem out, const felem in) in felem_contract()
665 static void felem_neg(felem out, const felem in) in felem_neg()
679 static limb felem_is_zero(const felem in) in felem_is_zero()
701 static void felem_inv(felem out, const felem in) in felem_inv()
703 felem ftmp, ftmp2, ftmp3, ftmp4; in felem_inv()
785 static void copy_conditional(felem out, const felem in, limb icopy) in copy_conditional()
818 point_double(felem x_out, felem y_out, felem z_out, in point_double()
819 const felem x_in, const felem y_in, const felem z_in) in point_double()
822 felem delta, gamma, beta, alpha, ftmp, ftmp2; in point_double()
906 static void point_add(felem x3, felem y3, felem z3, in point_add()
907 const felem x1, const felem y1, const felem z1, in point_add()
908 const int mixed, const felem x2, const felem y2, in point_add()
909 const felem z2) in point_add()
911 felem ftmp, ftmp2, ftmp3, ftmp4, ftmp5, x_out, y_out, z_out; in point_add()
1104 const felem pre_comp[][3], felem out[3]) in select_point()
1138 static void batch_mul(felem x_out, felem y_out, felem z_out, in batch_mul()
1141 const int mixed, const felem pre_comp[][17][3], in batch_mul()
1142 const felem g_pre_comp[2][16][3]) in batch_mul()
1147 felem nq[3], tmp[4]; in batch_mul()
1181 memcpy(nq, tmp, 3 * sizeof(felem)); in batch_mul()
1220 memcpy(nq, tmp, 3 * sizeof(felem)); in batch_mul()
1336 felem z1, z2, x_in, y_in, x_out, y_out; in ossl_ec_GFp_nistp224_point_get_affine_coordinates()
1372 static void make_points_affine(size_t num, felem points[ /* num */ ][3], in make_points_affine()
1373 felem tmp_felems[ /* num+1 */ ]) in make_points_affine()
1381 sizeof(felem), in make_points_affine()
1417 felem (*pre_comp)[17][3] = NULL; in ossl_ec_GFp_nistp224_points_mul()
1418 felem *tmp_felems = NULL; in ossl_ec_GFp_nistp224_points_mul()
1422 felem x_in, y_in, z_in, x_out, y_out, z_out; in ossl_ec_GFp_nistp224_points_mul()
1424 const felem(*g_pre_comp)[16][3] = NULL; in ossl_ec_GFp_nistp224_points_mul()
1441 g_pre_comp = (const felem(*)[16][3])pre->g_pre_comp; in ossl_ec_GFp_nistp224_points_mul()
1482 OPENSSL_malloc(sizeof(felem) * (num_points * 17 + 1)); in ossl_ec_GFp_nistp224_points_mul()
1573 mixed, (const felem(*)[17][3])pre_comp, g_pre_comp); in ossl_ec_GFp_nistp224_points_mul()
1578 NULL, mixed, (const felem(*)[17][3])pre_comp, NULL); in ossl_ec_GFp_nistp224_points_mul()
1608 felem tmp_felems[32]; in ossl_ec_GFp_nistp224_precompute_mult()