Author:
Kovalchuk L.V., ,Koriakov I.V.,Bespalov O.Yu., ,
Abstract
When a crypto-primitive, whose functions include the generation of a random/pseudo-random gamma, is admitted to operation, a necessary part of its quality checking is a sta-tistical testing of its output gamma and, often, intermediate gamma(s). Such requirement is applied, for example, to random/pseudo-random number generators (RNG/PRNG), stream ciphers, and block ciphers in different "stream" modes (such as OFB, CBC, etc). There exist widely used and well-known tools for checking the statistical properties of se-quences and generators, which are based on a set of statistical tests, like NIST STS set, Diehard, etc. At the same time, the other and very similar question, about independence of the se-quences (more precisely — independence of the corresponding random variables, that the considered sequences are their realizations) generated in such cryptoalgorithms, usually doesn’t attract enough attention. Nevertheless, it is also of great importance, because the dependence of the sequences can lead to predictability of the output gamma, which makes the cryptoprimitive vulnerable to statistical attacks. Therefore, there are no adequate and suitable tools for checking independence of different sequences, generated in the algo-rithms. In this work we deve¬loped and justified new set of three statistical tests for check-ing independence of random va¬riables, which realizations are internal or output sequences in encryption algorithms or RNG/PRNG. We also calculated reference values for limit sta-tistics for different parameters of sequences and different significance levels of tests. Re-sults of tests applications for independent and dependent random variables are given, which confirm correctness of proposed tests.
Publisher
National Academy of Sciences of Ukraine (Co. LTD Ukrinformnauka) (Publications)
Reference13 articles.
1. International Organization for Standardization. (2017). Information technology - Security techniques - Modes of operation for an n-bit block cipher (reviewed and confirmed in 2023) - ISO/IEC Standard No. 10116:2017.
2. Bassham L., Rukhin A., Soto J., Nechvatal J., Smid M., Leigh S., Levenson M., Vangel M., Heckert N. and Banks D. (2010), A statistical test suite for random and pseudorandom number generators for cryptographic applications, Special Publication (NIST SP), National Institute of Standards and Technology, Gaithersburg, MD, URL: https://tsapps.nist.gov/ publication/get_pdf.cfm?pub_id=906762 (date of access: 27.04.2024).
3. Marsaglia G. The Marsaglia random number CDROM. URL: https://github.com/jeff Thompson/DiehardCDROM (date of access: 27.04.2024).
4. Robert G. B. DieHarder: a gnu public license random number tester, v. 3.31.2beta URL: https://rurban.github.io/dieharder/manual/dieharder.pdf (date of access: 27.04.2024).
5. Luengo E.A., Villalba L.J.G. 2021. Recommendations on statistical randomness test batteries for cryptographic purposes. ACM Computing Surveys. Vol. 54, no. 4 , P. 1-34. URL: https://doi.org/10.1145/3447773 (date of access: 27.04.2024).