EVP_PKEY_CTX_get0_dh_kdf_oid

Return the X9.42 KDF OID currently configured on a DH key context.

Synopsis

Declared in <openssl/dh.h>

int
EVP_PKEY_CTX_get0_dh_kdf_oid(
    EVP_PKEY_CTX* ctx,
    ASN1_OBJECT** oid);

Return Value

1 on success, or a non-positive value on failure.

Parameters

NameDescription
ctxKey context configured for a DH KDF operation.
oidReceives an internal ASN1_OBJECT pointer (do not free).