On-chip lightweight implementation of reduced NIST randomness test suite

On-chip Random Number Generators (RNGs) are critical components in lightweight ubiquitous devices like RFIDs and smart cards. These devices require low cost test methodologies and security against cryptanalytic and invasive attacks. In this work we propose an on-chip implementation of a reduced set of NIST-SP-800-22 randomness test suite to provide on-line RNG testing for low cost security devices along with runtime monitoring of RNG performance. The on-chip NIST module monitors the effect of dynamic variation of operating condition and time dependent wear-out on RNG circuits. It indicates invasive attacks on RNG and allows the secure system to take protective measures. Six NIST tests are optimized to a hardware design friendly format, but in compliance with the NIST standard. The lightweight implementations reduce complex statistical and arithmetic operations of conventional NIST tests to a series of bit stream count and compare operations. A cycle-to-cycle serial test of incoming bits from RNG eliminates need for additional storage. A partial re-configurable feature is designed to set the pass/fail threshold for each test depending on the system requirements. The on-chip NIST module, although not exhaustive, is an effective layer of validation and security for RNG circuits. The six 128-bit tests implemented in 45nm NCSU PDK have a total synthesized area of ~1926.sq.um for an optimized frequency of 2GHz. The total dynamic power is 3.75mW and leakage power is 10.5μW. At 2Gbps, the NIST module consumes 1.87pJ/bit. The lightweight ultra-low power implementation is scalable for larger input bit samples.

[1]  Wayne P. Burleson,et al.  Entropy extraction in metastability-based TRNG , 2010, 2010 IEEE International Symposium on Hardware-Oriented Security and Trust (HOST).

[2]  Simon W. Moore,et al.  The Frequency Injection Attack on Ring-Oscillator-Based True Random Number Generators , 2009, CHES.

[3]  Wayne P. Burleson,et al.  Robust metastability-based TRNG design in nanometer CMOS with sub-vdd pre-charge and hybrid self-calibration , 2012, Thirteenth International Symposium on Quality Electronic Design (ISQED).

[4]  Mieczyslaw Jessa,et al.  Enhancing the Randomness of a Combined True Random Number Generator Based on the Ring Oscillator Sampling Method , 2011, 2011 International Conference on Reconfigurable Computing and FPGAs.

[5]  Riccardo Rovatti,et al.  Implementation and Testing of High-Speed CMOS True Random Number Generators Based on Chaotic Systems , 2010, IEEE Transactions on Circuits and Systems I: Regular Papers.

[6]  Bruce Schneier,et al.  Cryptanalytic Attacks on Pseudorandom Number Generators , 1998, FSE.

[7]  Christof Paar,et al.  All You Can Eat or Breaking a Real-World Contactless Payment System , 2010, Financial Cryptography.

[8]  Riccardo Rovatti,et al.  On Statistical Tests for Randomness Included in the NIST SP800-22 Test Suite and Based on the Binomial Distribution , 2012, IEEE Transactions on Information Forensics and Security.

[9]  R. Rovatti,et al.  Second-level testing revisited and applications to NIST SP800-22 , 2007, 2007 18th European Conference on Circuit Theory and Design.

[10]  Sung-il Pae,et al.  DRAM as source of randomness , 2009 .

[11]  Elaine B. Barker,et al.  A Statistical Test Suite for Random and Pseudorandom Number Generators for Cryptographic Applications , 2000 .

[12]  Trevor Mudge,et al.  True Random Number Generator With a Metastability-Based Quality Control , 2008, IEEE J. Solid State Circuits.

[13]  Riccardo Rovatti,et al.  Second-level NIST Randomness Tests for Improving Test Reliability , 2007, 2007 IEEE International Symposium on Circuits and Systems.

[14]  Sanu Mathew,et al.  2.4GHz 7mW all-digital PVT-variation tolerant True Random Number Generator in 45nm CMOS , 2010, 2010 Symposium on VLSI Circuits.

[15]  Masanori Hashimoto,et al.  An oscillator-based true random number generator with jitter amplifier , 2011, 2011 IEEE International Symposium of Circuits and Systems (ISCAS).

[16]  Lucia Vacariu,et al.  Real-Time Testing of True Random Number Generators Through Dynamic Reconfiguration , 2010, 2010 13th Euromicro Conference on Digital System Design: Architectures, Methods and Tools.

[17]  Nathalie Bochard,et al.  Observing the Randomness in RO-Based TRNG , 2009, 2009 International Conference on Reconfigurable Computing and FPGAs.

[18]  Berk Sunar,et al.  A Provably Secure True Random Number Generator with Built-In Tolerance to Active Attacks , 2007, IEEE Transactions on Computers.

[19]  Joaquín García,et al.  A Practical Implementation Attack on Weak Pseudorandom Number Generator Designs for EPC Gen2 Tags , 2011, Wirel. Pers. Commun..

[20]  Jing Wang,et al.  A 1.04 µW Truly Random Number Generator for Gen2 RFID tag , 2009, 2009 IEEE Asian Solid-State Circuits Conference.

[21]  Daniel E. Holcomb,et al.  Power-Up SRAM State as an Identifying Fingerprint and Source of True Random Numbers , 2009, IEEE Transactions on Computers.

[22]  Bruno Robisson,et al.  Contactless Electromagnetic Active Attack on Ring Oscillator Based True Random Number Generator , 2012, COSADE.

[23]  Riccardo Rovatti,et al.  On the approximation errors in the frequency test included in the NIST SP800-22 statistical test suite , 2008, APCCAS 2008 - 2008 IEEE Asia Pacific Conference on Circuits and Systems.

[24]  Mehdi Ehsanian,et al.  Test and validation of a non-deterministic system — True Random Number Generator , 2008, 2008 IEEE International High Level Design Validation and Test Workshop.

[25]  Alin Suciu,et al.  Parallel implementation of the NIST Statistical Test Suite , 2010, Proceedings of the 2010 IEEE 6th International Conference on Intelligent Computer Communication and Processing.

[26]  Ya-Chin King,et al.  A Contact-Resistive Random-Access-Memory-Based True Random Number Generator , 2012, IEEE Electron Device Letters.