A New Randomness Test Based on Linear Complexity Profile
Kenji Hamano, Fumio Sato, Hirosuke Yamamoto
- Linear complexity can be used to detect predictable nonrandom sequences, and hence it is included in the NIST randomness test suite. But, as shown in this paper, the NIST test suite cannot detect nonrandom sequences that are generated, for instance, by concatenating two different M-sequences with low linear complexity. This defect comes from the fact that the NIST linear complexity test uses deviation from the ideal value only in the last part of the whole linear complexity profile. In this paper, a new faithful linear complexity test is proposed, which uses deviations in all parts of the linear complexity profile and hence can detect even the above nonrandom sequences. An efficient formula is derived to compute the exact area distribution needed for the proposed test. Furthermore, a simple procedure is given to compute the proposed test statistic from linear complexity profile, which requires only O(M) time complexity for a sequence of length M.
- Keywords: randomness test, linear complexity profile, NIST SP800-22
- PDF (240Kbytes) Copyright(c) 2009 IEICE,
Errata
DOI: 10.1587/transfun.E92.A.166