In several places, the tests override crypto_rand() or crypto_fast_prng() for one reason or another. We should provide a standard way for the tests to do this.
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Child items ...
Show closed items
Linked items 0
Link issues together to show that they're related.
Learn more.
I think this code looks good and can be merged. I've been focusing on checking to ensure that the API cannot be used wrongly in a non-testing setup and it seems like the important functions here are all protected using the TOR_UNIT_TESTS guard. If the reseeding mechanism, outside of the unit test setup, is disabled, Tor will crash with an unreached assertion in "production", which is what we want I think.