aboutsummaryrefslogtreecommitdiffstats
path: root/checks/common.h
diff options
context:
space:
mode:
authorlloyd <[email protected]>2009-01-31 10:48:07 +0000
committerlloyd <[email protected]>2009-01-31 10:48:07 +0000
commit716176904747020267858f4b8b2c04675d76c873 (patch)
treec5bcf2d7efdea8945c4daae75b48c8bea140523e /checks/common.h
parent89b72bf90264acc6cb84ee424e29ec4bd0e7539e (diff)
In the X9.31 PRNG, move the code that rekeys the cipher and generates V to
a new member function rekey, calling it from both reseed and add_entropy. Previously add_entropy worked without this because the PRNG would reseed itself automatically if it was not at the point when randomize() was called, but once this was removed it was necessary to ensure a rekey kicked off, if appropriate, when calling add_entropy.
Diffstat (limited to 'checks/common.h')
0 files changed, 0 insertions, 0 deletions