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.
On statistical tests for randomness included in the NIST SP800-22 test suite and based on the binomial distribution / Pareschi, Fabio; Rovatti, Riccardo; Setti, Gianluca. - In: IEEE TRANSACTIONS ON INFORMATION FORENSICS AND SECURITY. - ISSN 1556-6013. - STAMPA. - 7:2(2012), pp. 491-505. [10.1109/TIFS.2012.2185227]
On statistical tests for randomness included in the NIST SP800-22 test suite and based on the binomial distribution
Fabio Pareschi;Gianluca Setti
2012
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.| File | Dimensione | Formato | |
|---|---|---|---|
| 
									
										
										
										
										
											
												
												
												    
												
											
										
									
									
										
										
											TIFS2012-final-double.pdf
										
																				
									
										
											 accesso aperto 
											Tipologia:
											2. Post-print / Author's Accepted Manuscript
										 
									
									
									
									
										
											Licenza:
											
											
												Pubblico - Tutti i diritti riservati
												
												
												
											
										 
									
									
										Dimensione
										445.91 kB
									 
									
										Formato
										Adobe PDF
									 
										
										
								 | 
								445.91 kB | Adobe PDF | Visualizza/Apri | 
| 
									
										
										
										
										
											
												
												
												    
												
											
										
									
									
										
										
											Pareschi-Onstatistical.pdf
										
																				
									
										
											 accesso riservato 
											Tipologia:
											2a Post-print versione editoriale / Version of Record
										 
									
									
									
									
										
											Licenza:
											
											
												Non Pubblico - Accesso privato/ristretto
												
												
												
											
										 
									
									
										Dimensione
										3.53 MB
									 
									
										Formato
										Adobe PDF
									 
										
										
								 | 
								3.53 MB | Adobe PDF | Visualizza/Apri Richiedi una copia | 
Pubblicazioni consigliate
I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.
https://hdl.handle.net/11583/2696608
			
		
	
	
	
			      	