0% found this document useful (0 votes)
58 views

NIST Statistical Test Suite: An Introduction: October 2020

The document introduces the NIST Statistical Test Suite (STS), a tool for analyzing randomness. It provides instructions for downloading, installing, and running the NIST STS tool on Linux. When the statistical tests are complete, results are stored in a finalAnalysisReport.txt file located in the experiments subdirectory. The document outlines the basic workflow for obtaining and interpreting results from the NIST STS tool.

Uploaded by

Finance dmsrde
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
58 views

NIST Statistical Test Suite: An Introduction: October 2020

The document introduces the NIST Statistical Test Suite (STS), a tool for analyzing randomness. It provides instructions for downloading, installing, and running the NIST STS tool on Linux. When the statistical tests are complete, results are stored in a finalAnalysisReport.txt file located in the experiments subdirectory. The document outlines the basic workflow for obtaining and interpreting results from the NIST STS tool.

Uploaded by

Finance dmsrde
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 10

See discussions, stats, and author profiles for this publication at: https://www.researchgate.

net/publication/350485710

NIST Statistical Test Suite: An Introduction

Presentation · October 2020


DOI: 10.13140/RG.2.2.16202.29121

CITATIONS READS

0 176

2 authors:

Farah Ferdaus Md Tauhidur Rahman


Florida International University Florida International University
14 PUBLICATIONS   9 CITATIONS    50 PUBLICATIONS   714 CITATIONS   

SEE PROFILE SEE PROFILE

Some of the authors of this publication are also working on these related projects:

Memory-based Security Primitives View project

Hardware Trojan View project

All content following this page was uploaded by Farah Ferdaus on 30 March 2021.

The user has requested enhancement of the downloaded file.


NIST Statistical Test Suite:
An Introduction
By Farah Ferdaus and Tauhidur Rahman
What is NIST STS?

▶ NIST Statistical Test Suite is an important testing suite for randomness


analysis often used for formal certifications or approvals.
▶ For More detail visit:
▶ https://csrc.nist.gov/publications/detail/sp/800-22/rev-1a/final (Manual guide by NIST)
▶ https://crocs.fi.muni.cz/lib/exe/fetch.php?media=public:research:romjist_v11_for_publ
ish.pdf (A short explanation of 15 NIST tests)

2
Download the NIST STS tool

▶ To download NIST STS tool visit:


▶ https://csrc.nist.gov/Projects/Random-Bit-
Generation/Documentation-and-Software

▶ Linux machine required


▶ Tips: Use “Windows Subsystem for Linux”
for windows 10 operating system
(https://docs.microsoft.com/en-
us/windows/wsl/install-win10)

▶ NOTE: Keep the unzipped version of the


tool on the same folder (directory) where
the test_bit_stream files are located.

3
Install the NIST STS tool

▶ To install NIST STS tool go to the <sts-2.1.2> directory


and type “make” to execute the makefile.
▶ Might require to install make package:
sudo apt install make

▶ After successful installation, An executable file


named assess should appear in the project directory.

4
Run the Test Code

▶ To invoke the NIST STS, type the following:


▶ ./assess <sequenceLength>
▶ Min bit stream length (sequenceLength)
should be 106.
▶ A series of menu prompts will be displayed
in order to select the data to be analyzed
and the statistical tests to be applied.

5
Run the Test Code

▶ Min number of bitstream sequence should be


10 to evaluate all tests.
▶ Number of bits in the file must be ≥
(#bitstream × sequenceLength)
▶ The user must specify whether the file
consists of bits stored in ASCII format
(containing 0’s and 1’s) or binary format
(packing 8-bit data in a single byte).

6
Empirical results Location

▶ Once the testing process is


complete, the empirical results
can be found in the
experiments/ subdirectory.
▶ A file finalAnalysisReport.txt
(summary report) will be
generated when statistical
testing is complete which is
located at
experiments/AlgorithmTesting/
subdirectory.

7
Depiction of the Final Analysis Report

8
Depiction of the Final Analysis Report

View publication stats

You might also like