I2P Address: [http://git.idk.i2p]

Skip to content
Snippets Groups Projects
Unverified Commit c53bb766 authored by zzz's avatar zzz
Browse files

Clarifications for prop. 157

parent 3cf399b2
No related branches found
No related tags found
No related merge requests found
...@@ -792,9 +792,7 @@ keydata = HKDF(ck, ZEROLEN, "SMTunnelReplyKey", 64) ...@@ -792,9 +792,7 @@ keydata = HKDF(ck, ZEROLEN, "SMTunnelReplyKey", 64)
replyKey = keydata[32:63] replyKey = keydata[32:63]
ck = keydata[0:31] ck = keydata[0:31]
Layer key: AES Layer key:
Layer key is always AES for now, but same KDF can be used from Chacha20
keydata = HKDF(ck, ZEROLEN, "SMTunnelLayerKey", 64) keydata = HKDF(ck, ZEROLEN, "SMTunnelLayerKey", 64)
layerKey = keydata[32:63] layerKey = keydata[32:63]
...@@ -815,6 +813,9 @@ keydata = HKDF(ck, ZEROLEN, "SMTunnelReplyKey", 64) ...@@ -815,6 +813,9 @@ keydata = HKDF(ck, ZEROLEN, "SMTunnelReplyKey", 64)
{% endhighlight %} {% endhighlight %}
Note: The KDF for the IV key at the OBEP is different from that for the other hops,
even if the reply is not garlic encrypted.
Record Encryption Record Encryption
``````````````````````` ```````````````````````
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment