<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-proto/src/crypto, branch arti-v1.1.10</title>
<subtitle>mirror of https://gitlab.torproject.org/tpo/core/arti
</subtitle>
<id>http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.1.10</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.1.10'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2023-10-31T11:40:36Z</updated>
<entry>
<title>Precisely cfg-decorate a constant</title>
<updated>2023-10-31T11:40:36Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2023-10-31T11:32:51Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=a49a2cdf22518bd69be5058463fbc57301211a5d'/>
<id>urn:sha1:a49a2cdf22518bd69be5058463fbc57301211a5d</id>
<content type='text'>
Peraonally I would prefer

|  #![cfg_attr(not(all(feature = "full", feature = "experimental")),
|     allow(dead_code))]

but I think that is almost certainly controversial.
See tpo/core/arti#704.
</content>
</entry>
<entry>
<title>Merge branch 'todos_proto' into 'main'</title>
<updated>2023-10-12T16:43:00Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-10-12T16:43:00Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=2872a88cb065b10218f74c7306e93c354a3c048f'/>
<id>urn:sha1:2872a88cb065b10218f74c7306e93c354a3c048f</id>
<content type='text'>
tor-proto: Resolve a few TODO HSS entries.

See merge request tpo/core/arti!1658</content>
</entry>
<entry>
<title>tor-proto: Add a FIXME about an allow</title>
<updated>2023-10-12T13:59:42Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2023-10-10T12:51:32Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=d6a1cfb84aa8060ba17d9c2a25a3396501d0e004'/>
<id>urn:sha1:d6a1cfb84aa8060ba17d9c2a25a3396501d0e004</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Remove the (fairly bogus) HsNtorServiceInput type.</title>
<updated>2023-10-12T13:20:44Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-10-12T13:17:38Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=4c88561eb979a43253422a2584b38b98b4827637'/>
<id>urn:sha1:4c88561eb979a43253422a2584b38b98b4827637</id>
<content type='text'>
This will let avoid some copying inside our HSS code.
</content>
</entry>
<entry>
<title>Merge branch 'refactor-kdf' into 'main'</title>
<updated>2023-10-03T12:48:16Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-10-03T12:48:16Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=5fed9fa0ebd02ed8139407b4473a01c93e408ebd'/>
<id>urn:sha1:5fed9fa0ebd02ed8139407b4473a01c93e408ebd</id>
<content type='text'>
tor-proto: Refactor the key derivation

See merge request tpo/core/arti!1629</content>
</entry>
<entry>
<title>tor-proto: Fix clippy warning.</title>
<updated>2023-10-03T11:05:26Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2023-10-02T10:13:24Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=399d4c8d27f1da600851d10fb1a8482b818b0fbd'/>
<id>urn:sha1:399d4c8d27f1da600851d10fb1a8482b818b0fbd</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-proto: Refactor the key derivation</title>
<updated>2023-09-29T06:09:05Z</updated>
<author>
<name>Emil Engler</name>
<email>me@emilengler.com</email>
</author>
<published>2023-09-29T06:09:05Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=295c565944da864925daad3cfab12de010e97690'/>
<id>urn:sha1:295c565944da864925daad3cfab12de010e97690</id>
<content type='text'>
This commit refactors the key derivation, by applying the following:
- The spaghetti slice creation with the hard-to-read boundaries got
  replaced by a closure, which accepts a length, advances the seed slice
  by n bytes as a side-effect, and returns the just advanced bytes
- The use of `.except` got replaced by an `.or`, with the use of the
  already existing `InvalidKDFOutputLength` error, thereby removing a
  potential panic (probably not reachable in runtime though)
- The conversion from a slice to a `CircuitBinding` got moved into a
  `TryFrom` trait of the appropriate data structure
</content>
</entry>
<entry>
<title>Merge branch 'misc-upgrades' into 'main'</title>
<updated>2023-09-28T15:35:00Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-09-28T15:35:00Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=f6135ebf903a2210b7023d01923641fece4350be'/>
<id>urn:sha1:f6135ebf903a2210b7023d01923641fece4350be</id>
<content type='text'>
Upgrade several dependencies

See merge request tpo/core/arti!1626</content>
</entry>
<entry>
<title>tor-proto: Replace repeating pattern with fill</title>
<updated>2023-09-28T15:00:44Z</updated>
<author>
<name>Emil Engler</name>
<email>me@emilengler.com</email>
</author>
<published>2023-09-28T15:00:44Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=9224d55e9956c13da6386bbb8a13f1373f4c69a3'/>
<id>urn:sha1:9224d55e9956c13da6386bbb8a13f1373f4c69a3</id>
<content type='text'>
This commit replaces a repeating code pattern in the `set_digest`
function for setting the 'Recognized' and Digest field to zero with a
slice fillment.

Besides this, it also adds comments explaining which fields are
currently getting zeroized.
</content>
</entry>
<entry>
<title>Remove direct dependency on generic-array</title>
<updated>2023-09-28T14:59:29Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-09-28T14:15:47Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=34766342614bb4ca5742ee041273e99ff690ed20'/>
<id>urn:sha1:34766342614bb4ca5742ee041273e99ff690ed20</id>
<content type='text'>
Instead of tying ourselves to a particular version of the
generic-array crate, we now always use the version re-exported by
our RustCrypto crates.  This lets us avoid the possibility of
version mismatch.

(Originally I had planned to upgrade to generic-array 1.0, but then
I found that we were not actually using it.)
</content>
</entry>
</feed>
