OpenVPN
Data Fields
key_source Struct Reference

Container for one half of random material to be used in key method 2 data channel key generation. More...

#include <ssl_common.h>

Data Fields

uint8_t pre_master [48]
 Random used for master secret generation, provided only by client OpenVPN peer. More...
 
uint8_t random1 [32]
 Seed used for master secret generation, provided by both client and server. More...
 
uint8_t random2 [32]
 Seed used for key expansion, provided by both client and server. More...
 

Detailed Description

Container for one half of random material to be used in key method 2 data channel key generation.

Definition at line 116 of file ssl_common.h.

Field Documentation

◆ pre_master

uint8_t key_source::pre_master[48]

Random used for master secret generation, provided only by client OpenVPN peer.

Definition at line 117 of file ssl_common.h.

Referenced by generate_key_expansion_openvpn_prf(), key_source2_randomize_write(), key_source2_read(), and key_source_print().

◆ random1

uint8_t key_source::random1[32]

Seed used for master secret generation, provided by both client and server.

Definition at line 120 of file ssl_common.h.

Referenced by generate_key_expansion_openvpn_prf(), key_source2_randomize_write(), key_source2_read(), and key_source_print().

◆ random2

uint8_t key_source::random2[32]

Seed used for key expansion, provided by both client and server.

Definition at line 123 of file ssl_common.h.

Referenced by generate_key_expansion_openvpn_prf(), key_source2_randomize_write(), key_source2_read(), and key_source_print().


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