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

被引:0
|
作者
Kim, Yewon [1 ]
Yeom, Yongjin [1 ,2 ]
机构
[1] Department of Financial Information Security, Kookmin University, Seoul, Korea, Republic of
[2] Department of Information Security Cryptology and Mathematics, Kookmin University, Seoul, Korea, Republic of
关键词
Random number generation - Cryptography - Scalability - Graphics processing unit - Number theory - C++ (programming language) - Software testing - Statistical tests;
D O I
暂无
中图分类号
学科分类号
摘要
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. Copyright 2021 Kim and Yeom
引用
收藏
页码:1 / 29
相关论文
共 6 条
  • [1] Accelerated implementation for testing IID assumption of NIST SP 800-90B using GPU
    Kim, Yewon
    Yeom, Yongjin
    PEERJ COMPUTER SCIENCE, 2021, : 1 - 29
  • [2] On the Additional Chi-square Tests for the IID Assumption of NIST SP 800-90B
    Kang, Ju-Sung
    Park, Hojoong
    Yeom, Yongjin
    2017 15TH ANNUAL CONFERENCE ON PRIVACY, SECURITY AND TRUST (PST), 2017, : 375 - 382
  • [3] Observations on NIST SP 800-90B entropy estimators
    Aslan, Melis
    Doganaksoy, Ali
    Saygi, Zulfukar
    Turan, Meltem Sonmez
    Sulak, Fatih
    CRYPTOGRAPHY AND COMMUNICATIONS-DISCRETE-STRUCTURES BOOLEAN FUNCTIONS AND SEQUENCES, 2025,
  • [4] Observations on NIST SP 800-90B entropy estimators (Jan, 10.1007/s12095-025-00778-7, 2025)
    Aslan, Melis
    Doganaksoy, Ali
    Saygi, Zulfukar
    Turan, Meltem Sonmez
    Sulak, Fatih
    CRYPTOGRAPHY AND COMMUNICATIONS-DISCRETE-STRUCTURES BOOLEAN FUNCTIONS AND SEQUENCES, 2025,
  • [5] Security Analysis of DRBG Using HMAC in NIST SP 800-90
    Hirose, Shoichi
    INFORMATION SECURITY APPLICATIONS, 2009, 5379 : 278 - 291
  • [6] Are the Interpulse Intervals of an ECG signal a good source of entropy? An in-depth entropy analysis based on NIST 800-90B recommendation
    Ortiz-Martin, Lara
    Picazo-Sanchez, Pablo
    Peris-Lopez, Pedro
    FUTURE GENERATION COMPUTER SYSTEMS-THE INTERNATIONAL JOURNAL OF ESCIENCE, 2020, 105 (105): : 346 - 360