aboutsummaryrefslogtreecommitdiffstats
path: root/src/entropy/info.txt
diff options
context:
space:
mode:
authorlloyd <[email protected]>2009-01-27 06:27:40 +0000
committerlloyd <[email protected]>2009-01-27 06:27:40 +0000
commit092c6d68006a2d953d8b622ce2c181a6394aed4e (patch)
treeb10582379b69bd2cd4e4af0b66597342f0d28b72 /src/entropy/info.txt
parent497e3656c1141098ab76dc0fb7922e9e9d5b6bc8 (diff)
Have Entropy_Accumulator dump everything into a BufferedComputation.
Since both Randpool and HMAC_RNG fed the input into a MAC anyway, this works nicely. (It would be nicer to use tr1::function but, argh, don't want to fully depend on TR1 quite yet. C++0x cannot come soon enough). This avoids requiring to do run length encoding, it just dumps everything as-is into the MAC. This ensures the buffer is not a potential narrow pipe for the entropy (for instance, one might imagine an entropy source which outputs one random byte every 16 bytes, and the rest some repeating pattern - using a 16 byte buffer, you would only get 8 bits of entropy total, no matter how many times you sampled).
Diffstat (limited to 'src/entropy/info.txt')
-rw-r--r--src/entropy/info.txt1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/entropy/info.txt b/src/entropy/info.txt
index e0b0320b1..bac1d593f 100644
--- a/src/entropy/info.txt
+++ b/src/entropy/info.txt
@@ -4,5 +4,4 @@ load_on auto
<add>
entropy_src.h
-entropy_acc.cpp
</add>