Caliptra 2.0 Key Derivation and Certificate Generation
Posted by
Suyeon Lee
on August 15, 2026 ·
4 mins read
While studying Caliptra recently, I figured it would help to have a single picture showing the whole key derivation and certificate generation flow at a glance — so I drew one.
The diagram isn't original to me: it already ships in the Caliptra spec published by CHIPS Alliance, and it has been presented at OCP conferences as well. What I did was redraw it in a notation I find easier to read. (The original is Fig 4. DICE Cert/Key Generation, in the Identity section of chipsalliance/Caliptra — doc/Caliptra.md.)
Caliptra 2.0 DICE cert/key generation, redrawn from Fig 4 of the Caliptra spec. Click the image to open it full size.
Here's what I picked up while drawing it.
1. RTL Obfuscation Key or PUF
PUF here means Physically Unclonable Function.
What the fuses hold is the UDS Seed and the Field Entropy encrypted with AES-256, not the raw values.
The "RTL Obfuscation Key or PUF" box decides how the key for that decryption is supplied.
RTL Obfuscation Key: the key value is baked into the RTL as a constant. (??)
PUF: a circuit that reads the chip's physical manufacturing variation to produce a value unique to that die, measured off the silicon whenever it's needed. Unsurprisingly this is the more secure option, but the practical burden it carries means the RTL route is what actually gets used a lot of the time.
2. The IDevID private key is generated on every boot; the IDevID cert is generated exactly once, in manufacturing mode
The IDevID private key is derived on every boot. It gets regenerated each time.
The certificate, on the other hand, is only produced in manufacturing mode. It's exported, signed by the CA, and the signed result is stored in the SoC's non-volatile memory. From then on, the IDevID cert is included in what gets returned for an SPDM GET_CERTIFICATE.
"From LDevID down, the parent private key lives inside the key vault, so you can just re-sign on every boot. But IDevID's parent is a CA sitting in a company safe. You can't exactly phone the manufacturer for a signature every time you power on." (by Claude)
3. Caliptra went hybrid to meet PQC head-on while keeping ECC's track record
At Export to Caliptra RT, the certificate chain is derived in two flavors: ECC and ML-DSA (a dual-chain structure).
When the host invokes the mailbox, it picks which certificate to use by choosing between these commands:
INVOKE_DPE_ECC384 ("DPEC")
INVOKE_DPE_MLDSA87 ("DPEM")
Questions about anything unclear, or corrections where I've got something wrong, are always welcome — drop me a note on the contact page.