| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Fix some warnings about needless & from nightly clippy | Nick Mathewson | 2021-06-18 | 2 | -2/+2 |
| | | |||||
| * | tor-llcrypto: Improve documentation and move keyblinding. | Nick Mathewson | 2021-05-21 | 3 | -128/+192 |
| | | |||||
| * | Add unseparated_literal_suffix lint, and fix it. | Nick Mathewson | 2021-05-03 | 1 | -1/+1 |
| | | |||||
| * | Enforce (and obey) clippy lints about exhaustive enums, structs. | Nick Mathewson | 2021-04-27 | 1 | -0/+1 |
| | | | | | | | | | These lints force us to declare our exported enums and exhaustive-looking structs as non-exhaustive (so that we can add to them in the future without breaking our API) or to explicitly disable the warning for a given enum/struct (to say that we _intend_ for additions to be a breaking change). | ||||
| * | Resolve two clippy warnings in blind_pubkey. | Nick Mathewson | 2021-03-29 | 1 | -2/+2 |
| | | |||||
| * | Merge remote-tracking branch 'origin/mr/23' | Nick Mathewson | 2021-03-29 | 1 | -0/+107 |
| |\ | |||||
| | * | v3: Add two new test vectors that test key blinding clamping. | George Kadianakis | 2021-03-30 | 1 | -0/+6 |
| | | | |||||
| | * | v3: Improve error handling on key blinding. | George Kadianakis | 2021-03-30 | 1 | -5/+22 |
| | | | |||||
| | * | Implement basic ed25519 key blinding for v3 onion services. | George Kadianakis | 2021-03-29 | 1 | -0/+84 |
| | | | |||||
| * | | Fix Rust-1.51 clippy warnings about acronyms in camel case. | Nick Mathewson | 2021-03-29 | 1 | -2/+2 |
| | | | | | | | | | This is painful, but we shouldn't have to do it again. | ||||
| * | | Rename Rsa{Identity,Signature} to fix clippy warning. | Nick Mathewson | 2021-03-29 | 1 | -37/+37 |
| |/ | |||||
| * | Add a compatibility layer so we can upgrade rand_core. | Nick Mathewson | 2021-03-18 | 1 | -1/+2 |
| | | | | | | | dalek-crypto is stuck on rand_core 0.5.1, so we've been stuck too. This commit introduces a compatibility module so that we can wrap new rand_core instances to make them backward compatible. | ||||
| * | Change an unwrap() in llcrypto to an expect(). | Nick Mathewson | 2021-03-16 | 1 | -1/+1 |
| | | |||||
| * | Avoid unwrap() in llcrypto. | Nick Mathewson | 2021-03-04 | 1 | -1/+1 |
| | | |||||
| * | run cargo fix --edition-idioms | Nick Mathewson | 2021-02-25 | 2 | -4/+4 |
| | | |||||
| * | Add serde implementations for identity key types. | Nick Mathewson | 2021-02-10 | 2 | -0/+117 |
| | | |||||
| * | Make RSAIdentity implement Copy. | Nick Mathewson | 2020-12-08 | 1 | -2/+1 |
| | | |||||
| * | De-parameterize ChanMgr and everything that wraps it. | Nick Mathewson | 2020-12-08 | 1 | -0/+1 |
| | | | | | | | | | | | | | | | This makes a whole lot of our code simpler, and makes it so that CircMgr and DirMgr no longer need to have anything parameterized over transports, either. Instead of boxing Transport inside of ChanMgr, I've made a new Connection trait that goes from a ChanTarget* straight to a Channel. This lets us avoid having to box the intermediate TLS object. [*] Actually, a copy of the information from a ChanTarget. Ick, but I had to make a copy to avoid parameterizing Connecter::build_channel. | ||||
| * | Run cargo fix --edition-idioms | Nick Mathewson | 2020-12-02 | 1 | -2/+2 |
| | | |||||
| * | Tests for tor-chanmgr. | Nick Mathewson | 2020-10-30 | 1 | -0/+1 |
| | | |||||
| * | Implement a channel-manager type to get or launch channels on request. | Nick Mathewson | 2020-10-30 | 1 | -1/+1 |
| | | |||||
| * | Use from_bytes name for Ed25519Identity | Nick Mathewson | 2020-10-25 | 1 | -2/+2 |
| | | |||||
| * | Test for finish-handshake function | Nick Mathewson | 2020-10-23 | 1 | -0/+6 |
| | | |||||
| * | More tests for ed25519identity | Nick Mathewson | 2020-10-21 | 1 | -2/+9 |
| | | |||||
| * | Implement From, not Into. | Nick Mathewson | 2020-10-19 | 1 | -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 routerdescs | Nick Mathewson | 2020-10-19 | 1 | -0/+6 |
| | | |||||
| * | Improvements to Relay type in tor-netdir. | Nick Mathewson | 2020-10-19 | 1 | -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 Mathewson | 2020-10-18 | 1 | -1/+6 |
| | | |||||
| * | Use Ed25519Identity in microdescriptors. | Nick Mathewson | 2020-10-15 | 1 | -3/+12 |
| | | |||||
| * | Add an (unchecked) Ed25519Identity type | Nick Mathewson | 2020-10-15 | 1 | -0/+76 |
| | | | | | | This type differs from ed25519::PublicKey in that it is _not_ checked or expanded. | ||||
| * | llcrypto: Move ed25519 module into its own file. | Nick Mathewson | 2020-10-15 | 1 | -0/+73 |
| | | |||||
| * | tests for some failing cases in mdconsensus | Nick Mathewson | 2020-10-06 | 1 | -1/+1 |
| | | |||||
| * | Make rsa::PublicKey derive Debug. | Nick Mathewson | 2020-10-02 | 1 | -1/+1 |
| | | |||||
| * | Document private members in most crates | Nick Mathewson | 2020-09-24 | 1 | -0/+6 |
| | | |||||
| * | Now that the rsa crate has pkcs1 decoding, use it. | Nick Mathewson | 2020-09-13 | 1 | -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 Mathewson | 2020-09-13 | 1 | -7/+4 |
| | | |||||
| * | Add test vectors for curve25519->ed25519 parts of llcrypto | Nick Mathewson | 2020-09-13 | 1 | -1/+2 |
| | | | | | | | 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 conversion | Nick Mathewson | 2020-09-13 | 1 | -4/+30 |
| | | | | | | | | 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 kludge | Nick Mathewson | 2020-09-13 | 1 | -0/+5 |
| | | |||||
| * | Fix bogus docs in ll::pk::rsa | Nick Mathewson | 2020-09-09 | 1 | -2/+2 |
| | | |||||
| * | Fix clippy warnings; improve key type for consensus. | Nick Mathewson | 2020-09-07 | 1 | -2/+1 |
| | | |||||
| * | RSAIdentity: Better Display and Debug. | Nick Mathewson | 2020-09-07 | 1 | -1/+14 |
| | | |||||
| * | llcrypto: Define a "ValidatableSignature" type | Nick Mathewson | 2020-09-03 | 1 | -0/+27 |
| | | | | | | 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 RSAIdentity | Nick Mathewson | 2020-08-28 | 1 | -1/+7 |
| | | | | | | For whatever reason, something I had didn't like me implementing a custom PartialEq but deriving Hash | ||||
| * | llcrypto: make RSAIdentity implement the Hash trait. | Nick Mathewson | 2020-08-27 | 1 | -1/+1 |
| | | |||||
| * | Upgrade to latest version of rsa crate | Nick Mathewson | 2020-06-12 | 1 | -13/+13 |
| | | |||||
| * | update to use latest rust-crypto traits and modules | Nick Mathewson | 2020-06-10 | 1 | -1/+1 |
| | | |||||
| * | make id field in RSAIdentity private | Nick Mathewson | 2020-05-08 | 1 | -2/+4 |
| | | |||||
| * | most missing docs for llcrypto | Nick Mathewson | 2020-05-08 | 2 | -11/+51 |
| | | |||||
| * | Stop re-exporting traits from tor-llcrypto. It does not help. | Nick Mathewson | 2020-05-08 | 2 | -2/+2 |
| | | |||||
