summaryrefslogtreecommitdiff
path: root/crates/tor-llcrypto/src/util
Commit message (Collapse)AuthorAgeFilesLines
* Use testing_rng() in tests throughout our crates.Nick Mathewson2022-06-021-2/+3
| | | | | | This only affects uses of thread_rng(), and affects them all more or less indiscriminately. One test does not work with ARTI_TEST_PRNG=deterministic; the next commit will fix it.
* squash! Bump every crate's edition to 2021.Nick Mathewson2022-04-251-2/+0
| | | | | Remove all `use` statements for `TryFrom` and `TryInto`. These are now redundant in Rust 2021.
* Idle hacking: Get 90% coverage in tor-llcryptoNick Mathewson2021-12-021-0/+112
| | | | | | | For this one I just wrote some "are things completely broken" tests for the rand_compat wrappers. These won't detect subtle biases in the RNGs! They'll only let you know if the wrappers have screwed up in some way that always sets a given bit to 1 or 0.
* add semicolons if nothing returnedDaniel Eades2021-11-251-2/+2
|
* Typo fixesNick Mathewson2021-09-091-1/+1
|
* Move all crates into a `crates` subdirectory.Nick Mathewson2021-08-271-0/+123
This will cause some pain for now, but now is really the best time to do this kind of thing.