aboutsummaryrefslogtreecommitdiff
path: root/rend-spec-v3.txt
diff options
context:
space:
mode:
authorAlexander Færøy <ahf@torproject.org>2023-06-15 13:12:44 +0000
committerAlexander Færøy <ahf@torproject.org>2023-06-15 13:12:44 +0000
commitfeed905266688f34c67446c19924026bd46e2168 (patch)
treed5885bf1fc341a421b968c5f86059b0d15837692 /rend-spec-v3.txt
parentafff4c91e6cc6c004e3d609ff243d74d9248eb63 (diff)
parent4b18bb2b16f301b5539e0b68f3406fc4705b4385 (diff)
downloadtorspec-feed905266688f34c67446c19924026bd46e2168.tar.gz
torspec-feed905266688f34c67446c19924026bd46e2168.zip
Merge branch 'mac_key_len' into 'main'
rend-spec: document MAC_KEY_LEN=32. See merge request tpo/core/torspec!141
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 04e5c4c..e1d6174 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