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. | |
| struct KeyCacheEntry * | prev |
| Kept in a DLL. | |
| struct GNUNET_ShortHashCode | kid |
| Key and IV identification code. | |
| struct SharedSecret * | ss |
| Corresponding shared secret. | |
| uint32_t | sequence_number |
| Sequence number used to derive this entry from master key. | |
Pre-generated "kid" code (key and IV identification code) to quickly derive master key for a struct UDPBox.
Definition at line 372 of file gnunet-communicator-udp.c.
| struct KeyCacheEntry* KeyCacheEntry::next |
Kept in a DLL.
Definition at line 377 of file gnunet-communicator-udp.c.
| struct KeyCacheEntry* KeyCacheEntry::prev |
Kept in a DLL.
Definition at line 382 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 UDPAcks, the sender must fall back to sending handshakes!
Definition at line 391 of file gnunet-communicator-udp.c.
Referenced by kce_destroy(), and kce_generate().
| struct SharedSecret* KeyCacheEntry::ss |
Corresponding shared secret.
Definition at line 396 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 401 of file gnunet-communicator-udp.c.
Referenced by consider_ss_ack(), decrypt_box(), and kce_generate().