aboutsummaryrefslogtreecommitdiff
path: root/spec/tor-spec/setting-circuit-keys.md
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2023-10-14 19:14:57 -0400
committerNick Mathewson <nickm@torproject.org>2023-10-14 19:14:57 -0400
commit646fef090ac364bd16701a6f00da0670bd7045ed (patch)
tree730f921933ad2652c9349af551b07fcd42f5a5a2 /spec/tor-spec/setting-circuit-keys.md
parent4ebef6db0a7c4acddba4192f836592cfe8f421ee (diff)
downloadtorspec-646fef090ac364bd16701a6f00da0670bd7045ed.tar.gz
torspec-646fef090ac364bd16701a6f00da0670bd7045ed.zip
Enforce the rule that every md has a toplevel (\#) section.
Diffstat (limited to 'spec/tor-spec/setting-circuit-keys.md')
-rw-r--r--spec/tor-spec/setting-circuit-keys.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/tor-spec/setting-circuit-keys.md b/spec/tor-spec/setting-circuit-keys.md
index f299f81..95a5b27 100644
--- a/spec/tor-spec/setting-circuit-keys.md
+++ b/spec/tor-spec/setting-circuit-keys.md
@@ -1,10 +1,10 @@
<a id="tor-spec.txt-5.2"></a>
-## Setting circuit keys
+# Setting circuit keys
<a id="tor-spec.txt-5.2.1"></a>
-### KDF-TOR
+## KDF-TOR
This key derivation function is used by the TAP and CREATE_FAST
handshakes, and in the current hidden service protocol. It shouldn't
@@ -36,7 +36,7 @@ Kb is used to encrypt the stream of data going from the OR to the OP.
<a id="tor-spec.txt-5.2.2"></a>
-### KDF-RFC5869
+## KDF-RFC5869
For newer KDF needs, Tor uses the key derivation function HKDF from
RFC5869, instantiated with SHA256. (This is due to a construction