diff options
author | lloyd <[email protected]> | 2012-07-18 15:15:51 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2012-07-18 15:15:51 +0000 |
commit | b553c2fbbefb4594b78fc51edced8f8d25b4d7c8 (patch) | |
tree | a86c634fe91f4db1c951f79e16e0bb9e3d040d63 /src/build-data | |
parent | 3a86d597322422eec70f0265f7c2e98a4caea033 (diff) |
Some changes to HMAC_RNG:
- Only give out half of K in each iteration. This prevents an
attacker who recovers the PRF key and knows some RNG outputs from
being able to determine other RNG outputs.
- Don't reset the counter on a reseed, and every 1024 outputs (16
Kbytes with default PRF) initiate a poll.
- Don't ever reseed when called with add_entropy, just give it to the
extractor, as we know that eventually we'll reseed at which time
that input will be incorporated.
Diffstat (limited to 'src/build-data')
0 files changed, 0 insertions, 0 deletions