<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-cell/src, branch arti-v1.4.3</title>
<subtitle>mirror of https://gitlab.torproject.org/tpo/core/arti
</subtitle>
<id>http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.4.3</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.4.3'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2025-05-01T02:01:43Z</updated>
<entry>
<title>tor-cell: optimize slice indexing</title>
<updated>2025-05-01T02:01:43Z</updated>
<author>
<name>Steven Engler</name>
<email>opara@torproject.org</email>
</author>
<published>2025-05-01T01:27:04Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=1dbe3698641ee1836cf24e497919187c47ae8148'/>
<id>urn:sha1:1dbe3698641ee1836cf24e497919187c47ae8148</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-cell: rename `STREAM_ID_OFFSET` to `STREAM_ID_OFFSET_V0`</title>
<updated>2025-05-01T01:51:55Z</updated>
<author>
<name>Steven Engler</name>
<email>opara@torproject.org</email>
</author>
<published>2025-05-01T01:01:42Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=6f5963d21f3d66ae18a24048eb080d2be8d627da'/>
<id>urn:sha1:6f5963d21f3d66ae18a24048eb080d2be8d627da</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-cell: add `UnparsedRelayMsg::data_len`</title>
<updated>2025-05-01T01:51:55Z</updated>
<author>
<name>Steven Engler</name>
<email>opara@torproject.org</email>
</author>
<published>2025-04-30T17:49:21Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=163dc9d6dd7f167869c54f6f2d95cf04ca2af58d'/>
<id>urn:sha1:163dc9d6dd7f167869c54f6f2d95cf04ca2af58d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>cell: simpler (?) approach to StreamIdReq</title>
<updated>2025-04-16T14:58:49Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2025-04-16T12:33:23Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=deb42f5d25ce8a40dbae2f118e976ebab9def7b1'/>
<id>urn:sha1:deb42f5d25ce8a40dbae2f118e976ebab9def7b1</id>
<content type='text'>
Instead of having a StreamIdReq that indicates
"None in V1, Any in V0", take an optional RelayCellFormat
as an argument.
</content>
</entry>
<entry>
<title>cell: simpler approach to assert-checking offsets</title>
<updated>2025-04-16T14:58:49Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2025-04-16T12:15:32Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=00205f70dace541070a5974931effd2e152387d3'/>
<id>urn:sha1:00205f70dace541070a5974931effd2e152387d3</id>
<content type='text'>
</content>
</entry>
<entry>
<title>cell, proto: Use correct Data sizes for v1 relay cells</title>
<updated>2025-04-16T14:58:49Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2025-04-11T01:57:10Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=497e5f1acd27c2c316c3f5bbf7158c9516fef159'/>
<id>urn:sha1:497e5f1acd27c2c316c3f5bbf7158c9516fef159</id>
<content type='text'>
Since v1 cells have a longer tag, they can fit less data into a
single cell.  Ah well, that's the cost of improved security.

The code in data.rs is a little wonky, in that it currently requires
its buffer to be exactly the maximum size for a data cell.  We have
a TODO about fixing that in the future, but for now I've moved it to
use a boxed slice rather than a boxed array.

Part of #1944.
</content>
</entry>
<entry>
<title>cell: Remove the deprecated Data::split_from().</title>
<updated>2025-04-16T14:58:49Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2025-04-11T01:53:32Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=01b7c735761d878e68912355d1a16fe50d24e5b3'/>
<id>urn:sha1:01b7c735761d878e68912355d1a16fe50d24e5b3</id>
<content type='text'>
</content>
</entry>
<entry>
<title>cell: Implement parsing and encoding for V1 relay cells</title>
<updated>2025-04-16T14:58:49Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2025-04-10T00:09:08Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=51b2102671e7ef00423299b4c6418c0bc609ec5e'/>
<id>urn:sha1:51b2102671e7ef00423299b4c6418c0bc609ec5e</id>
<content type='text'>
This is the main part of #1944, and will be needed for CGO.
</content>
</entry>
<entry>
<title>cell: Add a debugging-only method to simplify debug_asserts.</title>
<updated>2025-04-16T14:58:49Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2025-04-11T00:43:43Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=552dc7ab00bcac254b9b2a39397de9aa4ac0c4c0'/>
<id>urn:sha1:552dc7ab00bcac254b9b2a39397de9aa4ac0c4c0</id>
<content type='text'>
</content>
</entry>
<entry>
<title>cell: Refine StreamIdReq for V1 relay cells, with minimal changes</title>
<updated>2025-04-16T14:58:49Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2025-04-10T23:52:05Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=281a3dcdc9b00fb6724fc5062b13044e5e66e702'/>
<id>urn:sha1:281a3dcdc9b00fb6724fc5062b13044e5e66e702</id>
<content type='text'>
Fortunately, the type is crate-internal, so this is not a breaking
change.

The key insight with this change is that, from the _caller's_ POV,
the set of cells that are allowed to have StreamIDs has not changed.
The only difference is that the V1 relay cell code needs to
distinguish unrecognized commands from the SENDME case.
</content>
</entry>
</feed>
