Get the message digest used for the ECDH X9.63 KDF on a key context.

Synopsis

Declared in <openssl/ec.h>

int
EVP_PKEY_CTX_get_ecdh_kdf_md(
    EVP_PKEY_CTX* ctx,
    EVP_MD const** md);

Return Value

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

Parameters

Name

Description

ctx

Key‐exchange context configured for ECDH with a KDF.

md

Receives a pointer to the digest method (do not free).

Created with MrDocs