OpenVPN
Data Fields
key_ctx Struct Reference

Container for one set of cipher and/or HMAC contexts. More...

#include <crypto.h>

Data Fields

cipher_ctx_tcipher
 Generic cipher context. More...
 
hmac_ctx_thmac
 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...
 

Detailed Description

Container for one set of cipher and/or HMAC contexts.

Definition at line 164 of file crypto.h.

Field Documentation

◆ cipher

cipher_ctx_t* key_ctx::cipher

◆ hmac

hmac_ctx_t* key_ctx::hmac

◆ implicit_iv

uint8_t key_ctx::implicit_iv[OPENVPN_MAX_IV_LENGTH]

The implicit part of the IV.

Definition at line 168 of file crypto.h.

Referenced by key_ctx_update_implicit_iv(), openvpn_decrypt_aead(), openvpn_encrypt_aead(), and test_crypto().

◆ implicit_iv_len

size_t key_ctx::implicit_iv_len

The length of implicit_iv.

Definition at line 170 of file crypto.h.

Referenced by free_key_ctx(), key_ctx_update_implicit_iv(), openvpn_decrypt_aead(), openvpn_encrypt_aead(), and test_crypto().


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