Skip to content
Snippets Groups Projects
Commit 94d3fe9a authored by Yawning Angel's avatar Yawning Angel
Browse files

Change the TYPE_PRNG_SEED length to 24.

This matches what the code actually sends.  It's shorter than the
ScrambleSuit PRNG seed, but that's because the SipHash-2-4 based
Hash_DRBG has 24 bytes of internal state (key + initial output).
parent 468cd4bd
No related branches found
No related tags found
No related merge requests found
......@@ -104,7 +104,7 @@
Length of the ntor AUTH tag (A HMAC-SHA256 digest).
InlineSeedFrameLength = 53
InlineSeedFrameLength = 45
Length of a unpadded TYPE_PRNG_SEED frame.
......@@ -144,7 +144,7 @@
The amount of padding is chosen such that the smallest possible request and
response (requests and responses with the minimum amount of padding) are
equal in size. For details on the InlineSeedFrameLength, see section 7.
equal in size. For details on the InlineSeedFrameLength, see section 6.
The client handshake process is as follows.
......@@ -282,7 +282,7 @@
TYPE_PRNG_SEED (0x01):
The entire payload is to be treated as seeding material for the
protocol polymorphism PRNG. The format is 32 bytes of seeding
protocol polymorphism PRNG. The format is 24 bytes of seeding
material.
Implementations SHOULD ignore unknown packet types for the purposes of
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment