Nick Mathewson
|
4f02812242
|
It's 2020. Update the copyright dates with "make update-copyright"
|
2020-01-08 18:39:17 -05:00 |
|
George Kadianakis
|
d8bd98b2fd
|
Merge branch 'tor-github/pr/1032'
|
2019-05-29 21:28:04 +03:00 |
|
David Goulet
|
29955f13e5
|
Merge branch 'tor-github/pr/1022'
|
2019-05-23 09:50:28 -04:00 |
|
rl1987
|
49acbfad23
|
Don't forget to use the mutex in testing_enable_prefilled_rng()
|
2019-05-17 19:30:09 +03:00 |
|
Nick Mathewson
|
1bf451cffb
|
rng_test_helpers: add a needless lock/unlock pair to please coverity
Fix for CID 1444908
|
2019-05-16 15:04:40 -04:00 |
|
Nick Mathewson
|
72e9c427b8
|
Testing: allow the user to pass a seed in for reproducible-RNG tests
The environment variable TOR_TEST_RNG_SEED, if provided, is a hex
value for the RNG seed.
|
2019-05-15 07:50:56 -04:00 |
|
Nick Mathewson
|
261d43cdd5
|
Make testing_disable_reproducible_rng() log seed on test failure
This should let us simplify test_prob_distr.c and other stuff in the
future.
|
2019-05-15 07:50:56 -04:00 |
|
Nick Mathewson
|
730dddc380
|
Make sure that the rng is not replaced if it is already replaced.
|
2019-04-30 11:11:39 -04:00 |
|
Nick Mathewson
|
604e849d36
|
Make the deterministic and reproducible rng test code handle fast_rng
|
2019-04-30 11:11:39 -04:00 |
|
Nick Mathewson
|
7086a9f90e
|
Make rng mock code also cover strongest_rand.
|
2019-04-30 11:11:39 -04:00 |
|
Nick Mathewson
|
fe173ce0bc
|
Add a testing PRNG replacement that returns canned data.
|
2019-04-30 11:11:39 -04:00 |
|
Nick Mathewson
|
11eaed66bb
|
Add support for deterministic override of crypto_rand() in tests
We had this previously, but we did it differently in different
places. This implementation is pulled from test_prob_distr.c
|
2019-04-30 11:11:39 -04:00 |
|