Study on upper limit of sample sizes for a two-level test in NIST SP800-22
Hiroshi Haramoto

TL;DR
This paper establishes practical upper limits for sample sizes in NIST SP800-22's two-level tests to improve their reliability in evaluating pseudorandom number generators, addressing issues of false rejections.
Contribution
It introduces a method to determine upper bounds for second-level sample sizes in two-level tests, enhancing test accuracy and proposing an exact probability approach for better sensitivity.
Findings
Proposed upper limits prevent false rejections of good PRNGs.
Using exact probabilities increases test sensitivity.
Experiments validate the effectiveness of the new upper limits.
Abstract
NIST SP800-22 is one of the most widely used statistical testing tools for pseudorandom number generators (PRNGs). This tool consists of 15 tests (one-level tests) and two additional tests (two-level tests). Each one-level test provides one or more -values. The two-level tests measure the uniformity of the obtained -values for a fixed one-level test. One of the two-level tests categorizes the -values into ten intervals of equal length, and apply a chi-squared goodness-of-fit test. This two-level test is often more powerful than one-level tests, but sometimes it rejects even good PRNGs when the sample size at the second level is too large, since it detects approximation errors in the computation of -values. In this paper, we propose a practical upper limit of the sample size in this two-level test, for each of six tests appeared in SP800-22. These upper limits are derived by…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsChaos-based Image/Signal Encryption · Cryptography and Residue Arithmetic · Cryptographic Implementations and Security
