 EC_POINT in <i>eckey</i>.</p>

<p>EC_KEY_oct2priv() and EC_KEY_priv2oct() convert between the private key component of <i>eckey</i> and octet form. The octet form consists of the content octets of the <i>privateKey</i> OCTET STRING in an <i>ECPrivateKey</i> ASN.1 structure.</p>

<p>The function EC_KEY_priv2oct() must be supplied with a buffer long enough to store the octet form. The return value provides the number of octets stored. Calling the function with a NULL buffer will not perform the conversion bu