GNUnet 0.28.0-dev.3-20-gf1136b0b8
 
Loading...
Searching...
No Matches
GNUNET_MESSENGER_EncryptionKeyRecord Struct Reference

An encryption key record specifies an encryption key for a given room that can be identified via a given key to enter it. More...

#include <gnunet_messenger_service.h>

Collaboration diagram for GNUNET_MESSENGER_EncryptionKeyRecord:
[legend]

Data Fields

struct GNUNET_HashCode key
 The hash identifying the port of the room.
 
struct GNUNET_CRYPTO_AeadNonce nonce
 The nonce for the AEAD encryption of the key.
 
struct GNUNET_CRYPTO_AeadMac mac
 The mac from the AEAD encryption of the key.
 
uint32_t encrypted_key_length
 The length of the raw HPKE private key data.
 
uint8_t encrypted_key_data [(sizeof(uint32_t)+4096/8)]
 The encrypted data from the HPKE private key.
 

Detailed Description

An encryption key record specifies an encryption key for a given room that can be identified via a given key to enter it.

Record-size: 624

Definition at line 244 of file gnunet_messenger_service.h.

Field Documentation

◆ key

struct GNUNET_HashCode GNUNET_MESSENGER_EncryptionKeyRecord::key

The hash identifying the port of the room.

Definition at line 249 of file gnunet_messenger_service.h.

◆ nonce

struct GNUNET_CRYPTO_AeadNonce GNUNET_MESSENGER_EncryptionKeyRecord::nonce

The nonce for the AEAD encryption of the key.

Definition at line 254 of file gnunet_messenger_service.h.

Referenced by messenger_string_to_value(), and messenger_value_to_string().

◆ mac

struct GNUNET_CRYPTO_AeadMac GNUNET_MESSENGER_EncryptionKeyRecord::mac

The mac from the AEAD encryption of the key.

Definition at line 259 of file gnunet_messenger_service.h.

Referenced by messenger_string_to_value(), and messenger_value_to_string().

◆ encrypted_key_length

uint32_t GNUNET_MESSENGER_EncryptionKeyRecord::encrypted_key_length

The length of the raw HPKE private key data.

Definition at line 264 of file gnunet_messenger_service.h.

◆ encrypted_key_data

uint8_t GNUNET_MESSENGER_EncryptionKeyRecord::encrypted_key_data[(sizeof(uint32_t)+4096/8)]

The encrypted data from the HPKE private key.

Definition at line 269 of file gnunet_messenger_service.h.


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