or of <b>group</b> and copies its value into <b>cofactor</b>. It fails in case <b>group</b> is not fully initialized or if the cofactor is not set (or set to zero).</p>

<p>The functions EC_GROUP_set_curve_name() and EC_GROUP_get_curve_name(), set and get the NID for the curve respectively (see <a href="../man3/EC_GROUP_new.html">EC_GROUP_new(3)</a>). If a curve does not have a NID associated with it, then EC_GROUP_get_curve_name will return NID_undef.</p>

<p>The asn1_flag value is used to determine whethe