GNUnet  0.10.x
gnunet-service-scalarproduct-ecc.h
Go to the documentation of this file.
1 /*
2  This file is part of GNUnet.
3  Copyright (C) 2015 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_ECC_H
27 #define GNUNET_SERVICE_SCALARPRODUCT_ECC_H
28 
29 
31 
41 {
46 
50  uint32_t reserved;
51 
56 
57 };
58 
59 
66 {
71 
75  uint32_t contained_element_count GNUNET_PACKED;
76 
80 };
81 
82 
91 {
97 
102  uint32_t contained_element_count GNUNET_PACKED;
103 
107  struct GNUNET_CRYPTO_EccPoint prod_g_i_b_i;
108 
112  struct GNUNET_CRYPTO_EccPoint prod_h_i_b_i;
113 
114 };
115 
116 
118 
119 
120 #endif
struct GNUNET_HashCode session_id
The transaction/session key used to identify a session.
Vector of ECC-encrypted values sent by Alice to Bob (after set intersection).
Point on a curve (always for Curve25519) encoded in a format suitable for network transmission (ECDH)...
#define GNUNET_NETWORK_STRUCT_BEGIN
Define as empty, GNUNET_PACKED should suffice, but this won&#39;t work on W32.
struct GNUNET_MessageHeader header
Type is GNUNET_MESSAGE_TYPE_SCALARPRODUCT_ECC_SESSION_INITIALIZATION.
A 512-bit hashcode.
Message type passed from responding service Bob to responding service Alice to complete a request and...
Message type passed from requesting service Alice to responding service Bob to initiate a request and...
#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.