Return the configured DH KDF output length in bytes.

Synopsis

Declared in <openssl/dh.h>

int
EVP_PKEY_CTX_get_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

Receives the current KDF output length.

Created with MrDocs