aboutsummaryrefslogtreecommitdiffstats
path: root/modules/es_unix/es_unix.cpp
diff options
context:
space:
mode:
authorlloyd <[email protected]>2008-04-07 01:41:17 +0000
committerlloyd <[email protected]>2008-04-07 01:41:17 +0000
commita48d895cf5e6874f4ae60c803bda17d62edb7a7b (patch)
tree2a9531c1ee40403b5a0ff218280bbbe6c9cb2db9 /modules/es_unix/es_unix.cpp
parentd4121aee5eeab8328bb6a59ba0c2f16e2d3a72fa (diff)
In Botan, the Timer base class provides access to a high-resolution
timer with an unspecified update rate and epoch. It is only used inside the entropy sources to provide some timing-dependent randomness. However, it is easier and basically 'as good' to treat the timers as entropy sources in their own right and feed their output directly into an entropy pool. This commit removes Library_State::system_clock and all calls to that function.
Diffstat (limited to 'modules/es_unix/es_unix.cpp')
-rw-r--r--modules/es_unix/es_unix.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/modules/es_unix/es_unix.cpp b/modules/es_unix/es_unix.cpp
index 3aaf6369a..baa413d55 100644
--- a/modules/es_unix/es_unix.cpp
+++ b/modules/es_unix/es_unix.cpp
@@ -91,8 +91,6 @@ void Unix_EntropySource::do_slow_poll()
u32bit got = 0;
for(u32bit j = 0; j != sources.size(); j++)
{
- add_timestamp();
-
DataSource_Command pipe(sources[j].name_and_args, PATH);
SecureVector<byte> buffer(DEFAULT_BUFFERSIZE);