<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-cell/src/relaycell.rs, branch arti-1.2.1</title>
<subtitle>mirror of https://gitlab.torproject.org/tpo/core/arti
</subtitle>
<id>http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-1.2.1</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-1.2.1'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2024-03-20T14:10:32Z</updated>
<entry>
<title>Add and use RelayCellFormatTrait</title>
<updated>2024-03-20T14:10:32Z</updated>
<author>
<name>Jim Newsome</name>
<email>jnewsome@torproject.org</email>
</author>
<published>2024-03-19T00:30:12Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=8a91f277bbb9faa263a33d6b270f652a0da98068'/>
<id>urn:sha1:8a91f277bbb9faa263a33d6b270f652a0da98068</id>
<content type='text'>
This lets us paramaterize types and functions by a particular relay cell
format. We use this e.g. to statically parameterize the cell crypto
functions, thereby removing some run-time branching in the hot path.
</content>
</entry>
<entry>
<title>RelayCellBody: generalize over RelayCellFormat</title>
<updated>2024-03-20T14:07:53Z</updated>
<author>
<name>Jim Newsome</name>
<email>jnewsome@torproject.org</email>
</author>
<published>2024-03-14T16:52:13Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=86f38c6d785b0adebcc81878719411b6d4648877'/>
<id>urn:sha1:86f38c6d785b0adebcc81878719411b6d4648877</id>
<content type='text'>
Different formats will use different ranges for the `recognized` and
`digest` fields.
</content>
</entry>
<entry>
<title>Remove RelayMsgOuter::decode_from_reader</title>
<updated>2024-03-12T15:58:12Z</updated>
<author>
<name>Jim Newsome</name>
<email>jnewsome@torproject.org</email>
</author>
<published>2024-03-11T20:33:14Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=92f12efe7e76a227bcb363c41d792ed5b8a71e4a'/>
<id>urn:sha1:92f12efe7e76a227bcb363c41d792ed5b8a71e4a</id>
<content type='text'>
The semantics of such a function that supports both the legacy V0 format
and the V1 packing and fragmentation format are a bit tricky. Since it's
not used outside of its module, we can simply remove it.
</content>
</entry>
<entry>
<title>relay-cell: Update relay cell decoding API for prop340</title>
<updated>2024-03-12T15:58:12Z</updated>
<author>
<name>Jim Newsome</name>
<email>jnewsome@torproject.org</email>
</author>
<published>2024-03-05T20:58:01Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=2d427eb93d699e779c608f71a243d581b1027a73'/>
<id>urn:sha1:2d427eb93d699e779c608f71a243d581b1027a73</id>
<content type='text'>
Prop 340:
https://spec.torproject.org/proposals/340-packed-and-fragmented.html

This updates the decoding API to support multiple versions of the relay
cell encoding, including the new encoding proposed in prop340 that
supports relay message packing and fragmentation.

This commit doesn't actually add support for that new encoding yet.
</content>
</entry>
<entry>
<title>Rename UnparsedRelayCell -&gt; UnparsedRelayMsg</title>
<updated>2024-03-12T15:58:12Z</updated>
<author>
<name>Jim Newsome</name>
<email>jnewsome@torproject.org</email>
</author>
<published>2024-03-04T17:17:41Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=190d1cba722c1ebe840eca2b06d82a89678847dc'/>
<id>urn:sha1:190d1cba722c1ebe840eca2b06d82a89678847dc</id>
<content type='text'>
For consistency with the terminology proposed in
https://gitlab.torproject.org/tpo/core/torspec/-/issues/253
</content>
</entry>
<entry>
<title>Fix typos</title>
<updated>2024-01-08T18:19:11Z</updated>
<author>
<name>Dimitris Apostolou</name>
<email>dimitris.apostolou@icloud.com</email>
</author>
<published>2024-01-04T18:32:22Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=4eb54be0657862f5d56b047c16c08dabde6a7377'/>
<id>urn:sha1:4eb54be0657862f5d56b047c16c08dabde6a7377</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add deprecated aliases for old RelayCell names</title>
<updated>2023-12-14T17:07:20Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-12-14T17:07:20Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=97196065afeb9ad1df4e76c45f5f7c66cd863dca'/>
<id>urn:sha1:97196065afeb9ad1df4e76c45f5f7c66cd863dca</id>
<content type='text'>
We should remove these once we do our final renaming here,
but for now we may as well avoid a breaking change.
</content>
</entry>
<entry>
<title>Fix documentation that referred to RelayCell.</title>
<updated>2023-12-14T17:04:40Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-12-14T17:04:40Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=93c2d6429f1af0522669200a69397c8bd9c298f0'/>
<id>urn:sha1:93c2d6429f1af0522669200a69397c8bd9c298f0</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix documentation for {Any}RelayMsgOuter</title>
<updated>2023-12-14T16:58:50Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-12-14T16:58:50Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=4984ff865eefaf80147d54bd2840d14eeb3118dd'/>
<id>urn:sha1:4984ff865eefaf80147d54bd2840d14eeb3118dd</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Rename {Any}RelayCell to {Any}RelayMsgOuter</title>
<updated>2023-12-14T16:56:58Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-12-14T16:43:44Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=8c0b166de3057e0ddb0d7771e50ad5a366bdd7c8'/>
<id>urn:sha1:8c0b166de3057e0ddb0d7771e50ad5a366bdd7c8</id>
<content type='text'>
This commit is pure renaming, done automatically with rust-analyzer.
Comment fixes and other cleanups will be in the subsequent commits.

We're doing this renaming because we need a name for
the combination of a `RelayMsg` and an `Option&lt;StreamId&gt;`
that we use when we have a `RelayMsg`
we intend to route to a given stream or circuit internally.
Previously we called this a `RelayCell`,
but that name was already somewhat inaccurate,
and will become _very_ inaccurate with the arrival of prop340,
which breaksthe 1:1 relationship between relay cells
and relay messages.

(If we didn't do this renaming now, we'd soon be making
the relationship between `UnparsedRelayCell`and `RelayCell`
many-to-many, which would be ridiculous and confusing.)

The `RelayMsgOuter` name is a placeholder:
We expect that we'll want to rename this type,
and may also want to rename `RelayMsg`,
and unify our vocabulary in other areas too.
But such a renaming will have to wait
for a larger discussion affecting the specifications,
so that we can use the same vocabulary everywhere.
</content>
</entry>
</feed>
