aboutsummaryrefslogtreecommitdiff
path: root/spec/tor-spec/routing-relay-cells.md
diff options
context:
space:
mode:
Diffstat (limited to 'spec/tor-spec/routing-relay-cells.md')
-rw-r--r--spec/tor-spec/routing-relay-cells.md14
1 files changed, 7 insertions, 7 deletions
diff --git a/spec/tor-spec/routing-relay-cells.md b/spec/tor-spec/routing-relay-cells.md
index a9e3c49..66d5625 100644
--- a/spec/tor-spec/routing-relay-cells.md
+++ b/spec/tor-spec/routing-relay-cells.md
@@ -28,7 +28,7 @@ are sent.
### Routing from the Origin
-When a relay cell is sent from an OP, the OP encrypts the payload
+When a relay cell is sent from an OP, the OP encrypts the cell's body
with the stream cipher as follows:
```text
@@ -42,7 +42,7 @@ OP sends relay cell:
### Relaying Forward at Onion Routers
-When a forward relay cell is received by an OR, it decrypts the payload
+When a forward relay cell is received by an OR, it decrypts the cell's body
with the stream cipher, as follows:
```text
@@ -51,7 +51,7 @@ with the stream cipher, as follows:
```
The OR then decides whether it recognizes the relay cell, by
-inspecting the payload as described in [Relay cells](./relay-cells.md#relay-cells). If the OR
+inspecting the cell as described in [Relay cells](./relay-cells.md#relay-cells). If the OR
recognizes the cell, it processes the contents of the relay cell.
Otherwise, it passes the decrypted relay cell along the circuit if
the circuit continues. If the OR at the end of the circuit
@@ -72,7 +72,7 @@ CREATE/CREATE2 cells.
### Relaying Backward at Onion Routers
-When a backward relay cell is received by an OR, it encrypts the payload
+When a backward relay cell is received by an OR, it encrypts the cell's body
with the stream cipher, as follows:
```text
@@ -84,16 +84,16 @@ with the stream cipher, as follows:
## Routing to the Origin
-When a relay cell arrives at an OP, the OP decrypts the payload
+When a relay cell arrives at an OP, the OP decrypts the cell's body
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:
+ If the cell is recognized (see [1]), then:
The sending node is I.
- Stop and process the payload.
+ Stop and process the cell.
```
\[1\]: ["Relay cells"](./relay-cells.md#relay-cells)