OpenVPN
Data Fields

Container for unidirectional cipher and HMAC key material. More...

#include <crypto.h>

Data Fields

uint8_t cipher [MAX_CIPHER_KEY_LENGTH]
 Key material for cipher operations. More...
 
uint8_t hmac [MAX_HMAC_KEY_LENGTH]
 Key material for HMAC operations. More...
 

Detailed Description

Container for unidirectional cipher and HMAC key material.

Definition at line 149 of file crypto.h.

Field Documentation

◆ cipher

uint8_t key::cipher[MAX_CIPHER_KEY_LENGTH]

Key material for cipher operations.

Definition at line 151 of file crypto.h.

Referenced by generate_key_random(), init_crypto_options(), init_key_ctx(), key_ctx_bi_defined(), key_is_zero(), key_print(), read_key(), write_key(), and xor_key2().

◆ hmac

uint8_t key::hmac[MAX_HMAC_KEY_LENGTH]

Key material for HMAC operations.

Definition at line 153 of file crypto.h.

Referenced by generate_key_random(), init_crypto_options(), init_key_contexts(), init_key_ctx(), key_ctx_bi_defined(), key_print(), read_key(), write_key(), and xor_key2().


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