留言板

尊敬的读者、作者、审稿人, 关于本刊的投稿、审稿、编辑和出版的任何问题, 您可以本页添加留言。我们将尽快给您答复。谢谢您的支持!

姓名
邮箱
手机号码
标题
留言内容
验证码

一种Linux用户空间下的快速伪随机数生成算法

高小鹏 张哲 刘国良 龙翔

高小鹏, 张哲, 刘国良, 等 . 一种Linux用户空间下的快速伪随机数生成算法[J]. 北京航空航天大学学报, 2006, 32(04): 489-493.
引用本文: 高小鹏, 张哲, 刘国良, 等 . 一种Linux用户空间下的快速伪随机数生成算法[J]. 北京航空航天大学学报, 2006, 32(04): 489-493.
Gao Xiaopeng, Zhang Zhe, Liu Guoliang, et al. Fast algorithm for pseudo random number generation in Linux user space[J]. Journal of Beijing University of Aeronautics and Astronautics, 2006, 32(04): 489-493. (in Chinese)
Citation: Gao Xiaopeng, Zhang Zhe, Liu Guoliang, et al. Fast algorithm for pseudo random number generation in Linux user space[J]. Journal of Beijing University of Aeronautics and Astronautics, 2006, 32(04): 489-493. (in Chinese)

一种Linux用户空间下的快速伪随机数生成算法

详细信息
    作者简介:

    高小鹏(1970-),男,山东济南人,讲师, gxp@buaa.edu.cn.

  • 中图分类号: TP 393.08

Fast algorithm for pseudo random number generation in Linux user space

  • 摘要: 随机数发生器是网络安全应用中的重要组成部分,对于构造加密算法的密钥具有重要作用.Linux操作系统提供了内核级随机数发生器,但因其随机数产生效率较低而不宜将其应用于密钥变换频繁的网络安全应用.给出了一个快速伪随机数生成算法.算法以64 bit硬件高频计数器作为随机数源.算法将计数器的低32 bit放入集合中,然后通过SHA(Security Hash Algorithm)算法对集合进行处理,并采用集合的前16 byte作为随机数输出.采用非参数检验方法检验算法产生的随机数质量,测试结果表明算法产生的随机数具有较高的安全性.同时由于算法运行在用户空间,比Linux的内核级随机数发生器具有较高的随机数生成效率.

     

  • [1] Linux 2.4内核随机数生成算法源代码 . /usr/src/linux/drivers/char/random.c Source code of Linux 2.4 random number generator . /usr/src/linux/drivers/char/random.c(in Chinese) [2] FIPS-180-1.Secure hash standard[S]. National Institute of Standards and Technology, US Department of Commerce, 1995 [3] Mungkee D.Cryptographic random number generators . http://www.phrack.org/phrack/59/p59-0x0f.txt [4] Intel.Intel architecture software developer’s manual volume 2:instruction set reference .http://www.intel.com/design/pentiumii/manuals/243191.htm [5] Kaufman C. Internet key exchange (IKE v2) protocol . IETF draft-ietf-ipsec-ikev2-17.txt.Sep,2004 [6] Donald E K.The art of computer programming (2nd Edition),Volume 2/seminumerical algorithms[M]. Beijing:Tsinghua University Press,1980 [7] Juan S.Statistical testing of random number generators .Proceedings of the 22nd National Information Systems Security Conference. http://csrc.nist.gov/nissc/1999/proceeding/papers/p24.pdf [8] 韩于羹.应用数理统计[M].北京:北京航空航天大学出版社,1989 Han Yugeng. Mathematical statistics & applic
  • 加载中
计量
  • 文章访问数:  2759
  • HTML全文浏览量:  52
  • PDF下载量:  1780
  • 被引次数: 0
出版历程
  • 收稿日期:  2005-03-07
  • 网络出版日期:  2006-04-30

目录

    /

    返回文章
    返回
    常见问答