summaryrefslogtreecommitdiff
path: root/crates/tor-llcrypto/tests
Commit message (Collapse)AuthorAgeFilesLines
* Add a from_hex method for RsaIdentity.Nick Mathewson2022-03-041-2/+13
| | | | | | | | | | | | | We perform this operation in a bunch of places, and most of them use hex::decode(). That's not great, since hex::decode() has to do heap allocation. This implementation uses hex::decode_to_slice(), which should be faster. (In the future we might choose to use one of the faster hex implementations, but I'm hoping that this change will be sufficient to get hex decoding out of our profiles.) Part of #377.
* tor-llcrypto: Add test case for RsaIdentity formattingIan Jackson2022-03-021-0/+19
| | | | | | | I'm going to change the code that does this, so add a test first to check the output doesn't change. At some point we should have more RSA tests.
* Remove clippy::needless_borrow exception in CI.Nick Mathewson2022-02-201-2/+0
| | | | | This exception is no longer necessary now that the underlying CI bug is fixed.
* Temporarily disable some clippy lints on nightlyIan Jackson2022-02-021-0/+2
|
* address lint warningsDaniel Eades2021-12-091-1/+1
|
* tor-llcrypto: Put currently unused functions behind features.Nick Mathewson2021-11-121-0/+1
| | | | | | | | We don't currently need a couple of the key manipulation features that we have, since we aren't yet doing relays or onion service clients. Part of #125
* Move all crates into a `crates` subdirectory.Nick Mathewson2021-08-272-0/+683
This will cause some pain for now, but now is really the best time to do this kind of thing.