GNUnet  0.11.x
Data Fields
GNUNET_CADET_TunnelEncryptedMessage Struct Reference

Axolotl-encrypted tunnel message with application payload. More...

#include </home/handbook/gnunet/src/cadet/cadet_protocol.h>

Collaboration diagram for GNUNET_CADET_TunnelEncryptedMessage:
[legend]

Data Fields

struct GNUNET_MessageHeader header
 Type: GNUNET_MESSAGE_TYPE_CADET_TUNNEL_ENCRYPTED. More...
 
uint32_t reserved
 Reserved, for alignment. More...
 
struct GNUNET_CADET_ConnectionTunnelIdentifier cid
 ID of the connection. More...
 
struct GNUNET_ShortHashCode hmac
 MAC of the encrypted message, used to verify message integrity. More...
 
struct GNUNET_CADET_AxHeader ax_header
 Axolotl-header that specifies which keys to use in which ratchet to decrypt the body that follows. More...
 

Detailed Description

Axolotl-encrypted tunnel message with application payload.

Definition at line 323 of file cadet_protocol.h.

Field Documentation

◆ header

struct GNUNET_MessageHeader GNUNET_CADET_TunnelEncryptedMessage::header

◆ reserved

uint32_t GNUNET_CADET_TunnelEncryptedMessage::reserved

Reserved, for alignment.

Definition at line 333 of file cadet_protocol.h.

◆ cid

struct GNUNET_CADET_ConnectionTunnelIdentifier GNUNET_CADET_TunnelEncryptedMessage::cid

ID of the connection.

Definition at line 338 of file cadet_protocol.h.

Referenced by GCT_send(), and handle_tunnel_encrypted().

◆ hmac

struct GNUNET_ShortHashCode GNUNET_CADET_TunnelEncryptedMessage::hmac

MAC of the encrypted message, used to verify message integrity.

Everything after this value will be encrypted with the header key and authenticated.

Definition at line 345 of file cadet_protocol.h.

Referenced by GCT_send(), t_ax_decrypt_and_validate(), and try_old_ax_keys().

◆ ax_header

struct GNUNET_CADET_AxHeader GNUNET_CADET_TunnelEncryptedMessage::ax_header

Axolotl-header that specifies which keys to use in which ratchet to decrypt the body that follows.

Definition at line 351 of file cadet_protocol.h.

Referenced by GCT_send(), t_ax_decrypt_and_validate(), t_h_decrypt(), t_h_encrypt(), and try_old_ax_keys().


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