Get the message digest used for the ECDH X9.63 KDF on a key context.
Declared in <openssl/ec.h>
int
EVP_PKEY_CTX_get_ecdh_kdf_md(
EVP_PKEY_CTX* ctx,
EVP_MD const** md);
1 on success, or a non-positive value on failure.
| Name | Description |
|---|---|
| ctx | Key-exchange context configured for ECDH with a KDF. |
| md | Receives a pointer to the digest method (do not free). |