aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Newsome <jnewsome@torproject.org>2023-11-08 10:07:57 -0600
committerJim Newsome <jnewsome@torproject.org>2023-11-08 10:08:46 -0600
commit75aaa41feaba0cafdb6f245969690c887b204dd8 (patch)
tree98d8c94fc40cc357843498895176a31821eb13d1
parentb5225815f929201c4430dd7e9959a80eb729c888 (diff)
downloadtorspec-75aaa41feaba0cafdb6f245969690c887b204dd8.tar.gz
torspec-75aaa41feaba0cafdb6f245969690c887b204dd8.zip
routing-relay-cells.md: remove extra indent from code blocks
-rw-r--r--spec/tor-spec/routing-relay-cells.md28
1 files changed, 14 insertions, 14 deletions
diff --git a/spec/tor-spec/routing-relay-cells.md b/spec/tor-spec/routing-relay-cells.md
index c5b4be3..15a5f20 100644
--- a/spec/tor-spec/routing-relay-cells.md
+++ b/spec/tor-spec/routing-relay-cells.md
@@ -29,10 +29,10 @@ When a relay cell is sent from an OP, the OP encrypts the payload
with the stream cipher as follows:
```text
- OP sends relay cell:
- For I=N...1, where N is the destination node:
- Encrypt with Kf_I.
- Transmit the encrypted cell to node 1.
+OP sends relay cell:
+ For I=N...1, where N is the destination node:
+ Encrypt with Kf_I.
+ Transmit the encrypted cell to node 1.
```
<a id="tor-spec.txt-5.5.2.2"></a>
@@ -43,8 +43,8 @@ When a forward relay cell is received by an OR, it decrypts the payload
with the stream cipher, as follows:
```text
- 'Forward' relay cell:
- Use Kf as key; decrypt.
+'Forward' relay cell:
+ Use Kf as key; decrypt.
```
The OR then decides whether it recognizes the relay cell, by
@@ -73,8 +73,8 @@ When a backward relay cell is received by an OR, it encrypts the payload
with the stream cipher, as follows:
```text
- 'Backward' relay cell:
- Use Kb as key; encrypt.
+'Backward' relay cell:
+ Use Kb as key; encrypt.
```
<a id="tor-spec.txt-5.5.3"></a>
@@ -85,12 +85,12 @@ When a relay cell arrives at an OP, the OP decrypts the payload
with the stream cipher as follows:
```text
- OP receives relay cell from node 1:
- For I=1...N, where N is the final node on the circuit:
- Decrypt with Kb_I.
- If the payload is recognized (see [1]), then:
- The sending node is I.
- Stop and process the payload.
+OP receives relay cell from node 1:
+ For I=1...N, where N is the final node on the circuit:
+ Decrypt with Kb_I.
+ If the payload is recognized (see [1]), then:
+ The sending node is I.
+ Stop and process the payload.
```
[1]: ["Relay cells"](./relay-cells.md#relay-cells)