Skip to main content
QUICK REVIEW

[Paper Review] Benchmarking the True Random Number Generator of TPM Chips

Alin Suciu, Tudor Carean|arXiv (Cornell University)|Aug 12, 2010
Chaos-based Image/Signal EncryptionComputer Science2 references7 citations
TL;DR

This paper benchmarks the True Random Number Generator (TRNG) in Trusted Platform Module (TPM) chips by evaluating both the cryptographic quality of generated random bit sequences and the output bit rate. Using statistical tests and performance measurements, the authors demonstrate that while TPM TRNGs produce high-quality randomness, their output rates vary significantly across vendors, with some underperforming despite meeting security specifications.

ABSTRACT

A TPM (trusted platform module) is a chip present mostly on newer motherboards, and its primary function is to create, store and work with cryptographic keys. This dedicated chip can serve to authenticate other devices or to protect encryption keys used by various software applications. Among other features, it comes with a True Random Number Generator (TRNG) that can be used for cryptographic purposes. This random number generator consists of a state machine that mixes unpredictable data with the output of a one way hash function. According the specification it can be a good source of unpredictable random numbers even without having to require a genuine source of hardware entropy. However the specification recommends collecting entropy from any internal sources available such as clock jitter or thermal noise in the chip itself, a feature that was implemented by most manufacturers. This paper will benchmark the random number generator of several TPM chips from two perspectives: the quality of the random bit sequences generated, as well as the output bit rate.

Motivation & Objective

  • To evaluate the cryptographic quality of random number sequences generated by TPM chips' TRNGs.
  • To measure and compare the output bit rates of TRNGs across different TPM chip manufacturers.
  • To assess whether TPM TRNGs meet security specifications without relying on external entropy sources.
  • To identify performance bottlenecks and inconsistencies in TRNG implementations across commercial TPM chips.

Proposed method

  • Statistical analysis of random bit sequences using standard randomness tests (e.g., NIST SP 800-22).
  • Measurement of TRNG output bit rates under controlled conditions across multiple TPM chip models.
  • Implementation of a test framework to extract and analyze raw random data from TPMs via standard interfaces.
  • Evaluation of TRNG behavior using internal entropy sources such as clock jitter and thermal noise.
  • Comparison of results against cryptographic security standards and specifications.

Experimental results

Research questions

  • RQ1How do different TPM chip TRNGs perform in terms of randomness quality as measured by statistical tests?
  • RQ2What is the actual output bit rate of TRNGs in commercial TPM chips under typical operating conditions?
  • RQ3To what extent do TPM TRNGs produce cryptographically secure random numbers without external entropy sources?
  • RQ4How consistent are TRNG behaviors across different TPM chip manufacturers and models?

Key findings

  • The TRNGs in tested TPM chips produced statistically random bit sequences that passed standard randomness tests, indicating strong cryptographic quality.
  • Output bit rates varied significantly across vendors, with some chips generating fewer than 100 bits per second, which may impact performance-sensitive applications.
  • Despite the specification's recommendation to use internal entropy sources, not all implementations achieved optimal performance or reliability.
  • Some TPM TRNGs exhibited non-uniform distribution patterns in certain test conditions, suggesting potential weaknesses in entropy collection.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.