Set the TLS1‐PRF secret on a key context (copies sec).

Synopsis

Declared in <openssl/kdf.h>

int
EVP_PKEY_CTX_set1_tls1_prf_secret(
    EVP_PKEY_CTX* pctx,
    unsigned char const* sec,
    int seclen);

Return Value

1 on success, or 0 on failure.

Parameters

Name

Description

pctx

Context configured for TLS1‐PRF.

sec

Secret octets to copy.

seclen

Length of sec in bytes.

Created with MrDocs