File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change 43
43
* - RandAddSeedSleep() seeds everything that fast seeding includes, but additionally:
44
44
* - A high-precision timestamp before and after sleeping 1ms.
45
45
* - (On Windows) Once every 10 minutes, performance monitoring data from the OS.
46
+ - - Once every minute, strengthen the entropy for 10 ms using repeated SHA512.
46
47
* These just exploit the fact the system is idle to improve the quality of the RNG
47
48
* slightly.
48
49
*
49
50
* On first use of the RNG (regardless of what function is called first), all entropy
50
51
* sources used in the 'slow' seeder are included, but also:
51
52
* - (On Windows) Performance monitoring data from the OS.
52
53
* - (On Windows) Through OpenSSL, the screen contents.
54
+ * - Strengthen the entropy for 100 ms using repeated SHA512.
53
55
*
54
56
* When mixing in new entropy, H = SHA512(entropy || old_rng_state) is computed, and
55
57
* (up to) the first 32 bytes of H are produced as output, while the last 32 bytes
You can’t perform that action at this time.
0 commit comments