summaryrefslogtreecommitdiff
path: root/tor-llcrypto
Commit message (Collapse)AuthorAgeFilesLines
...
* Implement a channel-manager type to get or launch channels on request.Nick Mathewson2020-10-301-1/+1
|
* Run "cargo upgrade".Nick Mathewson2020-10-263-6/+6
|
* Use from_bytes name for Ed25519IdentityNick Mathewson2020-10-252-4/+4
|
* Test for finish-handshake functionNick Mathewson2020-10-231-0/+6
|
* Add a fuzzer for our x509_rsa_kludge function.Nick Mathewson2020-10-213-0/+37
|
* Ed25519 batch verification test.Nick Mathewson2020-10-211-1/+39
|
* More tests for ed25519identityNick Mathewson2020-10-212-2/+48
|
* Implement From, not Into.Nick Mathewson2020-10-191-4/+4
| | | | | These traits are inverses of one another, but implementing From is always preferred since rust 1.41 relaxed the "orphan rules".
* Validate master-key-ed25519 field in routerdescsNick Mathewson2020-10-191-0/+6
|
* Improvements to Relay type in tor-netdir.Nick Mathewson2020-10-191-0/+8
| | | | | | | | | | | Now, a Relay is always valid. This required some changes to the API: all_relays() has to return a new UncheckedRelay type that might or might not be valid, and the functions on Relay and ChanTarget that return ed25519 identities need to return an Ed25519Identity, not an ed25519::PublicKey. This change required some new encoding/decoding/conversion functions on Ed25519Identity.
* Clarify kludgey magic in our to_der() function.Nick Mathewson2020-10-181-1/+6
|
* Run "cargo upgrade".Nick Mathewson2020-10-151-2/+2
|
* Use Ed25519Identity in microdescriptors.Nick Mathewson2020-10-152-4/+13
|
* Add an (unchecked) Ed25519Identity typeNick Mathewson2020-10-153-6/+91
| | | | | This type differs from ed25519::PublicKey in that it is _not_ checked or expanded.
* llcrypto: Move ed25519 module into its own file.Nick Mathewson2020-10-152-75/+74
|
* tests for some failing cases in mdconsensusNick Mathewson2020-10-061-1/+1
|
* Make rsa::PublicKey derive Debug.Nick Mathewson2020-10-021-1/+1
|
* Enable batch ed25519 verification.Nick Mathewson2020-10-022-1/+59
|
* Run cargo upgrade.Nick Mathewson2020-09-261-1/+1
|
* Document private members in most cratesNick Mathewson2020-09-244-2/+25
|
* Run cargo upgradeNick Mathewson2020-09-211-4/+3
|
* Add test for failing RSA identity constructionNick Mathewson2020-09-131-0/+7
|
* Add some test vectors for rsa, taken from chutneyNick Mathewson2020-09-132-0/+78
|
* Now that the rsa crate has pkcs1 decoding, use it.Nick Mathewson2020-09-131-40/+7
| | | | | | Also, instead of implementing an otherwise-derivable Hash for rsa public keys, tell clippy not to worry that we're defining partialeq but not hash.
* stop exposing rsa::errors::Result.Nick Mathewson2020-09-131-7/+4
|
* Add unit test for ValidatableEd25519SignatureNick Mathewson2020-09-131-0/+28
|
* Add test vectors for curve25519->ed25519 parts of llcryptoNick Mathewson2020-09-132-1/+53
| | | | | | Also add a terminating NUL byte to a derivation string, to ensure that our results match Tor's results. (This does not actually serve a purpose FWICT.)
* llcrypto: Fix a bug in ed25519->curve25519 secret key conversionNick Mathewson2020-09-132-4/+31
| | | | | | | We were taking the sign bit from the _secret_ key, which is totally incorrect. Instead it needs to be taken from the _public_ key. Additionally, add a unit test for ed25519->curve25519 code.
* llcrypto: tests for rsa kludgeNick Mathewson2020-09-134-0/+31
|
* Pare down and sort dependenciesNick Mathewson2020-09-091-14/+12
|
* Run cargo upgrade, except for stream-cipher.Nick Mathewson2020-09-091-5/+5
|
* cargo fix --edition-idiomsNick Mathewson2020-09-091-5/+5
|
* Also RSA identities on channel handshakesNick Mathewson2020-09-092-0/+64
| | | | | | This took a good bit of hacking, including a kludge to extract an RSA subject key from an x509 cert, since we didn't have a good way to do that.
* Fix bogus docs in ll::pk::rsaNick Mathewson2020-09-091-2/+2
|
* Fix clippy warnings; improve key type for consensus.Nick Mathewson2020-09-071-2/+1
|
* RSAIdentity: Better Display and Debug.Nick Mathewson2020-09-072-1/+15
|
* Migrate certificate and routerdesc checking to tor-checkableNick Mathewson2020-09-031-8/+7
| | | | | Now these types are parsed and returned wrapped inside a checkable object.
* llcrypto: Define a "ValidatableSignature" typeNick Mathewson2020-09-033-1/+68
| | | | | This type wraps a signature, a public key, and the signed object. It's meant to be useful for implementing SelfSigned objects.
* Implement an ersatz hash() for RSAIdentityNick Mathewson2020-08-281-1/+7
| | | | | For whatever reason, something I had didn't like me implementing a custom PartialEq but deriving Hash
* Run cargo-upgrade.Nick Mathewson2020-08-281-9/+8
|
* llcrypto: add test vectors for sha3 and shakeNick Mathewson2020-08-281-1/+147
|
* llcrypto: make RSAIdentity implement the Hash trait.Nick Mathewson2020-08-271-1/+1
|
* Update to latest packages; ed25519 now needs signature crate traits.Nick Mathewson2020-07-202-9/+11
|
* Use "cargo upgrade" from cargo-edit to list current versionsNick Mathewson2020-06-121-32/+21
|
* Upgrade to latest version of rsa crateNick Mathewson2020-06-121-13/+13
|
* update to use latest rust-crypto traits and modulesNick Mathewson2020-06-103-6/+7
|
* llcrypto: test vectors for sha2Nick Mathewson2020-05-211-2/+44
|
* Use links for traits in llcrypto docsNick Mathewson2020-05-083-4/+8
|
* Upgrade to a modern version of "sha-1".Nick Mathewson2020-05-082-46/+5
| | | | | Apparently the "sha1" crate doesn't implement the RustCrypto API, but the "sha-1" crate does.
* make id field in RSAIdentity privateNick Mathewson2020-05-081-2/+4
|