Lines Matching refs:EC_GROUP

30 EC_GROUP *ossl_ec_group_new_ex(OSSL_LIB_CTX *libctx, const char *propq,  in ossl_ec_group_new_ex()
33 EC_GROUP *ret; in ossl_ec_group_new_ex()
79 EC_GROUP *EC_GROUP_new(const EC_METHOD *meth) in EC_GROUP_new()
86 void EC_pre_comp_free(EC_GROUP *group) in EC_pre_comp_free()
123 void EC_GROUP_free(EC_GROUP *group) in EC_GROUP_free()
142 void EC_GROUP_clear_free(EC_GROUP *group) in EC_GROUP_clear_free()
162 int EC_GROUP_copy(EC_GROUP *dest, const EC_GROUP *src) in EC_GROUP_copy()
269 EC_GROUP *EC_GROUP_dup(const EC_GROUP *a) in EC_GROUP_dup()
271 EC_GROUP *t = NULL; in EC_GROUP_dup()
293 const EC_METHOD *EC_GROUP_method_of(const EC_GROUP *group) in EC_GROUP_method_of()
304 static int ec_precompute_mont_data(EC_GROUP *);
319 static int ec_guess_cofactor(EC_GROUP *group) { in ec_guess_cofactor()
367 int EC_GROUP_set_generator(EC_GROUP *group, const EC_POINT *generator, in EC_GROUP_set_generator()
437 const EC_POINT *EC_GROUP_get0_generator(const EC_GROUP *group) in EC_GROUP_get0_generator()
442 BN_MONT_CTX *EC_GROUP_get_mont_data(const EC_GROUP *group) in EC_GROUP_get_mont_data()
447 int EC_GROUP_get_order(const EC_GROUP *group, BIGNUM *order, BN_CTX *ctx) in EC_GROUP_get_order()
457 const BIGNUM *EC_GROUP_get0_order(const EC_GROUP *group) in EC_GROUP_get0_order()
462 int EC_GROUP_order_bits(const EC_GROUP *group) in EC_GROUP_order_bits()
467 int EC_GROUP_get_cofactor(const EC_GROUP *group, BIGNUM *cofactor, in EC_GROUP_get_cofactor()
479 const BIGNUM *EC_GROUP_get0_cofactor(const EC_GROUP *group) in EC_GROUP_get0_cofactor()
484 void EC_GROUP_set_curve_name(EC_GROUP *group, int nid) in EC_GROUP_set_curve_name()
493 int EC_GROUP_get_curve_name(const EC_GROUP *group) in EC_GROUP_get_curve_name()
498 const BIGNUM *EC_GROUP_get0_field(const EC_GROUP *group) in EC_GROUP_get0_field()
503 int EC_GROUP_get_field_type(const EC_GROUP *group) in EC_GROUP_get_field_type()
508 void EC_GROUP_set_asn1_flag(EC_GROUP *group, int flag) in EC_GROUP_set_asn1_flag()
513 int EC_GROUP_get_asn1_flag(const EC_GROUP *group) in EC_GROUP_get_asn1_flag()
518 void EC_GROUP_set_point_conversion_form(EC_GROUP *group, in EC_GROUP_set_point_conversion_form()
524 point_conversion_form_t EC_GROUP_get_point_conversion_form(const EC_GROUP in EC_GROUP_get_point_conversion_form()
530 size_t EC_GROUP_set_seed(EC_GROUP *group, const unsigned char *p, size_t len) in EC_GROUP_set_seed()
547 unsigned char *EC_GROUP_get0_seed(const EC_GROUP *group) in EC_GROUP_get0_seed()
552 size_t EC_GROUP_get_seed_len(const EC_GROUP *group) in EC_GROUP_get_seed_len()
557 int EC_GROUP_set_curve(EC_GROUP *group, const BIGNUM *p, const BIGNUM *a, in EC_GROUP_set_curve()
567 int EC_GROUP_get_curve(const EC_GROUP *group, BIGNUM *p, BIGNUM *a, BIGNUM *b, in EC_GROUP_get_curve()
578 int EC_GROUP_set_curve_GFp(EC_GROUP *group, const BIGNUM *p, const BIGNUM *a, in EC_GROUP_set_curve_GFp()
584 int EC_GROUP_get_curve_GFp(const EC_GROUP *group, BIGNUM *p, BIGNUM *a, in EC_GROUP_get_curve_GFp()
591 int EC_GROUP_set_curve_GF2m(EC_GROUP *group, const BIGNUM *p, const BIGNUM *a, in EC_GROUP_set_curve_GF2m()
597 int EC_GROUP_get_curve_GF2m(const EC_GROUP *group, BIGNUM *p, BIGNUM *a, in EC_GROUP_get_curve_GF2m()
605 int EC_GROUP_get_degree(const EC_GROUP *group) in EC_GROUP_get_degree()
614 int EC_GROUP_check_discriminant(const EC_GROUP *group, BN_CTX *ctx) in EC_GROUP_check_discriminant()
623 int EC_GROUP_cmp(const EC_GROUP *a, const EC_GROUP *b, BN_CTX *ctx) in EC_GROUP_cmp()
717 EC_POINT *EC_POINT_new(const EC_GROUP *group) in EC_POINT_new()
789 EC_POINT *EC_POINT_dup(const EC_POINT *a, const EC_GROUP *group) in EC_POINT_dup()
815 int EC_POINT_set_to_infinity(const EC_GROUP *group, EC_POINT *point) in EC_POINT_set_to_infinity()
829 int EC_POINT_set_Jprojective_coordinates_GFp(const EC_GROUP *group, in EC_POINT_set_Jprojective_coordinates_GFp()
846 int EC_POINT_get_Jprojective_coordinates_GFp(const EC_GROUP *group, in EC_POINT_get_Jprojective_coordinates_GFp()
864 int EC_POINT_set_affine_coordinates(const EC_GROUP *group, EC_POINT *point, in EC_POINT_set_affine_coordinates()
887 int EC_POINT_set_affine_coordinates_GFp(const EC_GROUP *group, in EC_POINT_set_affine_coordinates_GFp()
895 int EC_POINT_set_affine_coordinates_GF2m(const EC_GROUP *group, in EC_POINT_set_affine_coordinates_GF2m()
904 int EC_POINT_get_affine_coordinates(const EC_GROUP *group, in EC_POINT_get_affine_coordinates()
924 int EC_POINT_get_affine_coordinates_GFp(const EC_GROUP *group, in EC_POINT_get_affine_coordinates_GFp()
932 int EC_POINT_get_affine_coordinates_GF2m(const EC_GROUP *group, in EC_POINT_get_affine_coordinates_GF2m()
941 int EC_POINT_add(const EC_GROUP *group, EC_POINT *r, const EC_POINT *a, in EC_POINT_add()
956 int EC_POINT_dbl(const EC_GROUP *group, EC_POINT *r, const EC_POINT *a, in EC_POINT_dbl()
970 int EC_POINT_invert(const EC_GROUP *group, EC_POINT *a, BN_CTX *ctx) in EC_POINT_invert()
983 int EC_POINT_is_at_infinity(const EC_GROUP *group, const EC_POINT *point) in EC_POINT_is_at_infinity()
1003 int EC_POINT_is_on_curve(const EC_GROUP *group, const EC_POINT *point, in EC_POINT_is_on_curve()
1017 int EC_POINT_cmp(const EC_GROUP *group, const EC_POINT *a, const EC_POINT *b, in EC_POINT_cmp()
1032 int EC_POINT_make_affine(const EC_GROUP *group, EC_POINT *point, BN_CTX *ctx) in EC_POINT_make_affine()
1045 int EC_POINTs_make_affine(const EC_GROUP *group, size_t num, in EC_POINTs_make_affine()
1071 int EC_POINTs_mul(const EC_GROUP *group, EC_POINT *r, const BIGNUM *scalar, in EC_POINTs_mul()
1118 int EC_POINT_mul(const EC_GROUP *group, EC_POINT *r, const BIGNUM *g_scalar, in EC_POINT_mul()
1159 int EC_GROUP_precompute_mult(EC_GROUP *group, BN_CTX *ctx) in EC_GROUP_precompute_mult()
1171 int EC_GROUP_have_precompute_mult(const EC_GROUP *group) in EC_GROUP_have_precompute_mult()
1189 static int ec_precompute_mont_data(EC_GROUP *group) in ec_precompute_mont_data()
1230 int ossl_ec_group_simple_order_bits(const EC_GROUP *group) in ossl_ec_group_simple_order_bits()
1237 static int ec_field_inverse_mod_ord(const EC_GROUP *group, BIGNUM *r, in ec_field_inverse_mod_ord()
1298 int ossl_ec_group_do_inverse_ord(const EC_GROUP *group, BIGNUM *res, in ossl_ec_group_do_inverse_ord()
1317 int ossl_ec_point_blind_coordinates(const EC_GROUP *group, EC_POINT *p, in ossl_ec_point_blind_coordinates()
1326 int EC_GROUP_get_basis_type(const EC_GROUP *group) in EC_GROUP_get_basis_type()
1350 int EC_GROUP_get_trinomial_basis(const EC_GROUP *group, unsigned int *k) in EC_GROUP_get_trinomial_basis()
1368 int EC_GROUP_get_pentanomial_basis(const EC_GROUP *group, unsigned int *k1, in EC_GROUP_get_pentanomial_basis()
1405 static EC_GROUP *ec_group_explicit_to_named(const EC_GROUP *group, in ec_group_explicit_to_named()
1410 EC_GROUP *ret_group = NULL, *dup = NULL; in ec_group_explicit_to_named()
1465 ret_group = (EC_GROUP *)group; in ec_group_explicit_to_named()
1476 static EC_GROUP *group_new_from_name(const OSSL_PARAM *p, in group_new_from_name()
1506 int ossl_ec_group_set_params(EC_GROUP *group, const OSSL_PARAM params[]) in ossl_ec_group_set_params()
1541 EC_GROUP *EC_GROUP_new_from_params(const OSSL_PARAM params[], in EC_GROUP_new_from_params()
1545 EC_GROUP *group = NULL; in EC_GROUP_new_from_params()
1550 EC_GROUP *named_group = NULL; in EC_GROUP_new_from_params()
1766 OSSL_PARAM *EC_GROUP_to_params(const EC_GROUP *group, OSSL_LIB_CTX *libctx, in EC_GROUP_to_params()