Set the message digest used for the ECDH X9.63 KDF on a key context.
Synopsis
Declared in <openssl/ec.h>
int
EVP_PKEY_CTX_set_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 |
Digest method such as EVP_sha256(); ownership is not transferred. |
Created with MrDocs