unction. Since the SSHKDF output length is variable, calling <a href="../man3/EVP_KDF_CTX_get_kdf_size.html">EVP_KDF_CTX_get_kdf_size(3)</a> to obtain the requisite length is not meaningful. The caller must allocate a buffer of the desired length, and pass that buffer to the <a href="../man3/EVP_KDF_derive.html">EVP_KDF_derive(3)</a> function along with the desired length.</p>

<h1 id="EXAMPLES">EXAMPLES</h1>

<p>This example derives an 8 byte IV using SHA-256 with a 1K &quot;key&quot; and appropriate &quot