Prop. 159 fixes

This commit is contained in:
zzz
2022-03-16 05:48:27 -04:00
parent c6b9004b2d
commit d72e71a30d

View File

@ -5,7 +5,7 @@ SSU2
:author: eyedeekay, orignal, zlatinb, zzz
:created: 2021-09-12
:thread: http://zzz.i2p/topics/2612
:lastupdated: 2022-03-13
:lastupdated: 2022-03-16
:status: Open
:target: 0.9.55
@ -3611,7 +3611,7 @@ KDF for Session Created and Session Confirmed part 1
// take h saved from Session Request KDF
// MixHash(ciphertext)
h = SHA256(h || 32 byte encrypted payload from Session Request)
h = SHA256(h || encrypted Noise payload from Session Request)
// MixHash(header)
h = SHA256(h || header)
@ -3872,7 +3872,7 @@ KDF for Session Confirmed part 1, using Session Created KDF
// take h saved from Session Created KDF
// MixHash(ciphertext)
h = SHA256(h || 24 byte encrypted payload from Session Created)
h = SHA256(h || encrypted Noise payload from Session Created)
// MixHash(header)
h = SHA256(h || header)
@ -4776,12 +4776,12 @@ Block types:
Payload Block Type Type Number Block Length
==================================== ============= ============
DateTime 0 7
Options (TBD) 1 15+
Options 1 15+
Router Info 2 varies
I2NP Message 3 varies
First Fragment 4 varies
Follow-on Fragment 5 varies
Termination (TBD) 6 9 typ.
Termination 6 9 typ.
Relay Request 7 varies
Relay Response 8 varies
Relay Intro 9 varies