EVP_PKEY_CTX_get_dh_kdf_outlen

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

NameDescription
ctxKey context configured for a DH KDF operation.
lenReceives the current KDF output length.