commonly used definitions; globals in this file are exempt from the rule that the module name ("commo...
#define GNUNET_NETWORK_STRUCT_BEGIN
Define as empty, GNUNET_PACKED should suffice, but this won't work on W32.
#define GNUNET_NETWORK_STRUCT_END
Define as empty, GNUNET_PACKED should suffice, but this won't work on W32;.
#define GNUNET_PACKED
gcc-ism to get packed structs.
Message to request a decapsulation from PILS.
struct GNUNET_MessageHeader header
Type: GNUNET_MESSAGE_TYPE_PILS_DECAPS.
struct GNUNET_CRYPTO_HpkeEncapsulation c
Encapsulation to decapsulate.
Message containing the decapsulated key.
struct GNUNET_MessageHeader header
Type: GNUNET_MESSAGE_TYPE_PILS_DECAPS_RESULT.
struct GNUNET_ShortHashCode key
The decapsulated key.
Message requesting a signature on data with the current peer id.
struct GNUNET_MessageHeader header
Type: GNUNET_MESSAGE_TYPE_PILS_FEED_ADDRESSES.
uint32_t block_len
For alignment.
header of what an ECC signature signs this must be followed by "size - 8" bytes of the actual signed ...
an ECC signature using EdDSA.
HPKE DHKEM encapsulation (X25519) See RFC 9180.
The identity of the host (wraps the signing key of the peer).
Time for absolute time used by GNUnet, in microseconds and in network byte order.
Message containing the current peer id and the hash from which it was generated.
struct GNUNET_MessageHeader header
Type: GNUNET_MESSAGE_TYPE_PILS_PEER_ID.
struct GNUNET_HashCode hash
The hash from which the peer id was generated.
uint32_t block_len
Length of the HELLO block in bytes.
Message signed as part of a HELLO block/URL.
struct GNUNET_HashCode h_addrs
Hash over all addresses.
struct GNUNET_TIME_AbsoluteNBO expiration_time
When does the signature expire?
struct GNUNET_CRYPTO_EccSignaturePurpose purpose
Purpose must be GNUNET_SIGNATURE_PURPOSE_HELLO.
Message to request a signature from PILS.
struct GNUNET_MessageHeader header
Type: GNUNET_MESSAGE_TYPE_PILS_SIGN_REQUEST.
Message containing the signature.
struct GNUNET_PeerIdentity peer_id
The peer identity that produces the signature.
struct GNUNET_CRYPTO_EddsaSignature sig
The signature.
struct GNUNET_MessageHeader header
Type: GNUNET_MESSAGE_TYPE_PILS_SIGN_RESULT.