GNUnet 0.22.2
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 368 of file gnunet-communicator-udp.c.

Field Documentation

◆ next

struct KeyCacheEntry* KeyCacheEntry::next

Kept in a DLL.

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

◆ prev

struct KeyCacheEntry* KeyCacheEntry::prev

Kept in a DLL.

Definition at line 378 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 387 of file gnunet-communicator-udp.c.

Referenced by kce_destroy(), and kce_generate().

◆ ss

struct SharedSecret* KeyCacheEntry::ss

Corresponding shared secret.

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

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

◆ sequence_number

uint32_t KeyCacheEntry::sequence_number

Sequence number used to derive this entry from master key.

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

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


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