From 7e44b5638d9568f3f722f0a4f27efccbc52908a9 Mon Sep 17 00:00:00 2001 From: zzz Date: Sun, 31 Mar 2019 12:17:31 +0000 Subject: [PATCH] prop 144 updates --- .../proposals/144-ecies-x25519-aead-ratchet.rst | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/i2p2www/spec/proposals/144-ecies-x25519-aead-ratchet.rst b/i2p2www/spec/proposals/144-ecies-x25519-aead-ratchet.rst index 690f2579..676135c1 100644 --- a/i2p2www/spec/proposals/144-ecies-x25519-aead-ratchet.rst +++ b/i2p2www/spec/proposals/144-ecies-x25519-aead-ratchet.rst @@ -5,7 +5,7 @@ ECIES-X25519-AEAD-Ratchet :author: zzz :created: 2018-11-22 :thread: http://zzz.i2p/topics/2639 - :lastupdated: 2019-03-20 + :lastupdated: 2019-03-31 :status: Open .. contents:: @@ -763,6 +763,8 @@ Encrypted: + + | | +----+----+----+----+----+----+----+----+ + | Nonce 8 bytes | + +----+----+----+----+----+----+----+----+ | | + + | ChaCha20 encrypted data | @@ -792,6 +794,8 @@ Encrypted: Public Key :: 32 bytes, little endian, cleartext + Nonce :: 8 bytes, little endian? cleartext + encrypted data 1 :: 40 bytes MAC 1 :: Poly1305 message authentication code, 16 bytes @@ -1803,13 +1807,10 @@ Issues Padding ``````` -This is for padding inside AEAD frames. -Padding for messages 1 and 2 are outside AEAD frames. -All padding for message 3 and the data phase are inside AEAD frames. - -Padding inside AEAD should roughly adhere to the negotiated parameters. -Bob sent his requested tx/rx min/max parameters in message 2. -Alice sent her requested tx/rx min/max parameters in message 3. +All padding is inside AEAD frames. +TODO Padding inside AEAD should roughly adhere to the negotiated parameters. +TODO Bob sent his requested tx/rx min/max parameters in message 2. +TODO Alice sent her requested tx/rx min/max parameters in message 3. Updated options may be sent during the data phase. See options block information above.