EJLThe Trust StackEdited by Emma-Jane MacKinnon-Lee
Hardware

Roots of trust: TPM, DICE, secure elements and PUFs

Every chain of trust has a first link that cannot itself be checked. Understanding what that link is, and who made it, is the most important question in hardware security.

By Emma-Jane MacKinnon-Lee, glossary and terminology editorUpdated 27 August 202613 min read
Emma-Jane MacKinnon-Lee explainer image: macro photograph of a root-of-trust silicon die
A root of trust, seen very close.

An assumption, not an object

The phrase root of trust is often used as if it named a component you could buy. It is better understood as an assumption: the place in a system where verification stops and belief begins. A boot ROM that measures the first stage of firmware is a root of trust because nothing measured the boot ROM. A secure element that holds a device's identity key is a root of trust because nothing above it can prove the key was generated honestly.

This distinction matters in translation as well as in engineering. A French or Italian rendering that turns the phrase into a physical thing can subtly change a security argument, implying that the root has been verified when it has merely been chosen. Good design keeps the assumption small, specific and open to inspection.

TPM 2.0 and measured boot

The Trusted Platform Module, standardised by the Trusted Computing Group and now in its 2.0 generation, is the most widely deployed root of trust in PCs and servers. During boot, each stage hashes the next and extends the result into a Platform Configuration Register, a register that can only be extended, never directly written. At the end of boot, the PCRs hold a cumulative fingerprint of everything that ran.

A TPM can sign a quote over selected PCRs with an attestation key, binding the measurement to a nonce for freshness. It can also seal data to PCR values, so a disk encryption key is released only if the platform booted the expected software. A TPM can be a discrete chip, firmware in a security processor, or a virtual TPM inside a confidential virtual machine.

DICE, secure elements and PUFs

TPMs are too large for many small devices. DICE, also from the Trusted Computing Group, needs only a unique device secret and a small amount of immutable code. At power-on, that code combines the secret with a hash of the next firmware layer to derive a Compound Device Identifier, then locks the secret away. Each layer repeats the process. If firmware changes, every identity above it changes too, so a compromised update cannot impersonate the original.

Where does the unique secret come from? Either it is injected in the factory and stored in fuses or a secure element, or it is derived from a physically unclonable function. A PUF exploits manufacturing variation, such as the start-up state of SRAM cells or the frequency of ring oscillators, to produce a value unique to each chip. A fuzzy extractor with public helper data turns the slightly noisy PUF response into a stable key that is never stored at rest.

Open roots of trust

OpenTitan is an open-source silicon root of trust project whose hardware description, documentation and verification are public. Caliptra is an open-source root-of-trust block intended for integration into large systems-on-chip, providing measured boot and DICE-style identity. Both shift the question from whether a vendor's root is trustworthy to whether a published design is correct and has been faithfully manufactured.

That second half of the question leads directly to fabrication. An open design made in a fab you cannot audit still requires trust in the fab. This is one reason regional and open fabrication matter to security, and why the next explainers on this site turn from logic to silicon.

Standards and projects named
  • TCG TPM 2.0 Library
  • TCG DICE
  • OpenTitan
  • Caliptra
  • ISO/IEC 7816 (smart cards)
Read next