aboutsummaryrefslogtreecommitdiffstats
path: root/src/rng/hmac_rng/hmac_rng.h
diff options
context:
space:
mode:
authorlloyd <[email protected]>2008-11-07 15:39:30 +0000
committerlloyd <[email protected]>2008-11-07 15:39:30 +0000
commit6a6cd361d4bf28cfcb6a32c2c55b226fef3f9b23 (patch)
treed04ac407358f2ac9563e3837497bcd6cf3837cbe /src/rng/hmac_rng/hmac_rng.h
parent955a5e4beddeb08cffbda3ed1aff1691fcc1d115 (diff)
In HMAC_RNG, periodically fast poll a source while operating normally.
Generate new XTS (extractor salt) values using PRF outputs rather than the clock.
Diffstat (limited to 'src/rng/hmac_rng/hmac_rng.h')
-rw-r--r--src/rng/hmac_rng/hmac_rng.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rng/hmac_rng/hmac_rng.h b/src/rng/hmac_rng/hmac_rng.h
index e735a7899..4b09c4d13 100644
--- a/src/rng/hmac_rng/hmac_rng.h
+++ b/src/rng/hmac_rng/hmac_rng.h
@@ -47,8 +47,8 @@ class BOTAN_DLL HMAC_RNG : public RandomNumberGenerator
std::vector<EntropySource*> entropy_sources;
u32bit entropy;
- SecureVector<byte> K;
- u32bit counter;
+ SecureVector<byte> K, io_buffer;
+ u32bit counter, source_index;
};
}