 reference count associated with the EC_KEY object.</p>

<p>EC_KEY_get0_engine() returns a handle to the ENGINE that has been set for this EC_KEY object.</p>

<p>EC_KEY_generate_key() generates a new public and private key for the supplied <i>eckey</i> object. <i>eckey</i> must have an EC_GROUP object associated with it before calling this function. The private key is a random integer (0 &lt; priv_key &lt; order, where <i>order</i> is the order of the EC_GROUP object). The public key is an EC_POINT on the c