diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2006-08-08 22:19:39 +0000 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2006-08-08 22:19:39 +0000 |
commit | 65533e1b0939bba6a1a222ebc82189f448640ea9 (patch) | |
tree | f212268d42827ddf7444faf8edc87de3b263fb86 /.x-sc_file_system | |
parent | 129e7756b94ed951e74bb2fb062e45a9f718224c (diff) | |
download | coreutils-65533e1b0939bba6a1a222ebc82189f448640ea9.tar.xz |
Use new random-number interface rather than rand-isaac.c.
Don't include rand-isaac.c; include randint.h and randread.h instead.
(RANDOM_SOURCE_OPTION): New enum.
(long_opts, usage, main): New option --random-source.
(struct irand_state, irand_init, irand32, irand_mod): Remove.
All callers changed to use randint interface.
(fillrand): Remove. All callers changed to use randread interface.
(dopass): Remove dependency on ISAAC buffer size.
(genpattern): Don't wipe the random state here.
(randint_source): New static var.
(clear_random_data): New function.
(main): Allocate random source, and arrange to wipe it on exit.
Diffstat (limited to '.x-sc_file_system')
0 files changed, 0 insertions, 0 deletions