From c53bb766ee2e1e96c12bfec7a3606bef51c7111c Mon Sep 17 00:00:00 2001 From: zzz <zzz@i2pmail.org> Date: Sat, 31 Jul 2021 12:17:57 -0400 Subject: [PATCH] Clarifications for prop. 157 --- i2p2www/spec/tunnel-creation-ecies.rst | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/i2p2www/spec/tunnel-creation-ecies.rst b/i2p2www/spec/tunnel-creation-ecies.rst index 98dd571c6..71a55d572 100644 --- a/i2p2www/spec/tunnel-creation-ecies.rst +++ b/i2p2www/spec/tunnel-creation-ecies.rst @@ -792,9 +792,7 @@ keydata = HKDF(ck, ZEROLEN, "SMTunnelReplyKey", 64) replyKey = keydata[32:63] ck = keydata[0:31] - Layer key: - Layer key is always AES for now, but same KDF can be used from Chacha20 - + AES Layer key: keydata = HKDF(ck, ZEROLEN, "SMTunnelLayerKey", 64) layerKey = keydata[32:63] @@ -815,6 +813,9 @@ keydata = HKDF(ck, ZEROLEN, "SMTunnelReplyKey", 64) {% 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 ``````````````````````` -- GitLab