26#ifndef GNUNET_SERVICE_SCALARPRODUCT_H
27#define GNUNET_SERVICE_SCALARPRODUCT_H
#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.
Vector of Pallier-encrypted values sent by Alice to Bob (after set intersection).
uint32_t contained_element_count
How many elements we appended to this message? In NBO.
struct GNUNET_MessageHeader header
Type is GNUNET_MESSAGE_TYPE_SCALARPRODUCT_ALICE_CRYPTODATA.
Message type passed from responding service Bob to responding service Alice to complete a request and...
uint32_t contained_element_count
How many elements this individual message delivers (in NBO).
struct GNUNET_MessageHeader header
GNUNET message header with type GNUNET_MESSAGE_TYPE_SCALARPRODUCT_BOB_CRYPTODATA.
Multipart Message type passed between to supply additional elements for the peer.
struct GNUNET_MessageHeader header
GNUNET message header.
uint32_t contained_element_count
How many elements we supply within this message? In NBO.
Message type passed from requesting service Alice to responding service Bob to initiate a request and...
uint32_t reserved
For alignment.
struct GNUNET_HashCode session_id
The transaction/session key used to identify a session.
struct GNUNET_MessageHeader header
Type is GNUNET_MESSAGE_TYPE_SCALARPRODUCT_SESSION_INITIALIZATION.
struct GNUNET_CRYPTO_PaillierPublicKey public_key
Alice's public key.