Lines Matching defs:group
19 int EC_GROUP_check_named_curve(const EC_GROUP *group, int nist_only,
25 if (group == NULL) {
38 nid = ossl_ec_curve_nid_from_params(group, ctx);
46 int EC_GROUP_check(const EC_GROUP *group, BN_CTX *ctx)
53 return EC_GROUP_check_named_curve(group, 1, ctx) >= 0 ? 1 : 0;
60 if (group == NULL || group->meth == NULL) {
66 if ((group->meth->flags & EC_FLAGS_CUSTOM_CURVE) != 0)
78 if (!EC_GROUP_check_discriminant(group, ctx)) {
84 if (group->generator == NULL) {
88 if (EC_POINT_is_on_curve(group, group->generator, ctx) <= 0) {
94 if ((point = EC_POINT_new(group)) == NULL)
96 order = EC_GROUP_get0_order(group);
104 if (!EC_POINT_mul(group, point, order, NULL, NULL, ctx))
106 if (!EC_POINT_is_at_infinity(group, point)) {