ao-chaosread: Add --infinite and --bytes options
authorKeith Packard <keithp@keithp.com>
Tue, 2 Aug 2016 23:28:17 +0000 (16:28 -0700)
committerKeith Packard <keithp@keithp.com>
Tue, 2 Aug 2016 23:55:11 +0000 (16:55 -0700)
commit3bdc9028502c766d1c8ddb4f0dedba4bbc22384e
treeb402e825b88a692fc4db0e6abe75e731defeab1e
parent826ad792389150ea8d80e341cb8ea023db83c9a2
ao-chaosread: Add --infinite and --bytes options

The --infinite option keeps writing data.
The --bytes options pulls out bits 1-8 which should provide 8 true
bits of entropy.

This combination allows ao-chaosread to be fed directly into dieharder
to validate the hardware.

Signed-off-by: Keith Packard <keithp@keithp.com>
ao-tools/ao-chaosread/ao-chaosread.c