aboutsummaryrefslogtreecommitdiff
path: root/tor-spec.txt
diff options
context:
space:
mode:
authorDave Rolek <dmr-x@riseup.net>2018-07-06 15:32:20 +0000
committerDave Rolek <dmr-x@riseup.net>2018-07-18 19:51:43 +0000
commitc551c2dc07785cc96468a079b1b9a77ddb1e17b0 (patch)
tree39a5919e2912275de91a4c60c82c5fe599a684b3 /tor-spec.txt
parent1fb4cb58e98af3d4ac153efe6d0ddc43665d9a74 (diff)
downloadtorspec-c551c2dc07785cc96468a079b1b9a77ddb1e17b0.tar.gz
torspec-c551c2dc07785cc96468a079b1b9a77ddb1e17b0.zip
Update spec to match correct decryption order
Fixes #26860.
Diffstat (limited to 'tor-spec.txt')
-rw-r--r--tor-spec.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/tor-spec.txt b/tor-spec.txt
index ea195ad..db32093 100644
--- a/tor-spec.txt
+++ b/tor-spec.txt
@@ -1377,7 +1377,7 @@ see tor-design.pdf.
When a relay cell arrives at an OP, the OP decrypts the payload
with the stream cipher as follows:
OP receives data cell:
- For I=N...1,
+ For I=1...N,
Decrypt with Kb_I. If the payload is recognized (see
section 6..1), then stop and process the payload.