fips140.c is freely usable C source code implementing the statistical test for correct operation of a random generator specified by FIPS 140. A "-v" flag reports the gathered statistics of the input file. FIPS 140-2 significantly tightens the tests over the previous version. In October 2001 NIST realised that the bounds on the Runs Test were incorrect, and have updated it again. This program supports all three versions as a compile-time switch. The homepage for this implementation of fips140.c is located here: http://www.qualcomm.com.au/UsefulStuff.html