 buffer.</p>

<h1 id="RETURN-VALUES">RETURN VALUES</h1>

<p>EC_KEY_new_ex(), EC_KEY_new(), EC_KEY_new_by_curve_name_ex(), EC_KEY_new_by_curve_name() and EC_KEY_dup() return a pointer to the newly created EC_KEY object, or NULL on error.</p>

<p>EC_KEY_get_flags() returns the flags associated with the EC_KEY object as an integer.</p>

<p>EC_KEY_copy() returns a pointer to the destination key, or NULL on error.</p>

<p>EC_KEY_get0_engine() returns a pointer to an ENGINE, or NULL if it wasn&#39;t set.</p>

<p>