Lines Matching defs:group
504 /* Cannot do anything until we know the group */
554 /* Cannot do anything until we know the group */
1589 * The group may be stored in a ASN.1 encoded private key in one of two
1590 * ways: as a "named group", which is reconstituted by ASN.1 object ID
1591 * or explicit group parameters encoded into the key blob. Only the
1592 * "named group" case sets the group NID for us, but we can figure
1611 /* Use the group with the NID attached */
2858 sshkey_ec_validate_public(const EC_GROUP *group, const EC_POINT *public)
2873 if (EC_METHOD_get_field_type(EC_GROUP_method_of(group)) !=
2878 if (EC_POINT_is_at_infinity(group, public))
2890 if (EC_GROUP_get_order(group, order, bnctx) != 1 ||
2891 EC_POINT_get_affine_coordinates_GFp(group, public,
2901 if ((nq = EC_POINT_new(group)) == NULL) {
2905 if (EC_POINT_mul(group, nq, NULL, public, order, bnctx) != 1) {
2909 if (EC_POINT_is_at_infinity(group, nq) != 1)
2967 sshkey_dump_ec_point(const EC_GROUP *group, const EC_POINT *point)
2986 if (EC_METHOD_get_field_type(EC_GROUP_method_of(group)) !=
2988 fprintf(stderr, "%s: group is not a prime field\n", __func__);
2991 if (EC_POINT_get_affine_coordinates_GFp(group, point, x, y,