aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2004-05-10 05:57:31 +0000
committerRoger Dingledine <arma@torproject.org>2004-05-10 05:57:31 +0000
commit5a97224948fd8d9b6b9c40e075c123c805ae0380 (patch)
treeac81755e1b2c7341887edcb5b9ae500425274f4f /doc
parentae2a2072b911d443f964f07b77e0409fea5df65d (diff)
downloadtor-5a97224948fd8d9b6b9c40e075c123c805ae0380.tar
tor-5a97224948fd8d9b6b9c40e075c123c805ae0380.tar.gz
fix some more bugs in the spec
svn:r1835
Diffstat (limited to 'doc')
-rw-r--r--doc/tor-spec.txt10
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/tor-spec.txt b/doc/tor-spec.txt
index 0c5566c39..5042981b4 100644
--- a/doc/tor-spec.txt
+++ b/doc/tor-spec.txt
@@ -311,9 +311,9 @@ TODO: (very soon)
either an 'exit node' or a non-edge node), it de/encrypts the payload
with AES/CTR, as follows:
'Forward' relay cell (same direction as CREATE):
- Use Kf as key; encrypt.
+ Use Kf as key; decrypt.
'Back' relay cell (opposite direction from CREATE):
- Use Kb as key; decrypt.
+ Use Kb as key; encrypt.
The OR then decides whether it recognizes the relay cell, by
inspecting the payload as described in section 5.1 below. If the OR
@@ -323,11 +323,11 @@ TODO: (very soon)
encounters an unrecognized relay cell, an error has occurred: the OR
sends a DESTROY cell to tear down the circuit.
- When a relay cell arrives at an OP, it the OP encrypts the length and
- payload fields with AES/CTR as follows:
+ When a relay cell arrives at an OP, the OP decrypts the payload
+ with AES/CTR as follows:
OP receives data cell:
For I=N...1,
- Encrypt with Kb_I. If the payload is recognized (see
+ Decrypt with Kb_I. If the payload is recognized (see
section 5.1), then stop and process the payload.
For more information, see section 5 below.