From b4dbcf0011c80cba37a6ef969a36b0c48960ab0b Mon Sep 17 00:00:00 2001 From: David Goulet Date: Thu, 7 Mar 2019 11:03:29 -0500 Subject: fixup! prop289: Spec out the new SENDME cell payload --- proposals/289-authenticated-sendmes.txt | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'proposals/289-authenticated-sendmes.txt') 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. -- cgit v1.2.3-54-g00ecf