Set the output length in bytes of the DH key‐derivation function.

Synopsis

Declared in <openssl/dh.h>

int
EVP_PKEY_CTX_set_dh_kdf_outlen(
    EVP_PKEY_CTX* ctx,
    int len);

Return Value

1 on success, or a non‐positive value on failure.

Parameters

Name

Description

ctx

Key context configured for a DH KDF operation.

len

Desired KDF output length in bytes.

Created with MrDocs