diff options
author | Florian Dold <florian.dold@gmail.com> | 2015-12-11 19:19:47 +0000 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2015-12-11 19:19:47 +0000 |
commit | 94c458d11dc2322a3e90eebbbe9a123220440a69 (patch) | |
tree | 2dcdf548bcd47ee3c447975f4b463b3e74ea882e /src/set/gnunet-service-set_protocol.h | |
parent | 2718db6f29c81df70171b1f5488a068cc7650c72 (diff) | |
download | gnunet-94c458d11dc2322a3e90eebbbe9a123220440a69.tar.gz gnunet-94c458d11dc2322a3e90eebbbe9a123220440a69.zip |
Proper salting for set union.
Diffstat (limited to 'src/set/gnunet-service-set_protocol.h')
-rw-r--r-- | src/set/gnunet-service-set_protocol.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/src/set/gnunet-service-set_protocol.h b/src/set/gnunet-service-set_protocol.h index eee0dc5ae..b96ea0889 100644 --- a/src/set/gnunet-service-set_protocol.h +++ b/src/set/gnunet-service-set_protocol.h | |||
@@ -96,6 +96,27 @@ struct IBFMessage | |||
96 | }; | 96 | }; |
97 | 97 | ||
98 | 98 | ||
99 | struct InquiryMessage | ||
100 | { | ||
101 | /** | ||
102 | * Type: #GNUNET_MESSAGE_TYPE_SET_UNION_P2P_IBF | ||
103 | */ | ||
104 | struct GNUNET_MessageHeader header; | ||
105 | |||
106 | /** | ||
107 | * Salt used when hashing elements for this inquiry. | ||
108 | */ | ||
109 | uint32_t salt GNUNET_PACKED; | ||
110 | |||
111 | /** | ||
112 | * Reserved, set to 0. | ||
113 | */ | ||
114 | uint32_t reserved GNUNET_PACKED; | ||
115 | |||
116 | /* rest: inquiry IBF keys */ | ||
117 | }; | ||
118 | |||
119 | |||
99 | /** | 120 | /** |
100 | * During intersection, the first (and possibly second) message | 121 | * During intersection, the first (and possibly second) message |
101 | * send it the number of elements in the set, to allow the peers | 122 | * send it the number of elements in the set, to allow the peers |