commit 9041fc992d59e85af7f071474b461799a1d9533d
parent f359ae507ceda13489d13ffa05ce39184da39daa
Author: Elias Summermatter <elias.summermatter@seccom.ch>
Date: Thu, 25 Feb 2021 15:49:28 +0100
Added final set hash to full done message
Diffstat:
1 file changed, 16 insertions(+), 8 deletions(-)
diff --git a/draft-summermatter-set-union.xml b/draft-summermatter-set-union.xml
@@ -1564,12 +1564,12 @@ FUNCTION get_bucket_id (key, number_of_buckets_per_element, ibf_size)
<name>Structure</name>
<figure anchor="figure_done">
<artwork name="" type="" align="left" alt=""><![CDATA[
- 0 8 16 24 32
- +-----+-----+-----+-----+
- | MSG SIZE | MSG TYPE |
- +-----+-----+-----+-----+
- | HASH
+ 0 8 16 24 32 40 48 56
+ +-----+-----+-----+-----+-----+-----+-----+-----+
+ | MSG SIZE | MSG TYPE | HASH
+-----+-----+-----+-----+
+ / /
+ / /
]]></artwork>
</figure>
<t>where:</t>
@@ -1585,6 +1585,7 @@ FUNCTION get_bucket_id (key, number_of_buckets_per_element, ibf_size)
<dt>HASH</dt>
<dd>
is a 512-bit hash of the set to allow a final equality check.
+ <!-- IMPLEMENT: Needs to be implemented -->
</dd>
</dl>
@@ -1609,10 +1610,12 @@ FUNCTION get_bucket_id (key, number_of_buckets_per_element, ibf_size)
<name>Structure</name>
<figure anchor="figure_full_done">
<artwork name="" type="" align="left" alt=""><![CDATA[
- 0 8 16 24 32
- +-----+-----+-----+-----+
- | MSG SIZE | MSG TYPE |
+ 0 8 16 24 32 40 48 56
+ +-----+-----+-----+-----+-----+-----+-----+-----+
+ | MSG SIZE | MSG TYPE | HASH
+-----+-----+-----+-----+
+ / /
+ / /
]]></artwork>
</figure>
<t>where:</t>
@@ -1625,6 +1628,11 @@ FUNCTION get_bucket_id (key, number_of_buckets_per_element, ibf_size)
<dd>
the type of SETU_P2P_FULL_DONE as registered in <xref target="gana" format="title" /> in network byte order.
</dd>
+ <dt>HASH</dt>
+ <dd>
+ is a 512-bit hash of the set to allow a final equality check.
+ <!-- IMPLEMENT: Needs to be implemented -->
+ </dd>
</dl>
</section>
</section>