基于DLL和多线程的随机序列测试软件设计

2024,32(11):153-160
廖熹, 刘强, 郭元兴, 赵鹏, 李建国, 何志伟
中国电子科技集团公司第三十研究所
摘要:随机序列在基于密码学的网络安全算法中被大量应用,在网络安全应用中扮演着重要的角色,随机序列的测试方法也在持续发展,为了提高随机序列的随机性测试效率,开展了随机序列测试软件设计;通过对美国 NIST公布的 SP 800-22 随机序列测试标准的梳理,在原配套测试集工具包的基础上,随机序列测试软件采用动态链接库和多线程技术,对软件设计架构和测试模式上进行了创新,提高了测试执行效率和人机界面友好性,并通过真随机数序列和伪随机数序列两种方式对其随机性检验效果进行了验证;经实际应用验证,该测试软件设计架构开放、灵活、可配置,测试模式支持多种随机性检验项目的并发执行,测试结果支持量化呈现,提升了测试评估人员的工作效率,在工程实践中具有一定的参考价值。
关键词:信息安全;随机性;显著性水平;伪随机序列;随机性检验 ;动态链接库;多线程

Design of Random Sequence Test Software Based on DLL and Multithread

Abstract:Random sequences are widely used in cryptographic-based network security algorithms,it plays an important role in network security applications,the testing methods of random sequences are also developing continuously,in order to improve the testing efficiency of random sequences,the software design for random sequence testing has been carried out;Through the combing of the SP 800-22 random sequence test standard published by NIST in the United States,based on the original supporting test toolkit,random sequence test software adopts dynamic link library and multi-threaded technology,innovative software design architecture and test mode,improve test execution efficiency and human-machine interface friendliness,the randomness test effect is verified by true random number sequence and pseudo random number sequence;Verified by practical application,the test software design architecture is open, flexible and configurable,the test mode supports the concurrent execution of a variety of random test items,the test results support quantitative presentation,improve the work efficiency of evaluators,it has a certain reference value in engineering practice.
Key words:information security; randomness; significance level; pseudo random sequence; randomness test;dynamic link library(DLL); multithread
收稿日期:2024-04-28
基金项目:装备发展部“十三五”预研课题(315045801)资助项目
     下载PDF全文