diff options
author | Yawning Angel <yawning@schwanenlied.me> | 2014-05-21 15:59:03 +0000 |
---|---|---|
committer | Yawning Angel <yawning@schwanenlied.me> | 2014-05-21 15:59:03 +0000 |
commit | f4b38212920977dee017525666143c6b1afce65d (patch) | |
tree | edcbea93f01940ae6f077c5444f33c4b077c6bbf | |
parent | 8d61c6bcc67e7acc5604f87ca2a7c7ec43fc46de (diff) |
Fix constants in the spec to reflect the code.
-rw-r--r-- | doc/obfs4-spec.txt | 4 |
1 files changed, 2 insertions, 2 deletions
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 |