From 0a9152898efe593bb96a619caf9d74f0bc7f75e4 Mon Sep 17 00:00:00 2001 From: lloyd Date: Sat, 31 Jan 2009 10:50:19 +0000 Subject: Make Entropy_Accumulator a pure virtual to allow other accumulation techniques, with the one using BufferedComputation being the new subclass with the charming name Entropy_Accumulator_BufferedComputation. --- src/rng/hmac_rng/hmac_rng.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/rng/hmac_rng') diff --git a/src/rng/hmac_rng/hmac_rng.cpp b/src/rng/hmac_rng/hmac_rng.cpp index ffdfdc60d..ede2b5a08 100644 --- a/src/rng/hmac_rng/hmac_rng.cpp +++ b/src/rng/hmac_rng/hmac_rng.cpp @@ -69,7 +69,7 @@ void HMAC_RNG::reseed_with_input(u32bit poll_bits, feedback of the current PRK value, into the extractor function. */ - Entropy_Accumulator accum(*extractor, poll_bits); + Entropy_Accumulator_BufferedComputation accum(*extractor, poll_bits); for(u32bit i = 0; i < entropy_sources.size(); ++i) { -- cgit v1.2.3