Paper 2023/040

A Closer Look at the Chaotic Ring Oscillators based TRNG Design

Shuqin Su, Tsinghua University
Bohan Yang, Tsinghua University
Vladimir Rožić, Tsinghua University, KU Leuven
Mingyuan Yang, Tsinghua University
Min Zhu, Wuxi Micro Innovation Integrated Circuit Design Co., Ltd.
Shaojun Wei, Tsinghua University
Leibo Liu, Tsinghua University
Abstract

TRNG is an essential component for security applications. A vulnerable TRNG could be exploited to facilitate potential attacks or be related to a reduced key space, and eventually results in a compromised cryptographic system. A digital FIRO-/GARO-based TRNG with high throughput and high entropy rate was introduced by Jovan Dj. Golić (TC’06). However, the fact that periodic oscillation is a main failure of FIRO-/GARO-based TRNGs is noticed in the paper (Markus Dichtl, ePrint’15). We verify this problem and estimate the consequential entropy loss using Lyapunov exponents and the test suite of the NIST SP 800-90B standard. To address the problem of periodic oscillations, we propose several implementation guidelines based on a gate-level model, a design methodology to build a reliable GARO-based TRNG, and an online test to improve the robustness of FIRO-/GARO-based TRNGs. The gate-level implementation guidelines illustrate the causes of periodic oscillations, which are verified by actual implementation and bifurcation diagram. Based on the design methodology, a suitable feedback polynomial can be selected by evaluating the feedback polynomials. The analysis and understanding of periodic oscillation and FIRO-/GARO-based TRNGs are deepened by delay adjustment. A TRNG with the selected feedback polynomial may occasionally enter periodic oscillations, due to active attacks and the delay inconstancy of implementations. This inconstancy might be caused by self-heating, temperature and voltage fluctuation, and the process variation among different silicon chips. Thus, an online test module, as one indispensable component of TRNGs, is proposed to detect periodic oscillations. The detected periodic oscillation can be eliminated by adjusting feedback polynomial or delays to improve the robustness. The online test module is composed of a lightweight and responsive detector with a high detection rate, outperforming the existing detector design and statistical tests. The areas, power consumptions and frequencies are evaluated based on the ASIC implementations of a GARO, the sampling circuit and the online test module. The gate-level implementation guidelines promote the future establishment of the stochastic model of FIRO-/GARO-based TRNGs with a deeper understanding.

Metadata
Available format(s)
PDF
Category
Implementation
Publication info
Published by the IACR in TCHES 2023
Keywords
TRNGFPGAASICDesign Methodology
Contact author(s)
ssq18 @ tsinghua org cn
bohanyang @ tsinghua edu cn
Vladimir Rozic @ esat kuleuven be
ymy20 @ mails tsinghua edu cn
zhumin @ mucse com
wsj @ tsinghua edu cn
liulb @ tsinghua edu cn
History
2023-04-11: last of 2 revisions
2023-01-13: received
See all versions
Short URL
https://ia.cr/2023/040
License
Creative Commons Attribution
CC BY

BibTeX

@misc{cryptoeprint:2023/040,
      author = {Shuqin Su and Bohan Yang and Vladimir Rožić and Mingyuan Yang and Min Zhu and Shaojun Wei and Leibo Liu},
      title = {A Closer Look at the Chaotic Ring Oscillators based TRNG Design},
      howpublished = {Cryptology ePrint Archive, Paper 2023/040},
      year = {2023},
      note = {\url{https://eprint.iacr.org/2023/040}},
      url = {https://eprint.iacr.org/2023/040}
}
Note: In order to protect the privacy of readers, eprint.iacr.org does not use cookies or embedded third party content.