aboutsummaryrefslogtreecommitdiff
path: root/rend-spec-v3.txt
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2023-06-14 13:53:36 -0400
committerNick Mathewson <nickm@torproject.org>2023-06-14 13:53:36 -0400
commit4b18bb2b16f301b5539e0b68f3406fc4705b4385 (patch)
treecb7f6313fe14fb434645bb3b072abdf2f8f3a6a5 /rend-spec-v3.txt
parenta14e2981efc6bf6ee49213189ca77118ca8c5216 (diff)
downloadtorspec-4b18bb2b16f301b5539e0b68f3406fc4705b4385.tar.gz
torspec-4b18bb2b16f301b5539e0b68f3406fc4705b4385.zip
rend-spec: document MAC_KEY_LEN=32.
We use this constant in various places throughout the document but we never say what it is.
Diffstat (limited to 'rend-spec-v3.txt')
-rw-r--r--rend-spec-v3.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/rend-spec-v3.txt b/rend-spec-v3.txt
index 4a12343..fe82ad4 100644
--- a/rend-spec-v3.txt
+++ b/rend-spec-v3.txt
@@ -216,6 +216,9 @@ Table of contents:
* Instantiate MAC(key=k, message=m) with H(k_len | k | m),
where k_len is htonll(len(k)).
+ When we need a particular MAC key length below, we choose
+ MAC_KEY_LEN=32 (256 bits).
+
For legacy purposes, we specify compatibility with older versions of
the Tor introduction point and rendezvous point protocols. These used
RSA1024, DH1024, AES128, and SHA1, as discussed in