Sets the generator and it's order/cofactor of a EC_GROUP object.
\param group EC_GROUP object
\param generator EC_POINT object with the generator.
\param order the order of the group generated by the generator.
\param cofactor the index of the sub-group generated by the generator
in the group of all points on the elliptic curve.
\return 1 on success and 0 if an error occured
Sets the generator and it's order/cofactor of a EC_GROUP object. \param group EC_GROUP object \param generator EC_POINT object with the generator. \param order the order of the group generated by the generator. \param cofactor the index of the sub-group generated by the generator in the group of all points on the elliptic curve. \return 1 on success and 0 if an error occured