From f4b38212920977dee017525666143c6b1afce65d Mon Sep 17 00:00:00 2001 From: Yawning Angel Date: Wed, 21 May 2014 15:59:03 +0000 Subject: Fix constants in the spec to reflect the code. --- doc/obfs4-spec.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'doc') diff --git a/doc/obfs4-spec.txt b/doc/obfs4-spec.txt index dedf09c..e4092ed 100644 --- a/doc/obfs4-spec.txt +++ b/doc/obfs4-spec.txt @@ -89,7 +89,7 @@ 2. The client sends a handshake request to the server where: X' = Elligator 2 representative of X (32 bytes) - P_C = Random padding [87, 1384] bytes long + P_C = Random padding [85, 1384] bytes long M_C = HMAC-SHA256-128(B | NODEID, X') E = String representation of the number of hours since the UNIX epoch @@ -228,7 +228,7 @@ part of the serverResponse if it always sends the frame immediately following the serverResponse body. If implementations chose to do this, the TYPE_PRNG_SEED frame MUST have 0 bytes of padding, and P_S MUST - consist of [0,1297] bytes of random padding. + consist of [0,1299] bytes of random padding. 7. References -- cgit v1.2.3