Lines Matching refs:group
135 int (*mul) (const EC_GROUP *group, EC_POINT *r, const BIGNUM *scalar,
138 int (*precompute_mult) (EC_GROUP *group, BN_CTX *);
139 int (*have_precompute_mult) (const EC_GROUP *group);
189 int (*blind_coordinates)(const EC_GROUP *group, EC_POINT *p, BN_CTX *ctx);
190 int (*ladder_pre)(const EC_GROUP *group,
193 int (*ladder_step)(const EC_GROUP *group,
196 int (*ladder_post)(const EC_GROUP *group,
199 int (*group_full_init)(EC_GROUP *group, const unsigned char *data);
294 EC_GROUP *group; member
328 const EC_GROUP *group) in ec_point_is_compat() argument
330 return group->meth == point->meth in ec_point_is_compat()
331 && (group->curve_name == 0 in ec_point_is_compat()
333 || group->curve_name == point->curve_name); in ec_point_is_compat()
344 void EC_pre_comp_free(EC_GROUP *group);
356 int ossl_ec_wNAF_mul(const EC_GROUP *group, EC_POINT *r, const BIGNUM *scalar,
359 int ossl_ec_wNAF_precompute_mult(EC_GROUP *group, BN_CTX *);
360 int ossl_ec_wNAF_have_precompute_mult(const EC_GROUP *group);
422 int ossl_ec_GFp_simple_blind_coordinates(const EC_GROUP *group, EC_POINT *p,
424 int ossl_ec_GFp_simple_ladder_pre(const EC_GROUP *group,
427 int ossl_ec_GFp_simple_ladder_step(const EC_GROUP *group,
430 int ossl_ec_GFp_simple_ladder_post(const EC_GROUP *group,
520 int ossl_ec_GFp_nistp224_group_init(EC_GROUP *group);
521 int ossl_ec_GFp_nistp224_group_set_curve(EC_GROUP *group, const BIGNUM *p,
524 int ossl_ec_GFp_nistp224_point_get_affine_coordinates(const EC_GROUP *group,
528 int ossl_ec_GFp_nistp224_mul(const EC_GROUP *group, EC_POINT *r,
532 int ossl_ec_GFp_nistp224_points_mul(const EC_GROUP *group, EC_POINT *r,
536 int ossl_ec_GFp_nistp224_precompute_mult(EC_GROUP *group, BN_CTX *ctx);
537 int ossl_ec_GFp_nistp224_have_precompute_mult(const EC_GROUP *group);
540 int ossl_ec_GFp_nistp256_group_init(EC_GROUP *group);
541 int ossl_ec_GFp_nistp256_group_set_curve(EC_GROUP *group, const BIGNUM *p,
544 int ossl_ec_GFp_nistp256_point_get_affine_coordinates(const EC_GROUP *group,
548 int ossl_ec_GFp_nistp256_mul(const EC_GROUP *group, EC_POINT *r,
552 int ossl_ec_GFp_nistp256_points_mul(const EC_GROUP *group, EC_POINT *r,
556 int ossl_ec_GFp_nistp256_precompute_mult(EC_GROUP *group, BN_CTX *ctx);
557 int ossl_ec_GFp_nistp256_have_precompute_mult(const EC_GROUP *group);
560 int ossl_ec_GFp_nistp384_group_init(EC_GROUP *group);
561 int ossl_ec_GFp_nistp384_group_set_curve(EC_GROUP *group, const BIGNUM *p,
564 int ossl_ec_GFp_nistp384_point_get_affine_coordinates(const EC_GROUP *group,
568 int ossl_ec_GFp_nistp384_mul(const EC_GROUP *group, EC_POINT *r,
572 int ossl_ec_GFp_nistp384_points_mul(const EC_GROUP *group, EC_POINT *r,
576 int ossl_ec_GFp_nistp384_precompute_mult(EC_GROUP *group, BN_CTX *ctx);
577 int ossl_ec_GFp_nistp384_have_precompute_mult(const EC_GROUP *group);
581 int ossl_ec_GFp_nistp521_group_init(EC_GROUP *group);
582 int ossl_ec_GFp_nistp521_group_set_curve(EC_GROUP *group, const BIGNUM *p,
585 int ossl_ec_GFp_nistp521_point_get_affine_coordinates(const EC_GROUP *group,
589 int ossl_ec_GFp_nistp521_mul(const EC_GROUP *group, EC_POINT *r,
593 int ossl_ec_GFp_nistp521_points_mul(const EC_GROUP *group, EC_POINT *r,
597 int ossl_ec_GFp_nistp521_precompute_mult(EC_GROUP *group, BN_CTX *ctx);
598 int ossl_ec_GFp_nistp521_have_precompute_mult(const EC_GROUP *group);
623 int ossl_ec_group_simple_order_bits(const EC_GROUP *group);
662 int ossl_ec_curve_nid_from_params(const EC_GROUP *group, BN_CTX *ctx);
759 int ossl_ec_scalar_mul_ladder(const EC_GROUP *group, EC_POINT *r,
763 int ossl_ec_point_blind_coordinates(const EC_GROUP *group, EC_POINT *p,
766 static ossl_inline int ec_point_ladder_pre(const EC_GROUP *group, in ec_point_ladder_pre() argument
770 if (group->meth->ladder_pre != NULL) in ec_point_ladder_pre()
771 return group->meth->ladder_pre(group, r, s, p, ctx); in ec_point_ladder_pre()
774 || !EC_POINT_dbl(group, r, s, ctx)) in ec_point_ladder_pre()
780 static ossl_inline int ec_point_ladder_step(const EC_GROUP *group, in ec_point_ladder_step() argument
784 if (group->meth->ladder_step != NULL) in ec_point_ladder_step()
785 return group->meth->ladder_step(group, r, s, p, ctx); in ec_point_ladder_step()
787 if (!EC_POINT_add(group, s, r, s, ctx) in ec_point_ladder_step()
788 || !EC_POINT_dbl(group, r, r, ctx)) in ec_point_ladder_step()
795 static ossl_inline int ec_point_ladder_post(const EC_GROUP *group, in ec_point_ladder_post() argument
799 if (group->meth->ladder_post != NULL) in ec_point_ladder_post()
800 return group->meth->ladder_post(group, r, s, p, ctx); in ec_point_ladder_post()