我必须使用 NIST 测试套件测试随机序列。我已经下载并运行了数据目录中给出的文件的测试。它工作正常,但是当我尝试在新的随机序列上运行它时,我得到了igmac: UNDERFLOW错误。随机序列在 Matlab 中使用
bs=fix(randi([0 1],1,k));
然后使用保存为.dat文件
dlmwrite('bs.dat', bs);
我将 bs.dat 复制到数据文件夹中并执行如下测试。有人可以告诉我这里有什么问题吗?
ash@computer:~/Documents/NIST_Test_Original/sts-2.1.2$ ./assess 1000000 GENERATORSELECTION ______________________________________
[0] Input File [1] Linear Congruential
[2] Quadratic Congruential I [3] Quadratic Congruential II
[4] Cubic Congruential [5] XOR
[6] Modular Exponentiation [7] Blum-Blum-Shub
[8] Micali-Schnorr [9] G Using SHA-1
输入选择:0
User Prescribed Input File: data/bs.txt
S T A T I S T I C A L T E S T S
_________________________________
[01] Frequency [02] Block Frequency
[03] Cumulative Sums [04] Runs
[05] Longest Run of Ones [06] Rank
[07] Discrete Fourier Transform [08] Nonperiodic Template Matchings
[09] Overlapping Template Matchings [10] Universal Statistical
[11] Approximate Entropy [12] Random Excursions
[13] Random Excursions Variant [14] Serial
[15] Linear Complexity
INSTRUCTIONS
Enter 0 if you DO NOT want to apply all of the
statistical tests to each sequence and 1 if you DO.
输入选择:0
INSTRUCTIONS
Enter a 0 or 1 to indicate whether or not the numbered statistical
test should be applied to each sequence.
123456789111111
012345
110000000000000
P a r a m e t e r A d j u s t m e n t s
-----------------------------------------
[1] Block Frequency Test - block length(M): 128
选择测试(0 继续):0
有多少比特流?5
输入文件格式:[0] ASCII - ASCII 0 和 1 的序列 [1] 二进制 - 数据文件中的每个字节包含 8 位数据
选择输入模式:0
Statistical Testing In Progress.........
igamc: UNDERFLOW
igamc: UNDERFLOW
igamc: UNDERFLOW
igamc: UNDERFLOW
igamc: UNDERFLOW
Statistical Testing Complete!!!!!!!!!!!!