Skip to content

Instantly share code, notes, and snippets.

@greenbagels
Last active August 29, 2015 14:27
Show Gist options
  • Save greenbagels/4475cafd38c2914d411f to your computer and use it in GitHub Desktop.
Save greenbagels/4475cafd38c2914d411f to your computer and use it in GitHub Desktop.
RDRAND rngd rngtest
λ ~/ cat /dev/random | rngtest -c 1000
rngtest 5
Copyright (c) 2004 by Henrique de Moraes Holschuh
This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
rngtest: starting FIPS tests...
rngtest: bits received from input: 20000032
rngtest: FIPS 140-2 successes: 1000
rngtest: FIPS 140-2 failures: 0
rngtest: FIPS 140-2(2001-10-10) Monobit: 0
rngtest: FIPS 140-2(2001-10-10) Poker: 0
rngtest: FIPS 140-2(2001-10-10) Runs: 0
rngtest: FIPS 140-2(2001-10-10) Long run: 0
rngtest: FIPS 140-2(2001-10-10) Continuous run: 0
rngtest: input channel speed: (min=167.248; avg=261.089; max=348.219)Kibits/s
rngtest: FIPS tests speed: (min=123.055; avg=204.732; max=211.928)Mibits/s
rngtest: Program run time: 74900301 microseconds
rngtest: starting FIPS tests...
rngtest: bits received from input: 179598616
rngtest: FIPS 140-2 successes: 8968
rngtest: FIPS 140-2 failures: 11
rngtest: FIPS 140-2(2001-10-10) Monobit: 1
rngtest: FIPS 140-2(2001-10-10) Poker: 2
rngtest: FIPS 140-2(2001-10-10) Runs: 5
rngtest: FIPS 140-2(2001-10-10) Long run: 3
rngtest: FIPS 140-2(2001-10-10) Continuous run: 0
rngtest: input channel speed: (min=193.365; avg=261.810; max=348.747)Kibits/s
rngtest: FIPS tests speed: (min=138.214; avg=205.033; max=214.309)Mibits/s
rngtest: Program run time: 670747007 microseconds
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment