Set the HKDF input keying material (IKM) on a PKEY KDF context.
Declared in <openssl/kdf.h>
int
EVP_PKEY_CTX_set1_hkdf_key(
EVP_PKEY_CTX* ctx,
unsigned char const* key,
int keylen);
1 on success, or a negative value on error.
| Name | Description |
|---|---|
| ctx | Context configured for the HKDF KDF. |
| key | Input keying material bytes (copied). |
| keylen | Length of key in bytes. |