aboutsummaryrefslogtreecommitdiff
path: root/proposals/340-packed-and-fragmented.md
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2023-11-09 21:06:15 -0500
committerNick Mathewson <nickm@torproject.org>2023-11-09 21:06:15 -0500
commitdb5400a93658fc6fbf323d8ddccef988cd9cf508 (patch)
tree6e125dcea8de94b01d540e7789b7e40989c4b48f /proposals/340-packed-and-fragmented.md
parentbd2260419ce5981778943489fc4fc057251c5bdf (diff)
parentf275aa9f638ddef1f83006260ac27c609a426a45 (diff)
downloadtorspec-db5400a93658fc6fbf323d8ddccef988cd9cf508.tar.gz
torspec-db5400a93658fc6fbf323d8ddccef988cd9cf508.zip
Merge remote-tracking branch 'origin/mr/220'
Diffstat (limited to 'proposals/340-packed-and-fragmented.md')
-rw-r--r--proposals/340-packed-and-fragmented.md8
1 files changed, 5 insertions, 3 deletions
diff --git a/proposals/340-packed-and-fragmented.md b/proposals/340-packed-and-fragmented.md
index 82adb8e..6c27fcd 100644
--- a/proposals/340-packed-and-fragmented.md
+++ b/proposals/340-packed-and-fragmented.md
@@ -51,9 +51,11 @@ formats going on at the same time.
The new format for a decrypted relay _cell_ will be:
- recognized [2 bytes]
- digest [14 bytes]
- body [509 - 16 = 493 bytes]
+```text
+recognized [2 bytes]
+digest [14 bytes]
+body [509 - 16 = 493 bytes]
+```
The `recognized` and `digest` fields are computed as before; the only
difference is that they occur _before_ the rest of the cell, and that `digest`