forked from I2P_Developers/i2p.www
prop 144 updates
This commit is contained in:
@@ -5,7 +5,7 @@ ECIES-X25519-AEAD-Ratchet
|
|||||||
:author: zzz
|
:author: zzz
|
||||||
:created: 2018-11-22
|
:created: 2018-11-22
|
||||||
:thread: http://zzz.i2p/topics/2639
|
:thread: http://zzz.i2p/topics/2639
|
||||||
:lastupdated: 2019-03-20
|
:lastupdated: 2019-03-31
|
||||||
:status: Open
|
:status: Open
|
||||||
|
|
||||||
.. contents::
|
.. contents::
|
||||||
@@ -763,6 +763,8 @@ Encrypted:
|
|||||||
+ +
|
+ +
|
||||||
| |
|
| |
|
||||||
+----+----+----+----+----+----+----+----+
|
+----+----+----+----+----+----+----+----+
|
||||||
|
| Nonce 8 bytes |
|
||||||
|
+----+----+----+----+----+----+----+----+
|
||||||
| |
|
| |
|
||||||
+ +
|
+ +
|
||||||
| ChaCha20 encrypted data |
|
| ChaCha20 encrypted data |
|
||||||
@@ -792,6 +794,8 @@ Encrypted:
|
|||||||
|
|
||||||
Public Key :: 32 bytes, little endian, cleartext
|
Public Key :: 32 bytes, little endian, cleartext
|
||||||
|
|
||||||
|
Nonce :: 8 bytes, little endian? cleartext
|
||||||
|
|
||||||
encrypted data 1 :: 40 bytes
|
encrypted data 1 :: 40 bytes
|
||||||
|
|
||||||
MAC 1 :: Poly1305 message authentication code, 16 bytes
|
MAC 1 :: Poly1305 message authentication code, 16 bytes
|
||||||
@@ -1803,13 +1807,10 @@ Issues
|
|||||||
|
|
||||||
Padding
|
Padding
|
||||||
```````
|
```````
|
||||||
This is for padding inside AEAD frames.
|
All padding is inside AEAD frames.
|
||||||
Padding for messages 1 and 2 are outside AEAD frames.
|
TODO Padding inside AEAD should roughly adhere to the negotiated parameters.
|
||||||
All padding for message 3 and the data phase are inside AEAD frames.
|
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.
|
||||||
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.
|
|
||||||
Updated options may be sent during the data phase.
|
Updated options may be sent during the data phase.
|
||||||
See options block information above.
|
See options block information above.
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user