GNUnet debian-0.24.3-23-g589b01d60
GNUNET_MESSENGER_MessageSecret Struct Reference

A secret message body This allows exchanging encrypted messages. More...

#include <gnunet_messenger_service.h>

Collaboration diagram for GNUNET_MESSENGER_MessageSecret:
[legend]

Data Fields

union GNUNET_MESSENGER_EpochIdentifier identifier
 The identifier of the announcement in an epoch. More...
 
uint8_t iv [sizeof(struct GNUNET_CRYPTO_SymmetricInitializationVector)]
 The IV of the secret message. More...
 
struct GNUNET_HashCode hmac
 The hmac of the encrypted message. More...
 
uint16_t length
 The length of the encrypted message. More...
 
char * data
 The data of the encrypted message. More...
 

Detailed Description

A secret message body This allows exchanging encrypted messages.

Message-body-size: 128+ bytes

Definition at line 864 of file gnunet_messenger_service.h.

Field Documentation

◆ identifier

union GNUNET_MESSENGER_EpochIdentifier GNUNET_MESSENGER_MessageSecret::identifier

◆ iv

uint8_t GNUNET_MESSENGER_MessageSecret::iv[sizeof(struct GNUNET_CRYPTO_SymmetricInitializationVector)]

◆ hmac

struct GNUNET_HashCode GNUNET_MESSENGER_MessageSecret::hmac

The hmac of the encrypted message.

Definition at line 879 of file gnunet_messenger_service.h.

Referenced by decode_message_body(), decrypt_secret_message(), encode_message_body(), and get_message_body_kind_size().

◆ length

uint16_t GNUNET_MESSENGER_MessageSecret::length

◆ data

char* GNUNET_MESSENGER_MessageSecret::data

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