+51
−39
+32
−0
+4
−0
src/or/shared_random.c
0 → 100644
+286
−0
src/or/shared_random.h
0 → 100644
+114
−0
Loading
This commit introduces two new files with their header. "shared_random.c" contains basic functions to initialize the state and allow commit decoding for the disk state to be able to parse them from disk. "shared_random_state.c" contains everything that has to do with the state for both our memory and disk. Lots of helper functions as well as a mechanism to query the state in a synchronized way. Signed-off-by:David Goulet <dgoulet@torproject.org> Signed-off-by:
George Kadianakis <desnacked@riseup.net>