UDP message box. More...
Data Fields | |
struct GNUNET_ShortHashCode | kid |
Key and IV identification code. More... | |
uint8_t | gcm_tag [(128/8)] |
128-bit authentication tag for the following encrypted message, from GCM. More... | |
UDP message box.
Always sent encrypted, only allowed after the receiver sent a struct UDPAck
for the base key!
Definition at line 318 of file gnunet-communicator-udp.c.
struct GNUNET_ShortHashCode UDPBox::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 327 of file gnunet-communicator-udp.c.
Referenced by decrypt_box(), mq_send_d(), and sock_read().
uint8_t UDPBox::gcm_tag[(128/8)] |
128-bit authentication tag for the following encrypted message, from GCM.
MAC starts at the body_start that follows and extends until the end of the UDP payload. If the hmac is wrong, the receiver should check if the message might be a struct UdpHandshakeSignature
.
Definition at line 336 of file gnunet-communicator-udp.c.
Referenced by decrypt_box(), and mq_send_d().