Lines Matching defs:group

79     const EC_GROUP *group;      /* parent EC_GROUP object */
96 static EC_PRE_COMP *ec_pre_comp_new(const EC_GROUP *group)
100 if (!group)
108 ret->group = group;
330 int ec_wNAF_mul(const EC_GROUP *group, EC_POINT *r, const BIGNUM *scalar,
359 if (group->meth != r->meth) {
365 return EC_POINT_set_to_infinity(group, r);
369 if (group->meth != points[i]->meth) {
382 generator = EC_GROUP_get0_generator(group);
391 EC_EX_DATA_get_data(group->extra_data, ec_pre_comp_dup,
395 && (EC_POINT_cmp(group, generator, pre_comp->points[0], ctx) ==
591 *v = EC_POINT_new(group);
602 if (!(tmp = EC_POINT_new(group)))
622 if (!EC_POINT_dbl(group, tmp, val_sub[i][0], ctx))
626 (group, val_sub[i][j], val_sub[i][j - 1], tmp, ctx))
634 if (!EC_POINTs_make_affine(group, num_val, val, ctx))
642 if (!EC_POINT_dbl(group, r, r, ctx))
659 if (!EC_POINT_invert(group, r, ctx))
673 (group, r, r, val_sub[i][digit >> 1], ctx))
682 if (!EC_POINT_set_to_infinity(group, r))
686 if (!EC_POINT_invert(group, r, ctx))
741 int ec_wNAF_precompute_mult(EC_GROUP *group, BN_CTX *ctx)
753 EC_EX_DATA_free_data(&group->extra_data, ec_pre_comp_dup,
756 if ((pre_comp = ec_pre_comp_new(group)) == NULL)
759 generator = EC_GROUP_get0_generator(group);
776 if (!EC_GROUP_get_order(group, order, ctx))
814 if ((var[i] = EC_POINT_new(group)) == NULL) {
820 if (!(tmp_point = EC_POINT_new(group)) || !(base = EC_POINT_new(group))) {
832 if (!EC_POINT_dbl(group, tmp_point, base, ctx))
842 if (!EC_POINT_add(group, *var, tmp_point, *(var - 1), ctx))
857 if (!EC_POINT_dbl(group, base, tmp_point, ctx))
860 if (!EC_POINT_dbl(group, base, base, ctx))
866 if (!EC_POINTs_make_affine(group, num, points, ctx))
869 pre_comp->group = group;
877 if (!EC_EX_DATA_set_data(&group->extra_data, pre_comp,
905 int ec_wNAF_have_precompute_mult(const EC_GROUP *group)
908 (group->extra_data, ec_pre_comp_dup, ec_pre_comp_free,