diff options
author | Elias Summermatter <elias.summermatter@seccom.ch> | 2021-01-21 15:52:39 +0100 |
---|---|---|
committer | Elias Summermatter <elias.summermatter@seccom.ch> | 2021-01-21 15:52:39 +0100 |
commit | 0918a216074d31dbce3e743e29b491abea66153e (patch) | |
tree | 8e977ea89f1f8f9e9edd15638f633ae662b11c32 | |
parent | bdd3677220dc6a2d10fd7e4fc0184a525d33cb7e (diff) | |
download | lsd0003-0918a216074d31dbce3e743e29b491abea66153e.tar.gz lsd0003-0918a216074d31dbce3e743e29b491abea66153e.zip |
Added some more
-rw-r--r-- | draft-summermatter-set-union.xml | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/draft-summermatter-set-union.xml b/draft-summermatter-set-union.xml index 096ae56..869596c 100644 --- a/draft-summermatter-set-union.xml +++ b/draft-summermatter-set-union.xml | |||
@@ -1161,14 +1161,14 @@ 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 ID is generated as 64-bit value..... . Finally the ID is salted to enable | 1164 | The ID is generated as 64-bit output form a KDF (HMAC-SHA512 as XTR and HMAC-SHA256 as PRF, |
1165 | modification of the given IBF key based on the salt this can be done in case the IBF does not | 1165 | the output from SHA-512 is then truncated to 64 bits, salt of the KDF is always set to = 0). |
1166 | successfully decode to new distribute the elements to the buckets. Salting is done by calculation the | 1166 | Its important that the elements can be redistributed over the buckets in case the IBF does not |
1167 | salt modulo 64 (using only the lowest 6-bits of the salt) and do a bitwise right rotation | 1167 | decode, that's why the ID is salted with a random salt given in the SALT field of this message. |
1168 | of the ID by the 6-bit salts numeric representation. | 1168 | Salting is done by calculation the a random salt modulo 64 (using only the lowest 6-bits of the salt) |
1169 | and do a bitwise right rotation of output of KDF by the 6-bit salts numeric representation. | ||
1169 | </t> | 1170 | </t> |
1170 | <t> | 1171 | <t> |
1171 | |||
1172 | The HASH is calculated by calculating the CRC32 checksum of the 64-bit ID value | 1172 | The HASH is calculated by calculating the CRC32 checksum of the 64-bit ID value |
1173 | which returns a 32-bit value. This is calculated modulo the count of buckets to | 1173 | which returns a 32-bit value. This is calculated modulo the count of buckets to |
1174 | ensure that it is a valid bucket index. Create a new 64-bit value by shifting the 32-bit | 1174 | ensure that it is a valid bucket index. Create a new 64-bit value by shifting the 32-bit |