GNUnet  0.18.1
UDPRekey Struct Reference

UDP message box. More...

Collaboration diagram for UDPRekey:
[legend]

Data Fields

struct GNUNET_ShortHashCode kid
 Key and IV identification code. More...
 
char gcm_tag [(128/8)]
 128-bit authentication tag for the following encrypted message, from GCM. More...
 
struct GNUNET_PeerIdentity sender
 Sender's identity. More...
 

Detailed Description

UDP message box.

Always sent encrypted, only allowed after the receiver sent a struct UDPAck for the base key!

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

Field Documentation

◆ kid

struct GNUNET_ShortHashCode UDPRekey::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 351 of file gnunet-communicator-udp.c.

Referenced by decrypt_rekey(), send_UDPRekey(), and sock_read().

◆ gcm_tag

char UDPRekey::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 376 of file gnunet-communicator-udp.c.

Referenced by decrypt_rekey(), and send_UDPRekey().

◆ sender

struct GNUNET_PeerIdentity UDPRekey::sender

Sender's identity.

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

Referenced by send_UDPRekey(), and sock_read().


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