summaryrefslogtreecommitdiff
path: root/src/rand-isaac.c
AgeCommit message (Collapse)Author
2005-12-12(struct irand_state, irand_init, irand32, irand_mod): Move to shred.c.Paul Eggert
2005-12-12Revert to what used to be in shred.c, withoutPaul Eggert
changing it to allow for varying numbers of words in the state. Alter so that we include rand-isaac.c directly rather than compiling it and linking to it. Don't include config.h or system.h; that's the includer's responsibility. (ISAAC_LOG, ISAAC_WORDS, ISAAC_BYTES, struct isaac_state, ind): (isaac_step, struct irand_state): Resurrect these, with the same defns that used to be in shred.c. (ISAAC_SIZE, isaac_new, isaac_copy): Remove. (isaac_refill, isaac_seed_start, isaac_seed_data, irand_init, irand32): static again. (struct isaac_state, isaac_refill, isaac_mix, isaac_init): (isaac_seed_start, isaac_seed_data, isaac_seed_finish, isaac_seed): (irand_init, irand32, irand_mod): Number of words is constant again.
2005-12-10Cleaner:Jim Meyering
Make the local an `int' instead.
2005-12-10Avoid shred segfault on 64-bit systems.Jim Meyering
(isaac_refill): Don't try to negate a local of type uint32_t. Convert it to int32_t first.
2005-12-10* src/rand-isaac.c (isaac_mix): Declare to be static.Jim Meyering
Mark all other functions as `extern' so the tight-scope part of `make distcheck' passes once again. * src/rand-isaac.h (isaac_mix): Remove declaration.
2005-12-10New file, containing ISAAC code that was in shred.c.Paul Eggert
Make state size runtime-configurable. (isaac_new, isaac_copy): New functions.