From 4b18bb2b16f301b5539e0b68f3406fc4705b4385 Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Wed, 14 Jun 2023 13:53:36 -0400 Subject: rend-spec: document MAC_KEY_LEN=32. We use this constant in various places throughout the document but we never say what it is. --- rend-spec-v3.txt | 3 +++ 1 file changed, 3 insertions(+) (limited to 'rend-spec-v3.txt') 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 -- cgit v1.2.3-54-g00ecf