Get the message digest used for DH key‐derivation (KDF) on a key context.
Synopsis
Declared in <openssl/dh.h>
int
EVP_PKEY_CTX_get_dh_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 context configured for a DH KDF operation. |
md |
Receives a pointer to the digest method (do not free). |
Created with MrDocs