45#define MAX_UBLOCK_SIZE (60 * 1024)
API for file sharing via GNUnet.
#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.
header of what an ECC signature signs this must be followed by "size - 8" bytes of the actual signed ...
Public ECC key (always for Curve25519) encoded in a format suitable for network transmission and ECDS...
an ECC signature using ECDSA
index block (indexing a DBlock that can be obtained directly from reading the plaintext file)
uint64_t offset
At which offset should we be able to find this on-demand encoded block? (in NBO)
struct GNUNET_HashCode file_id
Hash code of the entire content of the file that was indexed (used to uniquely identify the plaintext...
universal block for keyword and namespace search results
struct GNUNET_CRYPTO_EcdsaPublicKey verification_key
Public key used to sign this block.
struct GNUNET_CRYPTO_EccSignaturePurpose purpose
What is being signed and why?
struct GNUNET_CRYPTO_EcdsaSignature signature
Signature using pseudonym and search keyword / identifier.