Set the TLS1-PRF secret on a key context (copies sec).
Declared in <openssl/kdf.h>
int
EVP_PKEY_CTX_set1_tls1_prf_secret(
EVP_PKEY_CTX* pctx,
unsigned char const* sec,
int seclen);
1 on success, or 0 on failure.
| Name | Description |
|---|---|
| pctx | Context configured for TLS1-PRF. |
| sec | Secret octets to copy. |
| seclen | Length of sec in bytes. |