GNUnet  0.10.x
gnunet-service-scalarproduct.h
Go to the documentation of this file.
1 /*
2  This file is part of GNUnet.
3  Copyright (C) 2013, 2014 GNUnet e.V.
4 
5  GNUnet is free software: you can redistribute it and/or modify it
6  under the terms of the GNU Affero General Public License as published
7  by the Free Software Foundation, either version 3 of the License,
8  or (at your option) any later version.
9 
10  GNUnet is distributed in the hope that it will be useful, but
11  WITHOUT ANY WARRANTY; without even the implied warranty of
12  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13  Affero General Public License for more details.
14 
15  You should have received a copy of the GNU Affero General Public License
16  along with this program. If not, see <http://www.gnu.org/licenses/>.
17 
18  SPDX-License-Identifier: AGPL3.0-or-later
19  */
26 #ifndef GNUNET_SERVICE_SCALARPRODUCT_H
27 #define GNUNET_SERVICE_SCALARPRODUCT_H
28 
29 
31 
45 
49  uint32_t reserved;
50 
55 
60 };
61 
62 
73 
77  uint32_t contained_element_count GNUNET_PACKED;
78 
82 };
83 
84 
98 
102  uint32_t contained_element_count GNUNET_PACKED;
103 
107 };
108 
109 
122 
126  uint32_t contained_element_count GNUNET_PACKED;
127 
132 };
133 
134 
135 
137 
138 
139 #endif
struct GNUNET_CRYPTO_PaillierPublicKey public_key
Alice&#39;s public key.
Message type passed from responding service Bob to responding service Alice to complete a request and...
struct GNUNET_MessageHeader header
Type is GNUNET_MESSAGE_TYPE_SCALARPRODUCT_SESSION_INITIALIZATION.
#define GNUNET_NETWORK_STRUCT_BEGIN
Define as empty, GNUNET_PACKED should suffice, but this won&#39;t work on W32.
uint32_t reserved
For alignment.
Message type passed from requesting service Alice to responding service Bob to initiate a request and...
struct GNUNET_HashCode session_id
The transaction/session key used to identify a session.
A 512-bit hashcode.
Vector of Pallier-encrypted values sent by Alice to Bob (after set intersection). ...
Multipart Message type passed between to supply additional elements for the peer. ...
#define GNUNET_NETWORK_STRUCT_END
Define as empty, GNUNET_PACKED should suffice, but this won&#39;t work on W32;.
#define GNUNET_PACKED
gcc-ism to get packed structs.
Header for all communications.