EVP_PKEY_CTX_get0_dh_kdf_ukm

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

NameDescription
ctxKey context configured for a DH KDF operation.
ukmReceives an internal pointer to the UKM bytes (do not free).