algorithm&quot; in most cases, allowing either term to be used interchangeably. There are algorithms where the <i>key type</i> and the <i>algorithm</i> of the operations that use the keys are not the same, such as EC keys being used for ECDSA and ECDH operations.</p>

<p>Key types are given in two different manners:</p>

<dl>

<dt id="Legacy-NID-or-EVP_PKEY-type">Legacy NID or EVP_PKEY type</dt>
<dd>

<p>This is the <i>id</i> used with EVP_PKEY_CTX_new_id().</p>

<p>These are <b>EVP_PKEY_RSA</b>, <b>EVP_PKE