clarify bits 3-1 in enc. ls2 flags

This commit is contained in:
zzz
2019-06-07 13:41:25 +00:00
parent 4075591e0f
commit 3ef0b28f87
2 changed files with 11 additions and 11 deletions

View File

@@ -5,7 +5,7 @@ New netDB Entries
:author: zzz, str4d, orignal
:created: 2016-01-16
:thread: http://zzz.i2p/topics/2051
:lastupdated: 2019-06-04
:lastupdated: 2019-06-07
:status: Open
:supercedes: 110, 120, 121, 122
@@ -648,14 +648,14 @@ Flags
Bit 0: 0 for everybody, 1 for per-client, auth section to follow
Bits 3-1: Authentication scheme, only if bit 0 is set to 1 for per-client, otherwise 0
0: DH client authentication (or no per-client authentication)
1: PSK client authentication
Bits 3-1: Authentication scheme, only if bit 0 is set to 1 for per-client, otherwise 000
000: DH client authentication (or no per-client authentication)
001: PSK client authentication
Bits 7-4: Unused, set to 0 for future compatibility
DH client auth data
Present if flag bit 0 is set to 1 and flag bits 3-1 are set to 0.
Present if flag bit 0 is set to 1 and flag bits 3-1 are set to 000.
ephemeralPublicKey
32 bytes
@@ -676,7 +676,7 @@ DH client auth data
32 bytes
PSK client auth data
Present if flag bit 0 is set to 1 and flag bits 3-1 are set to 1.
Present if flag bit 0 is set to 1 and flag bits 3-1 are set to 001.
authSalt
32 bytes