What is DICE (Device Identifier Composition Engine)?
A scheme defined by the TCG (Trusted Computing Group) that derives per-layer secrets and keys with one-way functions from a device-unique secret and the measurements of the firmware of each layer that boots. Each layer, after creating the next layer's secret, makes its own secret unreadable before handing over control. When firmware changes, the derived keys change too, so tampered firmware cannot use the correct keys. It provides device identity and attestation even on small microcontrollers without a TPM.
Japanese name: DICE(Device Identifier Composition Engine)
DICE (Device Identifier Composition Engine) appears in 1 practice question across 1 topic, including Hardware Security: Advanced Topics and Trends.
Field: Hardware Security: Advanced Topics and Trends
FAQ
What is the difference between DICE and a TPM?
A TPM is a separate component (or function) that stores keys, records measurements and signs, and it needs a fair amount of circuitry. DICE defines a procedure for deriving keys from measurements, can be realized with very little hardware, and reflects the measurements in the keys themselves rather than in a log. The goals are similar, but the means of protection and the required scale differ.
Is it a problem that keys change when firmware is updated?
The change is itself a security benefit: keys of old firmware can no longer be used after an update. In practice the device identity key is derived from a layer that does not change, and new certificates are issued for the keys of layers that do change at every update, so different layers are treated differently.