Mbed OS Reference
Loading...
Searching...
No Matches
mbedtls_ssl_key_set Struct Reference

The data structure holding the cryptographic material (key and IV) used for record protection in TLS 1.3. More...

#include <ssl_internal.h>

Data Fields

unsigned char client_write_key [32]
 
unsigned char server_write_key [32]
 
unsigned char client_write_iv [16]
 
unsigned char server_write_iv [16]
 
size_t key_len
 
size_t iv_len
 

Detailed Description

The data structure holding the cryptographic material (key and IV) used for record protection in TLS 1.3.

Definition at line 406 of file ssl_internal.h.

Field Documentation

◆ client_write_key

unsigned char client_write_key[ 32]

The key for client->server records.

Definition at line 409 of file ssl_internal.h.

◆ server_write_key

unsigned char server_write_key[ 32]

The key for server->client records.

Definition at line 411 of file ssl_internal.h.

◆ client_write_iv

unsigned char client_write_iv[ 16]

The IV for client->server records.

Definition at line 413 of file ssl_internal.h.

◆ server_write_iv

unsigned char server_write_iv[ 16]

The IV for server->client records.

Definition at line 415 of file ssl_internal.h.

◆ key_len

size_t key_len

The length of client_write_key and server_write_key, in Bytes.

Definition at line 417 of file ssl_internal.h.

◆ iv_len

size_t iv_len

The length of client_write_iv and server_write_iv, in Bytes.

Definition at line 419 of file ssl_internal.h.