OpenVPN
|
internal structure similar to struct key that holds key information but is not represented on wire and can be changed/extended More...
#include <crypto.h>
Data Fields | |
uint8_t | cipher [MAX_CIPHER_KEY_LENGTH] |
Key material for cipher operations. | |
int | cipher_size |
Number of bytes set in the cipher key material. | |
uint8_t | hmac [MAX_HMAC_KEY_LENGTH] |
Key material for HMAC operations. | |
int | hmac_size |
Number of bytes set in the HMac key material. | |
uint16_t | epoch |
the epoch of the key. | |
internal structure similar to struct key that holds key information but is not represented on wire and can be changed/extended
uint8_t key_parameters::cipher[MAX_CIPHER_KEY_LENGTH] |
Key material for cipher operations.
Definition at line 164 of file crypto.h.
Referenced by epoch_test_derive_data_key(), and key_parameters_from_key().
int key_parameters::cipher_size |
Number of bytes set in the cipher key material.
Definition at line 167 of file crypto.h.
Referenced by epoch_test_derive_data_key(), and key_parameters_from_key().
uint16_t key_parameters::epoch |
the epoch of the key.
Only defined/non zero if key parameters represent a data channel epoch key parameters. Other uses of this struct leave this zero.
Definition at line 178 of file crypto.h.
Referenced by init_key_bi_ctx_recv(), and init_key_bi_ctx_send().
uint8_t key_parameters::hmac[MAX_HMAC_KEY_LENGTH] |
Key material for HMAC operations.
Definition at line 170 of file crypto.h.
Referenced by epoch_test_derive_data_key(), and key_parameters_from_key().
int key_parameters::hmac_size |
Number of bytes set in the HMac key material.
Definition at line 173 of file crypto.h.
Referenced by epoch_test_derive_data_key(), and key_parameters_from_key().