OpenVPN
|
Container for one set of cipher and/or HMAC contexts. More...
#include <crypto.h>
Data Fields | |
cipher_ctx_t * | cipher |
Generic cipher context. More... | |
hmac_ctx_t * | hmac |
Generic HMAC context. More... | |
uint8_t | implicit_iv [OPENVPN_MAX_IV_LENGTH] |
The implicit part of the IV. More... | |
size_t | implicit_iv_len |
The length of implicit_iv. More... | |
cipher_ctx_t* key_ctx::cipher |
Generic cipher context.
Definition at line 164 of file crypto.h.
Referenced by free_key_ctx(), init_implicit_iv(), init_key_ctx(), key_ctx_update_implicit_iv(), openvpn_decrypt(), openvpn_decrypt_aead(), openvpn_decrypt_v1(), openvpn_encrypt(), openvpn_encrypt_aead(), openvpn_encrypt_v1(), read_control_auth(), test_crypto(), tls_crypt_unwrap(), tls_crypt_v2_extract_client_key(), tls_crypt_v2_unwrap_client_key(), tls_crypt_v2_wrap_client_key(), and tls_crypt_wrap().
hmac_ctx_t* key_ctx::hmac |
Generic HMAC context.
Definition at line 165 of file crypto.h.
Referenced by free_key_ctx(), generate_auth_token(), init_key_ctx(), openvpn_decrypt_v1(), openvpn_encrypt_v1(), swap_hmac(), tls_crypt_unwrap(), tls_crypt_v2_unwrap_client_key(), tls_crypt_v2_wrap_client_key(), tls_crypt_wrap(), and verify_auth_token().
uint8_t key_ctx::implicit_iv[OPENVPN_MAX_IV_LENGTH] |
The implicit part of the IV.
Definition at line 166 of file crypto.h.
Referenced by init_implicit_iv(), key_ctx_update_implicit_iv(), openvpn_decrypt_aead(), openvpn_encrypt_aead(), and test_crypto().
size_t key_ctx::implicit_iv_len |
The length of implicit_iv.
Definition at line 168 of file crypto.h.
Referenced by free_key_ctx(), init_implicit_iv(), key_ctx_update_implicit_iv(), openvpn_decrypt_aead(), openvpn_encrypt_aead(), and test_crypto().