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

Name

Description

ctx

Key context configured for a DH KDF operation.

oid

Receives an internal ASN1_OBJECT pointer (do not free).

Created with MrDocs