aboutsummaryrefslogtreecommitdiff
path: root/proposals/224-rend-spec-ng.txt
diff options
context:
space:
mode:
authorGeorge Kadianakis <desnacked@riseup.net>2017-03-09 16:57:29 +0200
committerGeorge Kadianakis <desnacked@riseup.net>2017-03-13 16:45:46 +0200
commit5a9bda5e3d38932c4713c4b20a0bd8c0a70b5170 (patch)
treeca47537c4ce2d5a0a966603609beb59755a8d85a /proposals/224-rend-spec-ng.txt
parent33bcbe24d6d526a347b74c3678f700da5f1a6e54 (diff)
downloadtorspec-5a9bda5e3d38932c4713c4b20a0bd8c0a70b5170.tar.gz
torspec-5a9bda5e3d38932c4713c4b20a0bd8c0a70b5170.zip
Define some undefined variables.
G_LEN and H_LEN were undefined.
Diffstat (limited to 'proposals/224-rend-spec-ng.txt')
-rw-r--r--proposals/224-rend-spec-ng.txt8
1 files changed, 4 insertions, 4 deletions
diff --git a/proposals/224-rend-spec-ng.txt b/proposals/224-rend-spec-ng.txt
index 8bff173..2d6f261 100644
--- a/proposals/224-rend-spec-ng.txt
+++ b/proposals/224-rend-spec-ng.txt
@@ -1651,7 +1651,7 @@ Table of contents:
and sends, as the ENCRYPTED part of the INTRODUCE1 cell:
- CLIENT_PK [G_LEN bytes]
+ CLIENT_PK [PK_PUBKEY_LEN bytes]
ENCRYPTED_DATA [Padded to length of plaintext]
MAC [MAC_LEN bytes]
@@ -1668,7 +1668,7 @@ Table of contents:
EXT_FIELD_LEN [1 byte]
EXT_FIELD [EXT_FIELD_LEN bytes]
ENCRYPTED:
- CLIENT_PK [G_LEN bytes]
+ CLIENT_PK [PK_PUBKEY_LEN bytes]
ENCRYPTED_DATA [Padded to length of plaintext]
MAC [MAC_LEN bytes]
@@ -1717,8 +1717,8 @@ Table of contents:
(The above are used to finish the ntor handshake.)
The server's handshake reply is:
- SERVER_PK Y [G_LEN bytes]
- AUTH AUTH_INPUT_MAC [H_LEN bytes]
+ SERVER_PK Y [PK_PUBKEY_LEN bytes]
+ AUTH AUTH_INPUT_MAC [MAC_LEN bytes]
These fields will be sent to the client in a RENDEZVOUS1 cell using the
HANDSHAKE_INFO element (see [JOIN_REND]).