Skip to main content

2016 | OriginalPaper | Buchkapitel

More Powerful and Reliable Second-Level Statistical Randomness Tests for NIST SP 800-22

verfasst von : Shuangyi Zhu, Yuan Ma, Jingqiang Lin, Jia Zhuang, Jiwu Jing

Erschienen in: Advances in Cryptology – ASIACRYPT 2016

Verlag: Springer Berlin Heidelberg

Aktivieren Sie unsere intelligente Suche, um passende Fachinhalte oder Patente zu finden.

search-config
loading …

Abstract

Random number generators (RNGs) are essential for cryptographic systems, and statistical tests are usually employed to assess the randomness of their outputs. As the most commonly used statistical test suite, the NIST SP 800-22 suite includes 15 test items, each of which contains two-level tests. For the test items based on the binomial distribution, we find that their second-level tests are flawed due to the inconsistency between the assessed distribution and the assumed one. That is, the sequence that passes the test could still have statistical flaws in the assessed aspect. For this reason, we propose Q-value as the metric for these second-level tests to replace the original P-value without any extra modification, and the first-level tests are kept unchanged. We provide the correctness proof of the proposed Q-value based second-level tests. We perform the theoretical analysis to demonstrate that the modification improves not only the detectability, but also the reliability. That is, the tested sequence that dissatisfies the randomness hypothesis has a higher probability to be rejected by the improved test, and the sequence that satisfies the hypothesis has a higher probability to pass it. The experimental results on several deterministic RNGs indicate that, the Q-value based method is able to detect some statistical flaws that the original SP 800-22 suite cannot realize under the same test parameters.

Sie haben noch keine Lizenz? Dann Informieren Sie sich jetzt über unsere Produkte:

Springer Professional "Wirtschaft+Technik"

Online-Abonnement

Mit Springer Professional "Wirtschaft+Technik" erhalten Sie Zugriff auf:

  • über 102.000 Bücher
  • über 537 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Maschinenbau + Werkstoffe
  • Versicherung + Risiko

Jetzt Wissensvorsprung sichern!

Springer Professional "Technik"

Online-Abonnement

Mit Springer Professional "Technik" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 390 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Maschinenbau + Werkstoffe




 

Jetzt Wissensvorsprung sichern!

Springer Professional "Wirtschaft"

Online-Abonnement

Mit Springer Professional "Wirtschaft" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 340 Zeitschriften

aus folgenden Fachgebieten:

  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Versicherung + Risiko




Jetzt Wissensvorsprung sichern!

Anhänge
Nur mit Berechtigung zugänglich
Fußnoten
1
For a sufficiently large number of trials, the distribution of the binomial sum after normalizing, is closely approximated by a standard normal distribution [11].
 
2
The term of q-value is defined as a measure of significance in terms of the false discovery rate [12, 13], while in this paper we use Q-value as another definition.
 
3
The half-normal distribution refers to the fold at the mean of the standard normal distribution in this paper.
 
Literatur
2.
3.
Zurück zum Zitat Devroye, L.: Introduction. In: Devroye, L. (ed.) Non-Uniform Random Variate Generation, pp. 1–26. Springer, New York (1986)CrossRef Devroye, L.: Introduction. In: Devroye, L. (ed.) Non-Uniform Random Variate Generation, pp. 1–26. Springer, New York (1986)CrossRef
4.
Zurück zum Zitat Hamano, K.: The distribution of the spectrum for the discrete fourier transform test included in SP800-22. IEICE Trans. 88–A(1), 67–73 (2005)CrossRef Hamano, K.: The distribution of the spectrum for the discrete fourier transform test included in SP800-22. IEICE Trans. 88–A(1), 67–73 (2005)CrossRef
5.
Zurück zum Zitat Hamano, K., Kaneko, T.: Correction of overlapping template matching test included in NIST randomness test suite. IEICE Trans. 90–A(9), 1788–1792 (2007)CrossRef Hamano, K., Kaneko, T.: Correction of overlapping template matching test included in NIST randomness test suite. IEICE Trans. 90–A(9), 1788–1792 (2007)CrossRef
9.
Zurück zum Zitat Pareschi, F., Rovatti, R., Setti, G.: Second-level NIST randomness tests for improving test reliability. In: International Symposium on Circuits and Systems (ISCAS 2007), pp. 1437–1440 (2007) Pareschi, F., Rovatti, R., Setti, G.: Second-level NIST randomness tests for improving test reliability. In: International Symposium on Circuits and Systems (ISCAS 2007), pp. 1437–1440 (2007)
10.
Zurück zum Zitat Pareschi, F., Rovatti, R., Setti, G.: On statistical tests for randomness included in the NIST SP800-22 test suite and based on the binomial distribution. IEEE Trans. Inf. Forensics Secur. 7(2), 491–505 (2012)CrossRef Pareschi, F., Rovatti, R., Setti, G.: On statistical tests for randomness included in the NIST SP800-22 test suite and based on the binomial distribution. IEEE Trans. Inf. Forensics Secur. 7(2), 491–505 (2012)CrossRef
12.
Zurück zum Zitat Storey, J.D.: The positive false discovery rate: A bayesian interpretation and the q-value. Ann. Stat. 31(6), 2013–2035 (2003)MathSciNetCrossRefMATH Storey, J.D.: The positive false discovery rate: A bayesian interpretation and the q-value. Ann. Stat. 31(6), 2013–2035 (2003)MathSciNetCrossRefMATH
13.
Zurück zum Zitat Storey, J.D., Tibshirani, R.: Statistical significance for genomewide studies. Proc. Nat. Acad. Sci. 100(16), 9440–9445 (2003)MathSciNetCrossRefMATH Storey, J.D., Tibshirani, R.: Statistical significance for genomewide studies. Proc. Nat. Acad. Sci. 100(16), 9440–9445 (2003)MathSciNetCrossRefMATH
14.
Zurück zum Zitat Sulak, F., Doğanaksoy, A., Ege, B., Koçak, O.: Evaluation of randomness test results for short sequences. In: Carlet, C., Pott, A. (eds.) SETA 2010. LNCS, vol. 6338, pp. 309–319. Springer, Heidelberg (2010). doi:10.1007/978-3-642-15874-2_27 CrossRef Sulak, F., Doğanaksoy, A., Ege, B., Koçak, O.: Evaluation of randomness test results for short sequences. In: Carlet, C., Pott, A. (eds.) SETA 2010. LNCS, vol. 6338, pp. 309–319. Springer, Heidelberg (2010). doi:10.​1007/​978-3-642-15874-2_​27 CrossRef
15.
Zurück zum Zitat Zhuang, J., Ma, Y., Zhu, S., Lin, J., Jing, J.: Q_value test: a new method on randomness statistical test. J. Cryptologic Res. 3(2), 192–201 (2016). (in Chinese) Zhuang, J., Ma, Y., Zhu, S., Lin, J., Jing, J.: Q_value test: a new method on randomness statistical test. J. Cryptologic Res. 3(2), 192–201 (2016). (in Chinese)
Metadaten
Titel
More Powerful and Reliable Second-Level Statistical Randomness Tests for NIST SP 800-22
verfasst von
Shuangyi Zhu
Yuan Ma
Jingqiang Lin
Jia Zhuang
Jiwu Jing
Copyright-Jahr
2016
Verlag
Springer Berlin Heidelberg
DOI
https://doi.org/10.1007/978-3-662-53887-6_11

Premium Partner