• DocumentCode
    1426427
  • Title

    On Statistical Tests for Randomness Included in the NIST SP800-22 Test Suite and Based on the Binomial Distribution

  • Author

    Pareschi, Fabio ; Rovatti, Riccardo ; Setti, Gianluca

  • Author_Institution
    ENDIF-Eng. Dept., Univ. of Ferrara, Ferrara, Italy
  • Volume
    7
  • Issue
    2
  • fYear
    2012
  • fDate
    4/1/2012 12:00:00 AM
  • Firstpage
    491
  • Lastpage
    505
  • Abstract
    In this paper we review some statistical tests included in the NIST SP 800-22 suite, which is a collection of tests for the evaluation of both true-random (physical) and pseudorandom (algorithmic) number generators for cryptographic applications. The output of these tests is the so-called p-value which is a random variable whose distribution converges to the uniform distribution in the interval [0,1] when testing an increasing number of samples from an ideal generator. Here, we compute the exact non-asymptotic distribution of p-values produced by few of the tests in the suite, and propose some computation-friendly approximations. This allows us to explain why intensive testing produces false-positives with a probability much higher than the expected one when considering asymptotic distribution instead of the true one. We also propose a new approximation for the Spectral Test reference distribution, which is more coherent with experimental results.
  • Keywords
    approximation theory; binomial distribution; cryptography; random number generation; statistical analysis; NIST SP800-22 test suite; asymptotic distribution; binomial distribution; computation-friendly approximation; cryptographic applications; false-positives probability; ideal generator; intensive testing; nonasymptotic distribution; p-value test; pseudorandom number generator; spectral test reference distribution; statistical test; true-random number generator; uniform distribution; Approximation methods; Forensics; Generators; NIST; Reliability; Security; Testing; Computer security; random sequences; statistical analysis;
  • fLanguage
    English
  • Journal_Title
    Information Forensics and Security, IEEE Transactions on
  • Publisher
    ieee
  • ISSN
    1556-6013
  • Type

    jour

  • DOI
    10.1109/TIFS.2012.2185227
  • Filename
    6135498