Displaying 1 result from an estimated 1 matches for "stir_from_command".
Did you mean:
stir_from_commands
2002 Jan 22
4
ssh-rand-helper
...PRNGD directly?
The semantics I'm envisioning here:
Define USE_PRNGD, USE_CMDS, or both.
Case 1: USE_PRNGD && USE_CMDS:
read_seedfile()
fetch 96 bytes from PRNGD
if successful
output(bytes 1-48)
RAND_add(bytes 49-96) /* for seedfile */
Otherwise
stir_from_commands()
stir_from_system()
output(RAND_bytes(48))
write_seedfile()
Case 2: !USE_PRNGD && USE_CMDS:
read_seedfile()
stir_from_commands()
stir_from_system()
output(RAND_bytes(48))
write_seedfile()
Case 3: USE_PRNGD && !USE_CMDS:
fetch...