正在加载图片...
第11卷第4期 智能系统学报 Vol.11 No.4 2016年8月 CAAI Transactions on Intelligent Systems Aug.2016 D0I:10.11992/is.201606002 网络出版地址:http://www.cnki.net/kcms/detail,/23.1538.TP.20160808.0830.012.html 随机序列的扑克检测优化研究 杨先伟,康红娟2,廖祖华34 (1.无锡职业技术学院基础部,江苏无锡214121:2.四川长虹电器股份有限公司,四川成都610041;3.江南大学, 江苏无锡214122;4.江南大学智能系统与网络计算研究所,江苏无锡214122) 摘要:现代计算机系统的安全性依赖于二元随机序列,随机性检测利用概率统计方法对二元序列的随机性进行分 析测试。我国国家密码管理局发布了随机性检测规范,扑克检测为其中一个检测项。本文通过充分分析扑克检测 效率不高的原因有针对性地提出一种新的快速实现算法,优化算法充分利用CPU字长一次处理多个比特,将m为4 和8的情况整合在一起,减少不必要的处理流程。同时精简并优化统计量的计算和判断过程,避免余不完全伽马函 数的计算。分析和实验的结果表明该优化算法可以使得扑克检测的速度提升9.5倍左右。 关键词:二元序列:随机序列:随机数发生器:随机性检测:扑克检测:密码算法:效率分析:余不完全伽玛函数 中图分类号:TP18文献标志码:A文章编号:1673-4785(2016)04-0513-06 中文引用格式:杨先伟,康红娟,廖祖华.随机序列的扑克检测优化研究[J].智能系统学报,2016,11(4):513-518. 英文引用格式:YANG Xianwei,KANG Hongjuan,LIAO Zuhua..Study on optimization of poker test random sequences[J].CAAl Transactions on Intelligent Systems,2016,11(4):513-518. Study on optimization of poker test random sequences YANG Xianwei',KANG Hongjuan2,LIAO Zuhua4 (1.Department of Fundamental Courses,Wuxi Institute of Technology,Wuxi 214121,China;2.Sichuan Changhong Electric Co., Ltd.,Chengdu 610041,China;3.School of Science,Jangnan University,Wuxi 214122,China;4.Institute of Intelligence System &Network Computing,Jiangnan University,Wuxi 214122,China) Abstract:The security of modern computer systems depends on binary random sequences,such as cipher algo- rithms keys,RSA algorithm prime numbers,the digital signature system,the identity authentication system,etc. Randomness tests analyze and test the randomness of sequences,using probability and statistics.The Chinese Na- tional Cryptography Administration has released national randomness test specifications and the Poker test is one of these.This paper analyzed the reasons for the low efficiency of the Poker test,then proposes a fast implementation algorithm.This new algorithm deals with bytes by making full use of CPU word length,integrates the detection process,and reduces some unnecessary operations under the conditions when m equals 4 and 8.At the same time, the method reduces and optimizes the computation and assessment of statistical quantity,avoiding computation of incomplete gamma functions.The results show that the efficiency of the new algorithm increases 9.5 fold. Keywords:binary sequence;random sequence;pseudorandom bit generator;randomness test;poker test;encryp- tion algorithms;efficiency analysis;incomplete gamma functions. 二元随机序列在密码应用中占有举足轻重的地 收稿日期:2016-06-01.网络出版日期:2016-08-08. 位。现在大量的计算机系统的安全性需要依赖于二 基金项目:国家自然科学基金项目(61170121,11401259):江苏省自然元随机序列,比如各种密码算法中使用的密钥、非对 科学基金项目(BK20151117). 通信作者:廖祖华.E-mail:liaozuhua57@163.com. 称密码算法RSA加密、数字签名方案中大素数的生第 11 卷第 4 期 智 能 系 统 学 报 Vol.11 №.4 2016 年 8 月 CAAI Transactions on Intelligent Systems Aug. 2016 DOI:10.11992 / tis.201606002 网络出版地址:http: / / www.cnki.net / kcms/ detail / 23.1538.TP.20160808.0830.012.html 随机序列的扑克检测优化研究 杨先伟1 ,康红娟2 ,廖祖华3,4 (1. 无锡职业技术学院 基础部,江苏 无锡 214121; 2. 四川长虹电器股份有限公司,四川 成都 610041; 3. 江南大学, 江苏 无锡 214122; 4.江南大学 智能系统与网络计算研究所,江苏 无锡 214122) 摘 要:现代计算机系统的安全性依赖于二元随机序列,随机性检测利用概率统计方法对二元序列的随机性进行分 析测试。 我国国家密码管理局发布了随机性检测规范,扑克检测为其中一个检测项。 本文通过充分分析扑克检测 效率不高的原因有针对性地提出一种新的快速实现算法,优化算法充分利用 CPU 字长一次处理多个比特,将 m 为 4 和 8 的情况整合在一起,减少不必要的处理流程。 同时精简并优化统计量的计算和判断过程,避免余不完全伽马函 数的计算。 分析和实验的结果表明该优化算法可以使得扑克检测的速度提升 9.5 倍左右。 关键词:二元序列;随机序列;随机数发生器;随机性检测;扑克检测;密码算法;效率分析;余不完全伽玛函数 中图分类号: TP18 文献标志码:A 文章编号:1673-4785(2016)04-0513-06 中文引用格式:杨先伟,康红娟,廖祖华. 随机序列的扑克检测优化研究[J]. 智能系统学报, 2016, 11(4): 513-518. 英文引用格式:YANG Xianwei, KANG Hongjuan, LIAO Zuhua. Study on optimization of poker test random sequences[J]. CAAI Transactions on Intelligent Systems, 2016, 11(4): 513-518. Study on optimization of poker test random sequences YANG Xianwei 1 , KANG Hongjuan 2 , LIAO Zuhua 3,4 (1. Department of Fundamental Courses, Wuxi Institute of Technology, Wuxi 214121, China; 2. Sichuan Changhong Electric Co., Ltd., Chengdu 610041, China; 3. School of Science, Jangnan University, Wuxi 214122, China; 4.Institute of Intelligence System &Network Computing, Jiangnan University, Wuxi 214122, China) Abstract:The security of modern computer systems depends on binary random sequences, such as cipher algo⁃ rithms keys, RSA algorithm prime numbers, the digital signature system, the identity authentication system, etc. Randomness tests analyze and test the randomness of sequences, using probability and statistics. The Chinese Na⁃ tional Cryptography Administration has released national randomness test specifications and the Poker test is one of these. This paper analyzed the reasons for the low efficiency of the Poker test, then proposes a fast implementation algorithm. This new algorithm deals with bytes by making full use of CPU word length, integrates the detection process, and reduces some unnecessary operations under the conditions when m equals 4 and 8. At the same time, the method reduces and optimizes the computation and assessment of statistical quantity, avoiding computation of incomplete gamma functions. The results show that the efficiency of the new algorithm increases 9.5 fold. Keywords: binary sequence; random sequence; pseudorandom bit generator; randomness test; poker test; encryp⁃ tion algorithms; efficiency analysis; incomplete gamma functions. 收稿日期:2016-06-01. 网络出版日期:2016-08-08. 基金项目:国家自然科学基金项目( 61170121,11401259);江苏省自然 科学基金项目(BK20151117). 通信作者:廖祖华. E⁃mail:liaozuhua57@ 163.com. 二元随机序列在密码应用中占有举足轻重的地 位。 现在大量的计算机系统的安全性需要依赖于二 元随机序列,比如各种密码算法中使用的密钥、非对 称密码算法 RSA 加密、数字签名方案中大素数的生
向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有