mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-28 06:13:31 +01:00
155fa2dbdb
Check that crypto_rand doesn't return all zeroes, identical values, or incrementing values (OpenSSL's rand_predictable feature).
6 lines
265 B
Plaintext
6 lines
265 B
Plaintext
o Minor features (unit tests, random number generation):
|
|
- Add unit tests that check for common RNG failure modes, such as
|
|
returning all zeroes, identical values, or incrementing values
|
|
(OpenSSL's rand_predictable feature).
|
|
Patch by "teor".
|