Get a pointer to the ECDH KDF user keying material on a key context (deprecated).

Synopsis

Declared in <openssl/ec.h>

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

Deprecated. Use of this entity is allowed but discouraged.

Return Value

Length of the UKM in bytes, or a negative value on failure.

Parameters

Name

Description

ctx

Key‐exchange context configured for ECDH with a KDF.

ukm

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

Created with MrDocs