Pre-generated "kid" code (key and IV identification code) to quickly derive master key for a struct UDPBox
.
More...
Data Fields | |
struct KeyCacheEntry * | next |
Kept in a DLL. More... | |
struct KeyCacheEntry * | prev |
Kept in a DLL. More... | |
struct GNUNET_ShortHashCode | kid |
Key and IV identification code. More... | |
struct SharedSecret * | ss |
Corresponding shared secret. More... | |
uint32_t | sequence_number |
Sequence number used to derive this entry from master key. More... | |
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.
struct KeyCacheEntry* KeyCacheEntry::next |
Kept in a DLL.
Definition at line 373 of file gnunet-communicator-udp.c.
struct KeyCacheEntry* KeyCacheEntry::prev |
Kept in a DLL.
Definition at line 378 of file gnunet-communicator-udp.c.
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 UDPAck
s, 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().
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().
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().