diff options
author | lloyd <[email protected]> | 2009-01-28 01:18:20 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2009-01-28 01:18:20 +0000 |
commit | 89b72bf90264acc6cb84ee424e29ec4bd0e7539e (patch) | |
tree | 1426894e80bfaa6c4e418007d19c2de53fd82fe7 /src/entropy | |
parent | 22de3aa6cd5aeb21001f58f26b0e24143e41a276 (diff) |
Double the static estimate in es_ftw. To collect 256 bits of estimated
entropy, the proc walker will read about 256K bytes. This seems plenty
sufficient to me.
Diffstat (limited to 'src/entropy')
-rw-r--r-- | src/entropy/proc_walk/es_ftw.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/entropy/proc_walk/es_ftw.cpp b/src/entropy/proc_walk/es_ftw.cpp index 406e84cb0..55f26fa73 100644 --- a/src/entropy/proc_walk/es_ftw.cpp +++ b/src/entropy/proc_walk/es_ftw.cpp @@ -134,7 +134,7 @@ void FTW_EntropySource::poll(Entropy_Accumulator& accum) ::close(fd); if(got > 0) - accum.add(io_buffer.begin(), got, .005); + accum.add(io_buffer.begin(), got, .01); if(accum.polling_goal_achieved()) break; |