GNUnet 0.21.1
GNUNET_CADET_TunnelEncryptedMessage Struct Reference

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

#include </home/buildbot/bb-worker/worker/gnunet_firefly/build/src/service/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 341 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 351 of file cadet_protocol.h.

◆ cid

struct GNUNET_CADET_ConnectionTunnelIdentifier GNUNET_CADET_TunnelEncryptedMessage::cid

ID of the connection.

Definition at line 356 of file cadet_protocol.h.

Referenced by GCT_send().

◆ 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 363 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 369 of file cadet_protocol.h.

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


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