Set the ECDH key-derivation output length for a key-exchange context.
Declared in <openssl/ec.h>
int
EVP_PKEY_CTX_set_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 | Desired derived-key length in bytes. |