commit f0d8b954dc034d638b3ddfd8b1736f3c982c64f3 parent f928ed8064aa3deccdd823b5035582fac75d3d42 Author: Elias Summermatter <elias.summermatter@seccom.ch> Date: Wed, 20 Jan 2021 21:22:59 +0100 Added some improved stuff Diffstat:
| M | draft-summermatter-set-union.xml | | | 14 | ++++++++++---- |
1 file changed, 10 insertions(+), 4 deletions(-)
diff --git a/draft-summermatter-set-union.xml b/draft-summermatter-set-union.xml @@ -1049,10 +1049,10 @@ hashSum | 0x0101 | 0x0101 | 0x5050 | 0000 | <artwork name="" type="" align="left" alt=""><![CDATA[ 0 8 16 24 32 40 48 56 +-----+-----+-----+-----+-----+-----+-----+-----+ - | MSG SIZE | MSG TYPE | OPERATION TYPE | + | MSG SIZE | MSG TYPE | ELEMENT COUNT | +-----+-----+-----+-----+-----+-----+-----+-----+ - | ELEMENT COUNT | APX - +-----+-----+-----+-----+ / + | APX + +-----+-----+-----+-----+-----+-----+-----+-----+ / / / / / ]]></artwork> @@ -1161,7 +1161,13 @@ hashSum | 0x0101 | 0x0101 | 0x5050 | 0000 | 32768 divided by the BUCKET_SIZE which is 13-byte (104-bit). </t> <t> - The IDSUMS The HASHSUMS is calculated as a standard CRC32 check sum from + The IDSUMS is generated as 64 bit value..... . Finally the IDSUMS is salted to enable + modification of the given IBF key based on the salt. Salting is done by taking the + salt modulo 64 (using the lowest 6 bits of the salt) and do a rotate + </t> + <t> + + The HASHSUMS is calculated as a standard CRC32 check sum from the key of the element. <!-- @Christian: I dont have a clue how this is done... The code is very hard to read can you explain the salt_key function in gnunet-service-set_union.c file