GNUnet  0.11.x
Data Fields
GNUNET_CADET_AxHeader Struct Reference

Encrypted axolotl header with numbers that identify which keys in which ratchet are to be used to decrypt the body. More...

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

Collaboration diagram for GNUNET_CADET_AxHeader:
[legend]

Data Fields

uint32_t Ns
 Number of messages sent with the current ratchet key. More...
 
uint32_t PNs
 Number of messages sent with the previous ratchet key. More...
 
struct GNUNET_CRYPTO_EcdhePublicKey DHRs
 Current ratchet key. More...
 

Detailed Description

Encrypted axolotl header with numbers that identify which keys in which ratchet are to be used to decrypt the body.

Definition at line 301 of file cadet_protocol.h.

Field Documentation

◆ Ns

uint32_t GNUNET_CADET_AxHeader::Ns

Number of messages sent with the current ratchet key.

Definition at line 306 of file cadet_protocol.h.

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

◆ PNs

uint32_t GNUNET_CADET_AxHeader::PNs

Number of messages sent with the previous ratchet key.

Definition at line 311 of file cadet_protocol.h.

Referenced by GCT_send(), and t_ax_decrypt_and_validate().

◆ DHRs

struct GNUNET_CRYPTO_EcdhePublicKey GNUNET_CADET_AxHeader::DHRs

Current ratchet key.

Definition at line 316 of file cadet_protocol.h.

Referenced by GCT_send(), and t_ax_decrypt_and_validate().


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