Borrow the DH KDF User Keying Material pointer and return its length (deprecated).

Synopsis

Declared in <openssl/dh.h>

[[deprecated]]
int
EVP_PKEY_CTX_get0_dh_kdf_ukm(
    EVP_PKEY_CTX* ctx,
    unsigned char** ukm);
Warning

Deprecated. Use of this entity is allowed but discouraged.

Return Value

UKM length in bytes on success, or a non‐positive value on failure.

Parameters

Name

Description

ctx

Key context configured for a DH KDF operation.

ukm

Receives an internal pointer to the UKM bytes (do not free).

Created with MrDocs