True random number generator (TRNG) as one essential hardware primitive is widely used in cryptography, Monte Carlo simulation, and gambling. To evaluate the security of TRNG, the entropy of the TRNG’s output is usually estimated by the stochastic model in theory or measured off-chip after fabrication. However, the sufficiency of entropy is difficult to be guaranteed in practice due to the facts: 1) the inaccuracy of the model-based jitter measurement method; 2) the variations of the chip manufacturing process and operating environments (such as supply voltage and temperature); and 3) malicious attacks. In this work, we design a novel TRNG architecture with on-chip entropy assurance to properly solve practical security problems. In the design, we propose an on-chip entropy estimator for measuring independent jitter to quantify true randomness, which enables continuous monitoring of TRNG at runtime. Furthermore, with the cooperation of the proposed on-chip entropy estimator and a rational self-adaptive mechanism, the designed TRNG can steadily generate bitstreams with sufficient entropy (≥ 0.999 per bit) against PVT variations. We implement the TRNG architecture in FPGAs with different technology nodes (45 and 65 nm) and SMIC 130 nm chips. Experimental results validate that the designed TRNG has an excellent performance in terms of technology independence and environmental robustness. The generated bitstreams pass the NIST SP800-22 and Diehard statistical test suites successfully without any post-processing.
17 February 2020 in Security and Communication Networks
True Random Number Generator (TRNG) is indispensable in cryptographic algorithms and protocols, and the quality of randomness directly influences the security of cryptographic applications. Multiple theoretical or offline entropy estimation methods have been proposed to evaluate the security of TRNGs, while their ideal assumptions commonly cannot be satisfied due to the perturbation of operating conditions at runtime, which makes it difficult to achieve sufficient entropy for the output of TRNGs in practice. Moreover, the output bitrate of TRNG is another fundamental concern during TRNG practical applications, while popular elementary oscillator-based structure commonly has relatively low output bitrate due to the inherent low sensitivity of entropy extraction to jitter (source of randomness). In this paper, we aim to design a TRNG satisfying both practical security (i.e., on-chip entropy assurance) and high output bitrate simultaneously. In particular, an improved stochastic model and a measurement method are established to quantify the entropy of coherent sampling based TRNG. Moreover, an on-chip entropy assurance module is provided to realize the robustness of the proposed design under various operating conditions. We implement the proposed TRNG in a simulation platform and ASIC chips (with SMIC 130 nm CMOS technology). Experimental results indicate that the generated data has sufficient entropy ( $\geq 0.999$ per bit) under various operating conditions. In addition, all the output can pass the NIST SP800-22 and AIS 31 statistical tests with an output bitrate of 4.2 Mbps, which is equivalent to 2 orders of magnitude faster than that of the elementary oscillator-based TRNG.
14 September 2021 in IEEE Transactions on Magnetics
Heat assisted interlaced magnetic recording (HIMR) further increases the areal density with the interlaced track layout architecture compared to conventional heat assisted magnetic recording. However, besides the 2D inter-symbol interference (ISI) and thermal jitters, the transition curvatures due to the circular thermal profile cause severe erasures after write and obvious nonlinear distortions of readback signals. This deteriorates the recording performance severely. Especially the degrees of transition curvatures for the low temperature written track (LT) and high temperature written track (HT) are distinct, which makes the correction of transition curvature with only the writer design impossible. Correspondingly a comprehensive method consisting of writer design and multitrack detection algorithm with joint learning based neural network (JLNN) is proposed to mitigate the effects of transition curvature and 2D ISI for both LT and HT of HIMR. First a designed writer with splitting main poles produces the spatially nonuniform write field along the crosstrack direction to correct the transition curvature of LT. Then the multitrack detection with joint learning based neural network and improved Bahl-Cocke-Jelinek-Raviv (BCJR) detector (JLNN-IB) algorithm is studied to further mitigate the effects of residual transition curvatures, thermal jitters and 2D ISI for both HT and LT. Specifically, the readback signals of read head array and decoded log likelihood ratio (LLR) outputted by the low-density parity check (LDPC) decoder are fed into JLNN to obtain the equalized signal and a prior probability (AP) of three tracks. Then the equalized signal as well as AP of current track and corresponding soft bit estimations of adjacent tracks are embedded into the branch metrics of improved BCJR detector for data detection, and the LDPC decoder is cascaded for the error correction. The simulation indicates that at the recording density of 2.11 Tb/in2, the proposed comprehensive writer design and JLNN-IB algorithm provides 9.2 dB and 9.7 dB signal to noise ratio (SNR) gains compared to the conventional 2D neural network equalizer and 2D linear equalizer under the uniform write field and circular thermal profile, respectively.
8 September 2025 in IEEE Transactions on Information Forensics and Security
Prediction-based min-entropy estimation methods, also known as predictors, are essential tools for assessing the security of entropy sources. As recommended in NIST SP 800-90B (90B), these methods estimate min-entropy by forecasting the outputs of entropy sources. Owing to their computational efficiency, considerable research has focused on enhancing the accuracy of predictors, including approaches based on deep neural networks (DNNs). However, concerns remain about their interpretability, reliability, and applicability, particularly for DNN-based predictors. In this paper, we first identify key deficiencies in existing prediction-based methods, including those in 90B and DNN-based predictors, which lead to unreliable estimates and poor adaptability across diverse entropy sources. To improve reliability, we model the predictor output distribution and revise the local predictability metric to produce more stable estimates with associated confidence levels. To enhance the interpretability of DNN-based predictors in entropy estimation, we provide the first theoretical analysis linking neural network optimization objectives to min-entropy, clarifying the suitability and learnability of different architectures. We further reveal the inapplicability of existing methods under time-varying sources and propose a new estimation framework that combines online learning, change detection, and Bayesian optimization for dynamic model updates. The experimental results demonstrate that our methods surpass existing approaches in terms of reliability and applicability, especially when dealing with time-varying sources.
23 October 2020 in Security and Communication Networks
In the article titled “High-Efficiency Min-Entropy Estimation Based on Neural Network for Random Number Generators” [1], the author Jing Yang was affiliated to “School of Computer Science and Technology, University of Chinese Academy of Sciences, Beijing 100093, China,” and the author Jiwu Jing was affiliated to “China Information Technology Security Evaluation Center, Beijing 100085, China,” which is incorrect. The correct affiliations for these authors are as follows.