GNUnet  0.11.x
Data Fields
DVKeyState Struct Reference

Structure of the key material used to encrypt backchannel messages. More...

Collaboration diagram for DVKeyState:
[legend]

Data Fields

gcry_cipher_hd_t cipher
 State of our block cipher. More...
 
struct {
   struct GNUNET_CRYPTO_AuthKey   hmac_key
 Key used for HMAC calculations (via GNUNET_CRYPTO_hmac()). More...
 
   char   aes_key [256/8]
 Symmetric key to use for encryption. More...
 
   char   aes_ctr [128/8]
 Counter value to use during setup. More...
 
material
 Actual key material. More...
 

Detailed Description

Structure of the key material used to encrypt backchannel messages.

Definition at line 4277 of file gnunet-service-tng.c.

Field Documentation

◆ cipher

gcry_cipher_hd_t DVKeyState::cipher

State of our block cipher.

Definition at line 4282 of file gnunet-service-tng.c.

Referenced by dv_decrypt(), dv_encrypt(), dv_key_clean(), and dv_setup_key_state_from_km().

◆ hmac_key

struct GNUNET_CRYPTO_AuthKey DVKeyState::hmac_key

Key used for HMAC calculations (via GNUNET_CRYPTO_hmac()).

Definition at line 4292 of file gnunet-service-tng.c.

Referenced by dv_hmac().

◆ aes_key

char DVKeyState::aes_key[256/8]

Symmetric key to use for encryption.

Definition at line 4297 of file gnunet-service-tng.c.

Referenced by dv_setup_key_state_from_km().

◆ aes_ctr

char DVKeyState::aes_ctr[128/8]

Counter value to use during setup.

Definition at line 4302 of file gnunet-service-tng.c.

Referenced by dv_setup_key_state_from_km().

◆ material

struct { ... } DVKeyState::material

Actual key material.

Referenced by dv_hmac(), dv_key_clean(), and dv_setup_key_state_from_km().


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