• 文献检索
  • 文档翻译
  • 深度研究
  • 学术资讯
  • Suppr Zotero 插件Zotero 插件
  • 邀请有礼
  • 套餐&价格
  • 历史记录
应用&插件
Suppr Zotero 插件Zotero 插件浏览器插件Mac 客户端Windows 客户端微信小程序
定价
高级版会员购买积分包购买API积分包
服务
文献检索文档翻译深度研究API 文档MCP 服务
关于我们
关于 Suppr公司介绍联系我们用户协议隐私条款
关注我们

Suppr 超能文献

核心技术专利:CN118964589B侵权必究
粤ICP备2023148730 号-1Suppr @ 2026

文献检索

告别复杂PubMed语法,用中文像聊天一样搜索,搜遍4000万医学文献。AI智能推荐,让科研检索更轻松。

立即免费搜索

文件翻译

保留排版,准确专业,支持PDF/Word/PPT等文件格式,支持 12+语言互译。

免费翻译文档

深度研究

AI帮你快速写综述,25分钟生成高质量综述,智能提取关键信息,辅助科研写作。

立即免费体验

使用GPU加速测试NIST SP 800-90B的独立同分布假设的实施过程。

Accelerated implementation for testing IID assumption of NIST SP 800-90B using GPU.

作者信息

Kim Yewon, Yeom Yongjin

机构信息

Department of Financial Information Security, Kookmin University, Seoul, South Korea.

Department of Information Security, Cryptology, and Mathematics, Kookmin University, Seoul, South Korea.

出版信息

PeerJ Comput Sci. 2021 Mar 8;7:e404. doi: 10.7717/peerj-cs.404. eCollection 2021.

DOI:10.7717/peerj-cs.404
PMID:33817047
原文链接:https://pmc.ncbi.nlm.nih.gov/articles/PMC7959633/
Abstract

In cryptosystems and cryptographic modules, insufficient entropy of the noise sources that serve as the input into random number generator (RNG) may cause serious damage, such as compromising private keys. Therefore, it is necessary to estimate the entropy of the noise source as precisely as possible. The National Institute of Standards and Technology (NIST) published a standard document known as Special Publication (SP) 800-90B, which describes the method for estimating the entropy of the noise source that is the input into an RNG. The NIST offers two programs for running the entropy estimation process of SP 800-90B, which are written in Python and C++. The running time for estimating the entropy is more than one hour for each noise source. An RNG tends to use several noise sources in each operating system supported, and the noise sources are affected by the environment. Therefore, the NIST program should be run several times to analyze the security of RNG. The NIST estimation runtimes are a burden for developers as well as evaluators working for the Cryptographic Module Validation Program. In this study, we propose a GPU-based parallel implementation of the most time-consuming part of the entropy estimation, namely the independent and identically distributed (IID) assumption testing process. To achieve maximal GPU performance, we propose a scalable method that adjusts the optimal size of the global memory allocations depending on GPU capability and balances the workload between streaming multiprocessors. Our GPU-based implementation excluded one statistical test, which is not suitable for GPU implementation. We propose a hybrid CPU/GPU implementation that consists of our GPU-based program and the excluded statistical test that runs using OpenMP. The experimental results demonstrate that our method is about 3 to 25 times faster than that of the NIST package.

摘要

在密码系统和加密模块中,作为随机数生成器(RNG)输入的噪声源熵不足可能会造成严重损害,例如危及私钥安全。因此,有必要尽可能精确地估计噪声源的熵。美国国家标准与技术研究院(NIST)发布了一份名为《特殊出版物》(SP)800-90B的标准文档,其中描述了估计作为RNG输入的噪声源熵的方法。NIST提供了两个用于运行SP 800-90B熵估计过程的程序,它们分别用Python和C++编写。对于每个噪声源,估计熵的运行时间超过一小时。在每个支持的操作系统中,RNG往往会使用多个噪声源,并且噪声源会受到环境影响。因此,应多次运行NIST程序以分析RNG的安全性。NIST估计运行时间对开发者以及参与加密模块验证计划的评估人员来说都是一项负担。在本研究中,我们提出了一种基于GPU的并行实现方法,用于熵估计中最耗时的部分,即独立同分布(IID)假设检验过程。为了实现最大的GPU性能,我们提出了一种可扩展的方法,该方法根据GPU能力调整全局内存分配的最佳大小,并在流多处理器之间平衡工作负载。我们基于GPU的实现排除了一项不适合GPU实现的统计测试。我们提出了一种CPU/GPU混合实现方法,它由我们基于GPU的程序和使用OpenMP运行的被排除的统计测试组成。实验结果表明,我们的方法比NIST软件包快约3至25倍。

https://cdn.ncbi.nlm.nih.gov/pmc/blobs/cc46/7959633/b6a8d5b1543b/peerj-cs-07-404-g005.jpg
https://cdn.ncbi.nlm.nih.gov/pmc/blobs/cc46/7959633/72ccbd53f8c2/peerj-cs-07-404-g001.jpg
https://cdn.ncbi.nlm.nih.gov/pmc/blobs/cc46/7959633/8c33ddfa21db/peerj-cs-07-404-g002.jpg
https://cdn.ncbi.nlm.nih.gov/pmc/blobs/cc46/7959633/46d7ef2d858d/peerj-cs-07-404-g004.jpg
https://cdn.ncbi.nlm.nih.gov/pmc/blobs/cc46/7959633/b6a8d5b1543b/peerj-cs-07-404-g005.jpg
https://cdn.ncbi.nlm.nih.gov/pmc/blobs/cc46/7959633/72ccbd53f8c2/peerj-cs-07-404-g001.jpg
https://cdn.ncbi.nlm.nih.gov/pmc/blobs/cc46/7959633/8c33ddfa21db/peerj-cs-07-404-g002.jpg
https://cdn.ncbi.nlm.nih.gov/pmc/blobs/cc46/7959633/46d7ef2d858d/peerj-cs-07-404-g004.jpg
https://cdn.ncbi.nlm.nih.gov/pmc/blobs/cc46/7959633/b6a8d5b1543b/peerj-cs-07-404-g005.jpg

相似文献

1
Accelerated implementation for testing IID assumption of NIST SP 800-90B using GPU.使用GPU加速测试NIST SP 800-90B的独立同分布假设的实施过程。
PeerJ Comput Sci. 2021 Mar 8;7:e404. doi: 10.7717/peerj-cs.404. eCollection 2021.
2
A High-Quality Entropy Source Using van der Waals Heterojunction for True Random Number Generation.一种利用范德华异质结的高质量熵源用于真随机数生成。
ACS Nano. 2022 Apr 26;16(4):5898-5908. doi: 10.1021/acsnano.1c11084. Epub 2022 Apr 13.
3
Multiplexing quantum tunneling diodes for random number generation.用于随机数生成的多重量子隧道二极管。
Rev Sci Instrum. 2023 Jan 1;94(1):014704. doi: 10.1063/5.0113995.
4
PUFKEY: a high-security and high-throughput hardware true random number generator for sensor networks.PUFKEY:一种用于传感器网络的高安全性、高吞吐量硬件真随机数发生器。
Sensors (Basel). 2015 Oct 16;15(10):26251-66. doi: 10.3390/s151026251.
5
Design and Test of an Integrated Random Number Generator with All-Digital Entropy Source.具有全数字熵源的集成随机数发生器的设计与测试
Entropy (Basel). 2022 Jan 18;24(2):139. doi: 10.3390/e24020139.
6
Entropy evaluation of white chaos generated by optical heterodyne for certifying physical random number generators.用于认证物理随机数发生器的光学外差产生的白色混沌的熵评估。
Opt Express. 2020 Feb 3;28(3):3686-3698. doi: 10.1364/OE.382234.
7
Accelerating Spaceborne SAR Imaging Using Multiple CPU/GPU Deep Collaborative Computing.利用多个CPU/GPU深度协同计算加速星载合成孔径雷达成像
Sensors (Basel). 2016 Apr 7;16(4):494. doi: 10.3390/s16040494.
8
Parallelisation of equation-based simulation programs on heterogeneous computing systems.基于方程的模拟程序在异构计算系统上的并行化。
PeerJ Comput Sci. 2018 Aug 13;4:e160. doi: 10.7717/peerj-cs.160. eCollection 2018.
9
High performance computing for deformable image registration: towards a new paradigm in adaptive radiotherapy.用于可变形图像配准的高性能计算:迈向自适应放射治疗的新范式。
Med Phys. 2008 Aug;35(8):3546-53. doi: 10.1118/1.2948318.
10
Generation of random numbers on graphics processors: forced indentation in silico of the bacteriophage HK97.图形处理器上的随机数生成:噬菌体 HK97 的虚拟强迫缩进。
J Phys Chem B. 2011 May 12;115(18):5278-88. doi: 10.1021/jp109079t. Epub 2010 Dec 31.