Set the X9.42 KDF OID for DH key derivation, transferring ownership of oid.
Declared in <openssl/dh.h>
int
EVP_PKEY_CTX_set0_dh_kdf_oid(
EVP_PKEY_CTX* ctx,
ASN1_OBJECT* oid);
1 on success, or a non-positive value on failure.
| Name | Description |
|---|---|
| ctx | Key context configured for a DHX KDF / derive operation. |
| oid | ASN.1 object identifying the CEK algorithm; ctx takes ownership. |