diff options
author | David Goulet <dgoulet@torproject.org> | 2019-03-07 11:03:29 -0500 |
---|---|---|
committer | David Goulet <dgoulet@torproject.org> | 2019-03-07 11:03:29 -0500 |
commit | b4dbcf0011c80cba37a6ef969a36b0c48960ab0b (patch) | |
tree | 2fcf1080221aa182af792fc2e8f2472ebcdb763e | |
parent | 81ec28177b01c91c6b1a6ac691ef33c7a9fe2754 (diff) | |
download | torspec-b4dbcf0011c80cba37a6ef969a36b0c48960ab0b.tar.gz torspec-b4dbcf0011c80cba37a6ef969a36b0c48960ab0b.zip |
fixup! prop289: Spec out the new SENDME cell payload
-rw-r--r-- | proposals/289-authenticated-sendmes.txt | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/proposals/289-authenticated-sendmes.txt b/proposals/289-authenticated-sendmes.txt index df5226b..19c3b84 100644 --- a/proposals/289-authenticated-sendmes.txt +++ b/proposals/289-authenticated-sendmes.txt @@ -242,15 +242,15 @@ Status: Open 0x01: Authenticated SENDME. The DATA section should contain: - DIGEST [4 bytes] + DIGEST [20 bytes] - If the DATA_LEN value is less then 4 bytes, the cell should be dropped - and the circuit closed. If the value is more than 4 bytes, then the - first 4 bytes should be read to get the correct value. + If the DATA_LEN value is less then 4 bytes, the cell should be + dropped and the circuit closed. If the value is more than 4 bytes, + then the first 20 bytes should be read to get the correct value. - The DIGEST is the digest value from the cell that triggered this SENDME - as mentionned above. This value is matched on the other side from the - previous cell. + The DIGEST is the digest value from the cell that triggered this + SENDME as mentionned above. This value is matched on the other side + from the previous cell. If a VERSION is unrecognized, the SENDME cell should be treated as version 0 meaning the payload is ignored. |