aboutsummaryrefslogtreecommitdiff
path: root/spec/tor-spec/create-created-cells.md
diff options
context:
space:
mode:
Diffstat (limited to 'spec/tor-spec/create-created-cells.md')
-rw-r--r--spec/tor-spec/create-created-cells.md16
1 files changed, 8 insertions, 8 deletions
diff --git a/spec/tor-spec/create-created-cells.md b/spec/tor-spec/create-created-cells.md
index 2cc5f9d..d182f48 100644
--- a/spec/tor-spec/create-created-cells.md
+++ b/spec/tor-spec/create-created-cells.md
@@ -1,6 +1,6 @@
<a id="tor-spec.txt-5.1"></a>
-## CREATE and CREATED cells
+# CREATE and CREATED cells
Users set up circuits incrementally, one hop at a time. To create a
new circuit, OPs send a CREATE/CREATE2 cell to the first node, with
@@ -71,7 +71,7 @@ DESTROY cell to tear down the circuit.
<a id="tor-spec.txt-5.1.1"></a>
-### Choosing circuit IDs in create cells {#choosing-circid}
+## Choosing circuit IDs in create cells {#choosing-circid}
The CircID for a CREATE/CREATE2 cell is a nonzero integer, selected
by the node (OP or OR) that sends the CREATE/CREATED2 cell.
@@ -105,7 +105,7 @@ randomly chosen CircID values are all in use (today's Tor stops after 64).
<a id="tor-spec.txt-5.1.2"></a>
-### EXTEND and EXTENDED cells
+## EXTEND and EXTENDED cells
To extend an existing circuit, the client sends an EXTEND or EXTEND2
RELAY_EARLY cell to the last node in the circuit.
@@ -206,7 +206,7 @@ use the format with 'client handshake type tag'.
<a id="tor-spec.txt-5.1.3"></a>
-### The "TAP" handshake {#TAP}
+## The "TAP" handshake {#TAP}
This handshake uses Diffie-Hellman in Z_p and RSA to compute a set of
shared keys which the client knows are shared only with a particular
@@ -260,7 +260,7 @@ and 'derivative key data' value via the KDF-TOR function in 5.2.1.
<a id="tor-spec.txt-5.1.4"></a>
-### The "ntor" handshake {#ntor}
+## The "ntor" handshake {#ntor}
This handshake uses a set of DH handshakes to compute a set of
shared keys which the client knows are shared only with a particular
@@ -339,7 +339,7 @@ described in 5.2.2 and the tag m_expand.
<a id="tor-spec.txt-5.1.4.1"></a>
-#### The "ntor-v3" handshake {#ntor-v3}
+### The "ntor-v3" handshake {#ntor-v3}
This handshake extends the ntor handshake to include support
for extra data transmitted as part of the handshake. Both
@@ -495,7 +495,7 @@ their circuit keys.
<a id="tor-spec.txt-5.1.5"></a>
-### CREATE_FAST/CREATED_FAST cells {#create_fast}
+## CREATE_FAST/CREATED_FAST cells {#create_fast}
When initializing the first hop of a circuit, the OP has already
established the OR's identity and negotiated a secret key using TLS.
@@ -529,7 +529,7 @@ networkstatus parameter as described in dir-spec.txt.
<a id="tor-spec.txt-5.1.6"></a>
-### Additional data in CREATE/CREATED cells {#additional-data}
+## Additional data in CREATE/CREATED cells {#additional-data}
Some handshakes (currently ntor-v3 defined above) allow the client or the
relay to send additional data as part of the handshake. When used in a