OpenVPN
|
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. | |
uint8_t | hmac [MAX_HMAC_KEY_LENGTH] |
Key material for HMAC operations. | |
Container for unidirectional cipher and HMAC key material.
. / key, so it cannot be changed to add fields or change the length of fields
uint8_t key::cipher[MAX_CIPHER_KEY_LENGTH] |
Key material for cipher operations.
Definition at line 153 of file crypto.h.
Referenced by create_key(), epoch_data_key_derive(), generate_key_random(), init_crypto_options(), init_epoch_keys(), init_key_ctx(), key_ctx_bi_defined(), key_is_zero(), key_parameters_from_key(), key_print(), test_tls_crypt_setup(), tls_crypt_fail_invalid_key(), and xor_key2().
uint8_t key::hmac[MAX_HMAC_KEY_LENGTH] |
Key material for HMAC operations.
Definition at line 155 of file crypto.h.
Referenced by auth_token_fail_invalid_key(), create_key(), epoch_data_key_derive(), generate_key_random(), init_crypto_options(), init_key_contexts(), init_key_ctx(), key_ctx_bi_defined(), key_ctx_update_implicit_iv(), key_parameters_from_key(), key_print(), and xor_key2().