n error: EC_GROUP_copy(), EC_GROUP_set_generator(), EC_GROUP_check(), EC_GROUP_check_discriminant(), EC_GROUP_get_trinomial_basis() and EC_GROUP_get_pentanomial_basis().</p>

<p>EC_GROUP_dup() returns a pointer to the duplicated curve, or NULL on error.</p>

<p>EC_GROUP_method_of() returns the EC_METHOD implementation in use for the given curve or NULL on error.</p>

<p>EC_GROUP_get0_generator() returns the generator for the given curve or NULL on error.</p>

<p>EC_GROUP_get_order() returns 0 if the order i