<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-llcrypto/src/pk/rsa.rs, branch arti-v1.2.6</title>
<subtitle>mirror of https://gitlab.torproject.org/tpo/core/arti
</subtitle>
<id>http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.2.6</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.2.6'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2023-06-01T14:50:25Z</updated>
<entry>
<title>tor-llcrypto: remove use of arrayref</title>
<updated>2023-06-01T14:50:25Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-06-01T14:50:25Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=dfcbd7d4eeaf07838a7cf365b9fc679e9bf88d4b'/>
<id>urn:sha1:dfcbd7d4eeaf07838a7cf365b9fc679e9bf88d4b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>update rsa to 0.9.x</title>
<updated>2023-05-08T15:24:23Z</updated>
<author>
<name>trinity-1686a</name>
<email>trinity@deuxfleurs.fr</email>
</author>
<published>2023-05-08T15:24:23Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=7d50a34a3acee6507749d0cb7cc908f72ca33667'/>
<id>urn:sha1:7d50a34a3acee6507749d0cb7cc908f72ca33667</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Upgrade to latest rsa crate.</title>
<updated>2023-01-20T13:06:30Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-01-19T20:22:18Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=131775bf3639c1f49d41ca19f2efc3162c316bf7'/>
<id>urn:sha1:131775bf3639c1f49d41ca19f2efc3162c316bf7</id>
<content type='text'>
</content>
</entry>
<entry>
<title>llcrypto: fix a comment.</title>
<updated>2023-01-06T18:03:50Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-12-20T17:01:37Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=7d38bbd829bcbb1f708417d365e509630a233b69'/>
<id>urn:sha1:7d38bbd829bcbb1f708417d365e509630a233b69</id>
<content type='text'>
This described the wrong type of key.
</content>
</entry>
<entry>
<title>llcrypto: clarify meaning of "Identity".</title>
<updated>2023-01-06T18:03:47Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-12-20T16:57:30Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=e7c87372e2a3e1b13be29e908374d5d2219ddacd'/>
<id>urn:sha1:e7c87372e2a3e1b13be29e908374d5d2219ddacd</id>
<content type='text'>
The `Ed25519Identity` and `RsaIdentity` types are not precisely
always used as relay identifiers: they are more generally used as
_key_ identifiers.

This will become relevant as `RsaIdentity` is used for authority
keys (as in authorities' VoterInfo blocks), and as `Ed25519Identity`
is used as the identifier behind an onion service key.
</content>
</entry>
<entry>
<title>Add a new "CtByteArray" type, and use it in Id types.</title>
<updated>2023-01-05T17:34:14Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-01-05T17:34:14Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=9d3f19fd385bc35ee9d821f9e15df2498564516b'/>
<id>urn:sha1:9d3f19fd385bc35ee9d821f9e15df2498564516b</id>
<content type='text'>
This type provides a common implementation for types that are
implemented as arrays of bytes that should only be compared
with constant-time comparisons.
</content>
</entry>
<entry>
<title>llcrypto: Make key id types Redactable.</title>
<updated>2022-11-28T13:01:10Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-11-21T19:25:30Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=8d36fa9996a2ca76e18513003ea77eea6146114a'/>
<id>urn:sha1:8d36fa9996a2ca76e18513003ea77eea6146114a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix a bunch of "needless borrow" warnings on nightly</title>
<updated>2022-11-18T15:12:05Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-11-18T15:12:05Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=d51162e55b19036528b4fafc1d4b15c8d9d23a04'/>
<id>urn:sha1:d51162e55b19036528b4fafc1d4b15c8d9d23a04</id>
<content type='text'>
It looks like, despite a few false starts, they've got this warning
right; there weren't any false positives.
</content>
</entry>
<entry>
<title>Upgrade rsa to 0.7. Closes #613.</title>
<updated>2022-11-10T16:04:20Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-10-28T17:38:42Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=e19ff0ec2129c5bd19deb5cbf61b52c0648e6553'/>
<id>urn:sha1:e19ff0ec2129c5bd19deb5cbf61b52c0648e6553</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add a new constant-time is_zero() check for RsaIdentity</title>
<updated>2022-09-20T13:13:31Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-09-20T13:13:31Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=657914f7787a0ac5bdaad8c15d41a91425e1c8cf'/>
<id>urn:sha1:657914f7787a0ac5bdaad8c15d41a91425e1c8cf</id>
<content type='text'>
There are some places in the protocol where we have an all-zero RSA
identity that does not truly represent a key, but rather represents
an absent or unknown key.  For these, it's better to use
`RsaIdentity::is_zero` instead of manually checking for a set of
zero bytes: it expresses the intent better, and ensures that the
operation is constant-time.

I am deliberately not introducing a more general IsZero trait here,
or implementing is_zero for anything else: This is the only one we
seem to need right now.  We can generalize it later if we have to.
</content>
</entry>
</feed>
