tor/src
Micah Elizabeth Scott 0ca2e62b28 hashx: Rust hook for inspecting and modifying the random number stream
This patch has no effect on the C tor build.

Adds a function hashx_rng_callback() to the hashx API, defined only
when HASHX_RNG_CALLBACK is defined. This is then used in the Rust
wrapper to implement a similar rng_callback().

Included some minimal test cases. This code is intented for
use in cross-compatibility fuzzing tests which drive multiple
implementations of hashx with the same custom Rng stream.

Signed-off-by: Micah Elizabeth Scott <beth@torproject.org>
2023-07-28 21:27:10 -07:00
..
app Merge branch 'maint-0.4.7' 2023-07-26 10:13:21 -04:00
config Merge branch 'maint-0.4.7' 2023-07-26 10:13:21 -04:00
core Merge branch 'maint-0.4.7' 2023-07-24 10:18:53 -04:00
ext hashx: Rust hook for inspecting and modifying the random number stream 2023-07-28 21:27:10 -07:00
feature Merge branch 'maint-0.4.7' 2023-07-24 10:18:53 -04:00
lib Merge branch 'maint-0.4.7' 2023-05-31 14:32:07 -04:00
test Bug 40566: Remove unused BDP estimators 2023-06-27 19:27:10 +00:00
tools Remove broken MSVC support 2022-04-27 23:09:44 -04:00
trunnel hs_pow: swap out some comments 2023-05-10 07:41:37 -07:00
arch_goals.md Document high-level architecture goals 2019-12-10 16:47:38 -06:00
include.am Remove broken MSVC support 2022-04-27 23:09:44 -04:00
mainpage.md Move description of ext contents into an md file. 2020-07-02 13:46:25 -04:00