OpenVPN
Data Fields
tls_key_cache Struct Reference

struct to cache TLS secrets for keying material exporter (RFC 5705). More...

#include <ssl_mbedtls.h>

Data Fields

unsigned char client_server_random [64]
 
mbedtls_tls_prf_types tls_prf_type
 
unsigned char master_secret [48]
 

Detailed Description

struct to cache TLS secrets for keying material exporter (RFC 5705).

Not needed if the library itself implements the keying material exporter.

The constants 64 and 48 are inherent to TLS 1.2. For TLS 1.3, it is not possible to obtain the exporter master secret from mbed TLS.

Definition at line 95 of file ssl_mbedtls.h.

Field Documentation

◆ client_server_random

unsigned char tls_key_cache::client_server_random[64]

Definition at line 96 of file ssl_mbedtls.h.

◆ master_secret

unsigned char tls_key_cache::master_secret[48]

Definition at line 98 of file ssl_mbedtls.h.

◆ tls_prf_type

mbedtls_tls_prf_types tls_key_cache::tls_prf_type

Definition at line 97 of file ssl_mbedtls.h.


The documentation for this struct was generated from the following file: