[#EVP_PKEY_CTX_set0_dh_kdf_oid] = EVP_PKEY_CTX_set0_dh_kdf_oid :mrdocs: Set the X9.42 KDF OID for DH key derivation, transferring ownership of `oid.` == Synopsis Declared in `<openssl/dh.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int EVP_PKEY_CTX_set0_dh_kdf_oid( xref:EVP_PKEY_CTX.adoc[EVP_PKEY_CTX]* ctx, xref:ASN1_OBJECT.adoc[ASN1_OBJECT]* oid); ---- == Return Value 1 on success, or a non‐positive value on failure. == Parameters [cols="1,4"] |=== | Name| Description | *ctx* | Key context configured for a DHX KDF / derive operation. | *oid* | ASN.1 object identifying the CEK algorithm; `ctx` takes ownership. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#