GNUnet 0.22.0
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/buildbot/bb-worker/worker/gnunet_firefly/build/src/service/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 319 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 324 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 329 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 334 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: