diff options
author | Elias Summermatter <elias.summermatter@seccom.ch> | 2021-01-20 21:22:59 +0100 |
---|---|---|
committer | Elias Summermatter <elias.summermatter@seccom.ch> | 2021-01-20 21:22:59 +0100 |
commit | f0d8b954dc034d638b3ddfd8b1736f3c982c64f3 (patch) | |
tree | 356eb5a3806062999d613f20931a0fdd264b4a08 | |
parent | f928ed8064aa3deccdd823b5035582fac75d3d42 (diff) | |
download | lsd0003-f0d8b954dc034d638b3ddfd8b1736f3c982c64f3.tar.gz lsd0003-f0d8b954dc034d638b3ddfd8b1736f3c982c64f3.zip |
Added some improved stuff
-rw-r--r-- | draft-summermatter-set-union.xml | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/draft-summermatter-set-union.xml b/draft-summermatter-set-union.xml index 6e57600..2c2b6aa 100644 --- a/draft-summermatter-set-union.xml +++ b/draft-summermatter-set-union.xml | |||
@@ -1049,10 +1049,10 @@ hashSum | 0x0101 | 0x0101 | 0x5050 | 0000 | | |||
1049 | <artwork name="" type="" align="left" alt=""><![CDATA[ | 1049 | <artwork name="" type="" align="left" alt=""><![CDATA[ |
1050 | 0 8 16 24 32 40 48 56 | 1050 | 0 8 16 24 32 40 48 56 |
1051 | +-----+-----+-----+-----+-----+-----+-----+-----+ | 1051 | +-----+-----+-----+-----+-----+-----+-----+-----+ |
1052 | | MSG SIZE | MSG TYPE | OPERATION TYPE | | 1052 | | MSG SIZE | MSG TYPE | ELEMENT COUNT | |
1053 | +-----+-----+-----+-----+-----+-----+-----+-----+ | 1053 | +-----+-----+-----+-----+-----+-----+-----+-----+ |
1054 | | ELEMENT COUNT | APX | 1054 | | APX |
1055 | +-----+-----+-----+-----+ / | 1055 | +-----+-----+-----+-----+-----+-----+-----+-----+ / |
1056 | / / | 1056 | / / |
1057 | / / | 1057 | / / |
1058 | ]]></artwork> | 1058 | ]]></artwork> |
@@ -1161,7 +1161,13 @@ hashSum | 0x0101 | 0x0101 | 0x5050 | 0000 | | |||
1161 | 32768 divided by the BUCKET_SIZE which is 13-byte (104-bit). | 1161 | 32768 divided by the BUCKET_SIZE which is 13-byte (104-bit). |
1162 | </t> | 1162 | </t> |
1163 | <t> | 1163 | <t> |
1164 | The IDSUMS The HASHSUMS is calculated as a standard CRC32 check sum from | 1164 | The IDSUMS is generated as 64 bit value..... . Finally the IDSUMS is salted to enable |
1165 | modification of the given IBF key based on the salt. Salting is done by taking the | ||
1166 | salt modulo 64 (using the lowest 6 bits of the salt) and do a rotate | ||
1167 | </t> | ||
1168 | <t> | ||
1169 | |||
1170 | The HASHSUMS is calculated as a standard CRC32 check sum from | ||
1165 | the key of the element. | 1171 | the key of the element. |
1166 | <!-- @Christian: I dont have a clue how this is done... The code is very hard to read can you explain the | 1172 | <!-- @Christian: I dont have a clue how this is done... The code is very hard to read can you explain the |
1167 | salt_key function in gnunet-service-set_union.c file | 1173 | salt_key function in gnunet-service-set_union.c file |