commit c551c2dc07785cc96468a079b1b9a77ddb1e17b0 Author: Dave Rolek dmr-x@riseup.net Date: Fri Jul 6 15:32:20 2018 +0000
Update spec to match correct decryption order
Fixes #26860. --- tor-spec.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
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.