GNUnet  0.18.1
KeyCacheEntry Struct Reference

Pre-generated "kid" code (key and IV identification code) to quickly derive master key for a struct UDPBox. More...

Collaboration diagram for KeyCacheEntry:
[legend]

Data Fields

struct KeyCacheEntrynext
 Kept in a DLL. More...
 
struct KeyCacheEntryprev
 Kept in a DLL. More...
 
struct GNUNET_ShortHashCode kid
 Key and IV identification code. More...
 
struct SharedSecretss
 Corresponding shared secret. More...
 
uint32_t sequence_number
 Sequence number used to derive this entry from master key. More...
 

Detailed Description

Pre-generated "kid" code (key and IV identification code) to quickly derive master key for a struct UDPBox.

Definition at line 396 of file gnunet-communicator-udp.c.

Field Documentation

◆ next

struct KeyCacheEntry* KeyCacheEntry::next

Kept in a DLL.

Definition at line 401 of file gnunet-communicator-udp.c.

◆ prev

struct KeyCacheEntry* KeyCacheEntry::prev

Kept in a DLL.

Definition at line 406 of file gnunet-communicator-udp.c.

◆ kid

struct GNUNET_ShortHashCode KeyCacheEntry::kid

Key and IV identification code.

KDF applied to an acknowledged base key and a sequence number. Sequence numbers must be used monotonically increasing up to the maximum specified in struct UDPAck. Without further struct UDPAcks, the sender must fall back to sending handshakes!

Definition at line 406 of file gnunet-communicator-udp.c.

Referenced by kce_destroy(), and kce_generate().

◆ ss

struct SharedSecret* KeyCacheEntry::ss

Corresponding shared secret.

Definition at line 420 of file gnunet-communicator-udp.c.

Referenced by decrypt_box(), decrypt_rekey(), kce_destroy(), kce_generate(), secret_destroy(), and sock_read().

◆ sequence_number

uint32_t KeyCacheEntry::sequence_number

Sequence number used to derive this entry from master key.

Definition at line 425 of file gnunet-communicator-udp.c.

Referenced by consider_ss_ack(), decrypt_box(), decrypt_rekey(), and kce_generate().


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