altos: Add simple stats test to TRNG code
authorKeith Packard <keithp@keithp.com>
Mon, 8 Feb 2016 06:28:34 +0000 (22:28 -0800)
committerKeith Packard <keithp@keithp.com>
Mon, 8 Feb 2016 06:28:34 +0000 (22:28 -0800)
commitbab082605e3fca6b6d11447c45cd948ddfe74bb9
treeb2dd7f79fd715e3b1e79146f5bdf85002c25b1c4
parent147f0df6a29b37fbfb0824ecd276482f0eecb397
altos: Add simple stats test to TRNG code

This detects broken hardware by making sure the standard deviation in
the raw values used to compute each buffer is at least 128.

Signed-off-by: Keith Packard <keithp@keithp.com>
src/drivers/ao_trng_send.c