Get the ECDH key-derivation output length from a key-exchange context.
Declared in <openssl/ec.h>
int
EVP_PKEY_CTX_get_ecdh_kdf_outlen(
EVP_PKEY_CTX* ctx,
int* len);
1 on success, or a negative value on failure.
| Name | Description |
|---|---|
| ctx | EVP_PKEY context configured for ECDH with a KDF. |
| len | Receives the derived-key length in bytes. |