A secret message body This allows exchanging encrypted messages. More...
#include <gnunet_messenger_service.h>
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... | |
A secret message body This allows exchanging encrypted messages.
Message-body-size: 128+ bytes
Definition at line 864 of file gnunet_messenger_service.h.
union GNUNET_MESSENGER_EpochIdentifier GNUNET_MESSENGER_MessageSecret::identifier |
The identifier of the announcement in an epoch.
Definition at line 869 of file gnunet_messenger_service.h.
Referenced by decode_message_body(), encode_message_body(), encrypt_secret_message(), get_message_body_kind_size(), get_room_message_epoch_identifier(), handle_secret_message(), and on_message().
uint8_t GNUNET_MESSENGER_MessageSecret::iv[sizeof(struct GNUNET_CRYPTO_SymmetricInitializationVector)] |
The IV of the secret message.
Definition at line 874 of file gnunet_messenger_service.h.
Referenced by decode_message_body(), decrypt_secret_message(), encode_message_body(), encrypt_secret_message(), and get_message_body_kind_size().
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().
uint16_t GNUNET_MESSENGER_MessageSecret::length |
The length of the encrypted message.
Definition at line 884 of file gnunet_messenger_service.h.
Referenced by copy_message(), create_message(), decode_message_body(), decrypt_secret_message(), encrypt_secret_message(), and get_message_body_size().
char* GNUNET_MESSENGER_MessageSecret::data |
The data of the encrypted message.
Definition at line 889 of file gnunet_messenger_service.h.
Referenced by copy_message(), create_message(), decode_message_body(), decrypt_secret_message(), destroy_message_body(), encode_message_body(), and encrypt_secret_message().