Set the ECDH KDF user keying material, transferring ownership of ukm.

Synopsis

Declared in <openssl/ec.h>

int
EVP_PKEY_CTX_set0_ecdh_kdf_ukm(
    EVP_PKEY_CTX* ctx,
    unsigned char* ukm,
    int len);

Return Value

1 on success, or a negative value on failure.

Parameters

Name

Description

ctx

Key‐exchange context configured for ECDH with a KDF.

ukm

Buffer of UKM bytes; ownership transfers to ctx (freed with the context).

len

Length of ukm in bytes.

Created with MrDocs