<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom" ><generator uri="https://jekyllrb.com/" version="4.4.1">Jekyll</generator><link href="https://slee2407.github.io/feed.xml" rel="self" type="application/atom+xml" /><link href="https://slee2407.github.io/" rel="alternate" type="text/html" /><updated>2026-08-15T15:21:16+09:00</updated><id>https://slee2407.github.io/feed.xml</id><title type="html">Suyeon Lee</title><subtitle>Suyeon Lee&apos;s blog</subtitle><author><name>Suyeon Lee</name></author><entry><title type="html">Caliptra 2.0 Key Derivation and Certificate Generation</title><link href="https://slee2407.github.io/2026/08/15/caliptra-2-key-derivation-and-certificate-generation.html" rel="alternate" type="text/html" title="Caliptra 2.0 Key Derivation and Certificate Generation" /><published>2026-08-15T01:06:00+09:00</published><updated>2026-08-15T01:06:00+09:00</updated><id>https://slee2407.github.io/2026/08/15/caliptra-2-key-derivation-and-certificate-generation</id><content type="html" xml:base="https://slee2407.github.io/2026/08/15/caliptra-2-key-derivation-and-certificate-generation.html"><![CDATA[<p>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.</p>

<p>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 <a href="https://github.com/chipsalliance/Caliptra/blob/main/doc/Caliptra.md" target="_blank" rel="noopener">chipsalliance/Caliptra — doc/Caliptra.md</a>.)</p>

<figure class="text-center">
  <a href="/img/posts/caliptra-dice-key-cert-generation.png" target="_blank" rel="noopener">
    <img class="img-fluid" src="/img/posts/caliptra-dice-key-cert-generation.png" alt="Caliptra 2.0 DICE key and certificate generation flow, from fuses holding the obfuscated UDS seed and field entropy, through HKDF/HMAC derivation of CDI values in ROM, FMC, and RT, to the parallel ECC-384 and ML-DSA-87 certificate chains exported to Caliptra RT">
  </a>
  <figcaption class="caption text-muted mt-2">
    Caliptra 2.0 DICE cert/key generation, redrawn from Fig 4 of the Caliptra spec. Click the image to open it full size.
  </figcaption>
</figure>

<p>Here's what I picked up while drawing it.</p>

<h2 class="section-heading" id="1-rtl-obfuscation-key-or-puf">1. RTL Obfuscation Key or PUF</h2>

<p>PUF here means <strong>Physically Unclonable Function</strong>.</p>
<ul>
  <li>What the fuses hold is the UDS Seed and the Field Entropy <strong>encrypted with AES-256</strong>, not the raw values.</li>
  <li>The "RTL Obfuscation Key or PUF" box decides <strong>how the key for that decryption is supplied</strong>.</li>
  <li><strong>RTL Obfuscation Key:</strong> the key value is baked into the RTL as a constant. (??)</li>
  <li><strong>PUF:</strong> 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.</li>
</ul>

<h2 class="section-heading" id="2-idevid-key-vs-cert">2. The IDevID private key is generated on every boot; the IDevID cert is generated exactly once, in manufacturing mode</h2>

<ul>
  <li>The IDevID <strong>private key is derived on every boot</strong>. It gets regenerated each time.</li>
  <li>The <strong>certificate</strong>, 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 <code>GET_CERTIFICATE</code>.</li>
</ul>
<blockquote class="blockquote">"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)</blockquote>

<h2 class="section-heading" id="3-hybrid-attestation-for-pqc">3. Caliptra went hybrid to meet PQC head-on while keeping ECC's track record</h2>

<ul>
  <li>At <em>Export to Caliptra RT</em>, the certificate chain is derived in two flavors: <strong>ECC and ML-DSA</strong> (a dual-chain structure).</li>
  <li>When the host invokes the mailbox, it picks which certificate to use by choosing between these commands:
    <ul>
      <li><code>INVOKE_DPE_ECC384</code> ("DPEC")</li>
      <li><code>INVOKE_DPE_MLDSA87</code> ("DPEM")</li>
    </ul>
  </li>
</ul>

<hr>

<p>Questions about anything unclear, or corrections where I've got something wrong, are always welcome — drop me a note on the <a href="/contact.html">contact page</a>.</p>

<h2 id="references">References</h2>
<ul>
  <li><a href="https://github.com/chipsalliance/Caliptra/blob/main/doc/Caliptra.md" target="_blank" rel="noopener">chipsalliance/Caliptra — Caliptra specification (Identity section, Fig 4. DICE Cert/Key Generation)</a></li>
  <li><a href="https://github.com/chipsalliance/caliptra-sw" target="_blank" rel="noopener">chipsalliance/caliptra-sw (ROM, FMC, and runtime firmware)</a></li>
</ul>

<hr>

<p><em>Translated and adapted from the Korean original, <a href="https://r-note.tistory.com/171" target="_blank" rel="noopener">"Caliptra 2.0 키 파생 및 인증서 생성 과정"</a> by Ishmael (r-note.tistory.com).</em></p>]]></content><author><name>Suyeon Lee</name></author><category term="Caliptra" /><category term="DICE" /><category term="Silicon Root of Trust" /><category term="Secure Boot" /><category term="PQC" /><category term="ML-DSA" /><category term="Hardware Security" /><category term="Attestation" /><category term="PUF" /><category term="Post-Quantum Cryptography" /><summary type="html"><![CDATA[Notes from redrawing the Caliptra 2.0 DICE cert/key generation diagram.]]></summary></entry><entry><title type="html">Understanding DICE</title><link href="https://slee2407.github.io/2026/06/28/understanding-dice.html" rel="alternate" type="text/html" title="Understanding DICE" /><published>2026-06-28T10:27:18+09:00</published><updated>2026-06-28T10:27:18+09:00</updated><id>https://slee2407.github.io/2026/06/28/understanding-dice</id><content type="html" xml:base="https://slee2407.github.io/2026/06/28/understanding-dice.html"><![CDATA[<h2 id="toc">Table of Contents</h2>
<ol>
  <li><a href="#1-what-is-dice">What Is DICE</a></li>
  <li><a href="#2-what-dice-does">What DICE Does</a></li>
  <li><a href="#3-core-concepts-uds-and-cdi">Core Concepts: UDS and CDI</a></li>
  <li><a href="#4-dices-four-step-operation">DICE's Four-Step Operation</a></li>
  <li><a href="#5-extension-repeating-the-cycle">Extension: Repeating the Four-Step Cycle</a></li>
  <li><a href="#6-certificate-chain">Certificate Chain</a></li>
  <li><a href="#7-open-dice">Open DICE: The Reference Implementation</a></li>
  <li><a href="#8-dice-protection-environment">DICE Protection Environment</a></li>
  <li><a href="#9-real-world-implementations">Real-World Implementations</a></li>
  <li><a href="#10-wrap-up">Wrap-up</a></li>
</ol>

<h2 class="section-heading" id="1-what-is-dice">1. What Is DICE</h2>

<p>DICE traces back to a concept Microsoft Research proposed in 2016. TCG (Trusted Computing Group) later standardized it and published the official spec.</p>
<p>TCG is the same standards body best known for the TPM (Trusted Platform Module). Where TPM defines external security chips for desktops and servers, DICE aims at a lightweight trust foundation for resource-constrained embedded/IoT devices — the idea that you can achieve a similar level of assurance using just a combination of software and hardware, without a separate chip like a TPM.</p>
<p>DICE stands for <strong>Device Identifier Composition Engine</strong>. Breaking down each word:</p>
<ul>
  <li><strong>Device:</strong> creates an identity bound to one specific device.</li>
  <li><strong>Identifier:</strong> that identity takes the form of a cryptographic key.</li>
  <li><strong>Composition:</strong> the identity is created by composing a hardware secret (UDS) with software measurements.</li>
  <li><strong>Engine:</strong> not a physical chip, but a procedure. It defines the rule for how to derive a key this way — whenever a ROM or secure core carries out that procedure, it's acting as DICE.</li>
</ul>
<p>Put simply, DICE is the process of building a chain of trust (keys + certificates) while booting; separate runtime protocols like SPDM/DPE are what actually use that chain to perform attestation.</p>

<h2 class="section-heading" id="2-what-dice-does">2. What DICE Does</h2>

<p>It's worth being precise about the scope of what DICE actually does. In one line:</p>
<blockquote class="blockquote">DICE = the process of building a chain of trust (keys + certificates) while booting.</blockquote>

<h3>Boot Time: Building the Key Hierarchy and Certificate Chain</h3>
<p>DICE's job is this: as each layer along the boot chain measures the next layer, it computes a CDI from that measurement, and derives a key pair and certificate from the CDI. <strong>Once boot finishes, DICE's job is done.</strong> The output is the RT Alias Key and its certificate chain.</p>
<pre><code>ROM → compute CDI → generate IDevID, LDevID, FMC Alias Cert
FMC → compute CDI → generate RT Alias Cert
Boot complete → DICE finished
</code></pre>

<h3>Runtime: the Protocols That Use DICE's Output</h3>
<p>These are the things that actually run after boot, using the material DICE produced.</p>
<ul>
  <li><strong>SPDM Attestation:</strong> signs challenges with the RT Alias Key and presents the certificate chain. Remotely proves "this device is running this firmware."</li>
  <li><strong>DPE service:</strong> at runtime, SoC components can append additional measurements to the DICE chain. This is the concept of extending DICE past boot time.</li>
</ul>
<p>In other words, SPDM and DICE operate at different layers. DICE is "how the certificates get made"; SPDM is "how those certificates get exchanged and verified."</p>

<h2 class="section-heading" id="3-core-concepts-uds-and-cdi">3. Core Concepts: UDS and CDI</h2>

<p>DICE revolves around two core concepts: UDS and CDI.</p>

<h3>UDS (Unique Device Secret)</h3>
<p>UDS is a <strong>secret value unique to each device</strong>.</p>
<ul>
  <li>Stored in non-volatile hardware like eFuse or OTP (One-Time Programmable) storage.</li>
</ul>
<p>It's generated either externally or internally:</p>
<ul>
  <li><strong>eFuse/OTP injection:</strong> on the manufacturing line, an HSM generates a random 128–256-bit value per device and burns it into eFuse. This is how Caliptra's UDS works.</li>
  <li><strong>SRAM PUF:</strong> instead of injecting a separate value, it uses the manufacturing-process variation in SRAM cells (the 0/1 initial-value pattern at power-on) as a device fingerprint. Mostly used in small MCUs without eFuse.</li>
  <li><strong>TRNG-generated internally:</strong> at first boot, a value is generated with a TRNG and stored in NV storage. Since nothing is injected externally, this reduces exposure to supply-chain attacks.</li>
</ul>
<p>UDS matters because it's <strong>the seed for the entire chain of trust</strong>. Without ever being exposed externally, it becomes the source that derives the keys for every layer. Access to the UDS is blocked once the DICE process completes — specifically, right after the ROM computes the first CDI.</p>

<h4>Comparing UDS in the ARM Ecosystem and in Caliptra</h4>
<p>The ARM ecosystem calls the same concept the <strong>HUK (Hardware Unique Key)</strong>. The concept is identical, just named differently — the difference is that HUK is used for more than DICE CDI computation (e.g., PSA platform key derivation too), and in ARM CCA environments it's paired with a GUK (Group Unique Key).</p>
<div class="table-responsive">
  <table class="table table-bordered table-striped">
    <thead><tr><th></th><th>UDS</th><th>HUK</th></tr></thead>
    <tbody>
      <tr><td>Source</td><td>TCG DICE spec</td><td>ARM PSA/TrustZone ecosystem</td></tr>
      <tr><td>Purpose</td><td>Dedicated to DICE CDI derivation</td><td>Multi-purpose: CDI plus PSA platform keys, etc.</td></tr>
      <tr><td>Paired concept</td><td>None</td><td>GUK (in CCA environments)</td></tr>
      <tr><td>Access cutoff</td><td>Immediately after computing the CDI</td><td>Immediately after ROM/OTP code completes</td></tr>
    </tbody>
  </table>
</div>

<h3>CDI (Compound Device Identifier)</h3>
<p>The CDI is the result of composing the UDS and a software measurement with a KDF (Key Derivation Function). It's computed like this — I'll cover exactly which algorithm and additional details in section 9, Real-World Implementations.</p>
<pre><code>CDI_Attestation = KDF(UDS, Hash(code) ‖ Hash(config) ‖ other inputs)
CDI_Sealing     = KDF(UDS, Hash(code) ‖ Hash(config) ‖ version info)
</code></pre>
<p>CDI splits into two kinds depending on purpose:</p>
<ul>
  <li><strong>Attestation CDI:</strong> used to derive the key pair used for remote attestation. The basis for the claim "I am this specific device, running this specific software."</li>
  <li><strong>Sealing CDI:</strong> used to derive an encryption key for sealing data. Used to create data that can only be unsealed by a specific software version. If the firmware changes, the seal can't be undone — a natural rollback defense.</li>
</ul>
<p>If the software changes, the CDI changes with it. That the key reflects software state is DICE's single most powerful property.</p>

<h2 class="section-heading" id="4-dices-four-step-operation">4. DICE's Four-Step Operation</h2>

<p>Here's a step-by-step look at what happens when DICE runs.</p>

<h3>Step 1. Measure</h3>
<p>The DICE subject (usually the ROM, or a previous layer) hashes the next layer's code and configuration.</p>
<ul>
  <li>Code hash: e.g., a SHA-384 of the firmware image that will run next</li>
  <li>Config hash: debug-lock state, secure boot mode, specific config bits, etc.</li>
</ul>
<p>Since this measurement feeds into the CDI computation, what gets measured determines what the CDI means. This config value can vary by platform, and platforms often combine several config values together.</p>

<h3>Step 2. Compute CDI</h3>
<p>A new CDI is created using a KDF.</p>
<pre><code>CDI_new = HMAC-KDF(key=UDS or CDI_prev, data=measurement)
</code></pre>
<p>The first layer uses the UDS as input; every subsequent layer uses the previous CDI as input. The UDS itself is used exactly once.</p>

<h3>Step 3. Lock UDS</h3>
<p>The moment CDI computation finishes, access to the UDS is blocked at the hardware level — implemented via register locks, memory protection settings, and the like. From this point on, no code can access the UDS value.</p>
<p>This lock is the core of DICE's security model. Even if a later layer is compromised, the UDS itself stays safe.</p>

<h3>Step 4. Transfer Control</h3>
<p>The newly computed CDI is handed to the next layer, along with control. That next layer uses the CDI to derive its own keys, then repeats the same process for the layer after it.</p>

<h2 class="section-heading" id="5-extension-repeating-the-cycle">5. Extension: Repeating the Four-Step Cycle</h2>

<p>Above, we walked through a single DICE cycle in detail. In an actual booting sequence, DICE repeats at every boot stage. For example, the structure looks like this:</p>
<pre><code>┌─────────────────────────────────────────────┐
│  HW  │  UDS (eFuse, never exposed externally)│
└──────┴───────────────────────────────────────┘
           │  KDF(UDS, Hash(ROM))
           ▼
┌─────────────────────────────────────────────┐
│  ROM │  CDI_0  (Attestation / Sealing)       │
└──────┴───────────────────────────────────────┘
           │  KDF(CDI_0, Hash(BL1))
           ▼
┌─────────────────────────────────────────────┐
│  BL1 │  CDI_1                                │
└──────┴───────────────────────────────────────┘
           │  KDF(CDI_1, Hash(BL2))
           ▼
          ...
</code></pre>
<p><strong>NOTE:</strong> in this diagram, a step is added where a hardware DICE computes the ROM's own hash before the ROM stage runs — but on most platforms, including Caliptra, the ROM is assumed to be the Root of Trust and the first trust anchor, so that step (hashing the ROM itself) is skipped.</p>
<p>There are two important properties visible in this structure.</p>
<p>1) <strong>Software measurements are reflected in the keys.</strong> If the BL1 code changes, CDI_1 changes, and every CDI downstream of it changes too. Booting with tampered firmware can never reproduce the keys of a legitimate boot.</p>
<p>2) <strong>Each layer can only access its own CDI.</strong> BL2 receives CDI_2, but it can't work backward from that to recover CDI_0 or the UDS. That's guaranteed by the one-way nature of the KDF.</p>

<h2 class="section-heading" id="6-certificate-chain">6. Certificate Chain</h2>

<p>Once a key pair is derived from a CDI, that key needs a certificate chain to actually be trusted. The DICE Attestation Architecture defines that certificate chain as follows.</p>

<h3>IDevID (Initial Device Identity)</h3>
<ul>
  <li><strong>Derivation source:</strong> KDF(UDS)</li>
  <li><strong>Certificate signer:</strong> the Vendor CA (issued at manufacturing)</li>
  <li><strong>Used for:</strong> signing the LDevID certificate. IDevID and LDevID are sibling keys, each independently derived from the UDS; IDevID signs LDevID's certificate to chain them together as the same device.</li>
  <li><strong>Renewable:</strong> no (fixed to the UDS)</li>
</ul>

<h3>LDevID (Local Device Identity)</h3>
<ul>
  <li><strong>Derivation source:</strong> KDF(UDS, FE). FE (field entropy) is injected at field deployment.</li>
  <li><strong>Certificate signer:</strong> IDevID</li>
  <li><strong>Used for:</strong> signing the FMC Alias certificate</li>
  <li><strong>Renewable:</strong> yes (regenerated by rotating the FE)</li>
</ul>

<h3>FMC Alias Key</h3>
<ul>
  <li><strong>Derivation source:</strong> KDF(CDI_FMC). Derived from the CDI produced when the ROM measures FMC.</li>
  <li><strong>Certificate signer:</strong> LDevID</li>
  <li><strong>Used for:</strong> signing the RT Alias certificate</li>
  <li><strong>Renewable:</strong> automatically, every boot</li>
</ul>

<h3>RT Alias Key</h3>
<ul>
  <li><strong>Derivation source:</strong> KDF(CDI_RT). Derived from the CDI produced when FMC measures the Runtime.</li>
  <li><strong>Certificate signer:</strong> FMC Alias</li>
  <li><strong>Used for:</strong> signing challenges in remote attestation over protocols like SPDM. If the firmware changes, the CDI changes, so the key changes automatically too.</li>
  <li><strong>Renewable:</strong> automatically, every boot</li>
</ul>

<p>Here's what the certificate signing chain looks like visualized:</p>
<figure class="text-center">
  <img class="img-fluid" src="/img/posts/dice-caliptra-cert-chain.svg" alt="Caliptra DICE certificate chain, from the Vendor Provisioner CA down through IDevID, LDevID, FMC Alias, RT Alias, to the DPE leaf">
</figure>

<p>If attestation is the act of presenting a certificate, then because the firmware measurement is already baked into that certificate, this structure lets you know what software a device is running without a separate Measurement Report.</p>

<h2 class="section-heading" id="7-open-dice">7. Open DICE: The Reference Implementation</h2>

<p>Where the TCG spec defines the conceptual model, Google's <strong>Open DICE</strong> is a reference implementation that makes that spec concrete enough to actually build.</p>

<h3>Open Profile's Key Contribution</h3>
<p>The TCG spec alone doesn't specify the inputs that go into a CDI computation in enough detail. Open DICE standardizes the inputs for each layer.</p>
<div class="table-responsive">
  <table class="table table-bordered table-striped">
    <thead><tr><th>Input</th><th>Meaning</th></tr></thead>
    <tbody>
      <tr><td>Code Hash</td><td>Hash of the next layer's code image</td></tr>
      <tr><td>Authority Hash</td><td>Hash of the public key that signed the code</td></tr>
      <tr><td>Config Descriptor</td><td>Structured config values: debug state, device settings, etc.</td></tr>
      <tr><td>Mode</td><td>Normal / Debug / Recovery / Not Configured</td></tr>
      <tr><td>Hidden</td><td>An additional secret the consumer can inject</td></tr>
    </tbody>
  </table>
</div>
<p>By defining these inputs consistently, implementations from different vendors can compute and verify CDIs the same way.</p>

<h3>Certificate Format: X.509 vs. CWT</h3>
<p>Open DICE supports two certificate formats:</p>
<ul>
  <li><strong>X.509:</strong> fully compatible with existing PKI infrastructure, reusing the verification tooling of the browser/TLS ecosystem. It's larger, which suits higher-performance environments.</li>
  <li><strong>CBOR Web Token (CWT, RFC 8392):</strong> a lightweight, CBOR-encoded token that packs the same information into a much smaller footprint for IoT/embedded environments outside TLS. This is what Open DICE's CBOR profile covers.</li>
</ul>
<p>You can mix both formats within a single chain — upper layers as X.509, lower embedded layers as CWT.</p>

<h2 class="section-heading" id="8-dice-protection-environment">8. DICE Protection Environment</h2>

<p>The <strong>DPE (DICE Protection Environment)</strong> spec, published in 2023, takes DICE a step further into a service model.</p>

<h3>The Problem</h3>
<p>In the base DICE model, DICE operations (CDI computation, key derivation) run directly inside each layer's code along the boot chain. That means that layer has direct access to the CDI and derived keys.</p>
<p>Ideally, the CDI and secret keys should never leave an isolated environment. DPE proposes separating DICE operations into an independent service to structurally guarantee that isolation.</p>

<h3>DPE's Role</h3>
<p>DPE's main roles are the following two:</p>
<ul>
  <li><strong>CDI isolation:</strong> confines the CDI inside a Secure Partition (e.g., TF-M), so outside code can never access it directly; clients can only reach DPE through an opaque context handle. The CDI is never exposed outside the secure partition.</li>
  <li><strong>Runtime extension:</strong> even after boot finishes, when a new component comes online, it can extend the DICE chain further using a <code>DeriveContext</code> command. This extends DICE — which used to operate only at boot time — into runtime.</li>
</ul>

<h3>How It Works</h3>
<p>Let's use ARM TF-M's DPE as an example. Caliptra itself is a secure partition, but since the most intuitive way a DPE client extends the chain is through sequential <code>DeriveContext</code> calls at each boot stage, I'm using a platform where the host's booting sequence acts as the client, as the example.</p>
<figure class="text-center">
  <img class="img-fluid" src="/img/posts/dice-dpe-sequence.svg" alt="DPE call sequence diagram showing DeriveContext and CertifyKey exchanged between a client and an isolated DPE service">
</figure>
<p>The client never sees the CDI or the raw secret key. It only receives an opaque context handle, and sends commands to DPE using that handle.</p>
<p>Here are the main commands used in DPE:</p>
<div class="table-responsive">
  <table class="table table-bordered table-striped">
    <thead><tr><th>Command</th><th>Action</th></tr></thead>
    <tbody>
      <tr><td>DeriveContext</td><td>Takes a measurement, internally derives a new CDI, returns a handle</td></tr>
      <tr><td>CertifyKey</td><td>Issues a certificate for a specific public key (CDI-based signature)</td></tr>
      <tr><td>GetCertificateChain</td><td>Returns the certificate chain accumulated so far</td></tr>
    </tbody>
  </table>
</div>

<h3>TF-M Implementation</h3>
<p>ARM's Trusted Firmware-M (TF-M) implements DPE as a Secure Partition. The Non-Secure World or other partitions access DPE through the PSA IPC message interface. Internally, it parses CBOR-encoded commands with the QCBOR library, and generates CWT certificates with t_cose.</p>

<h2 class="section-heading" id="9-real-world-implementations">9. Real-World Implementations</h2>

<h3>Caliptra</h3>
<p><a href="/2026/06/15/caliptra-open-source-silicon-root-of-trust.html">Caliptra, covered in an earlier post</a>, adopts DICE as its core architecture.</p>
<p>Caliptra's DICE chain looks like this:</p>
<figure class="text-center">
  <img class="img-fluid" src="/img/posts/dice-caliptra-derivation-chain.svg" alt="Caliptra DICE derivation chain rooted in the UDS, through the ROM DICE engine, IDevID, LDevID, FMC Alias, and RT Alias">
</figure>
<p>Two things stand out. First, starting with Caliptra 2.0, it supports ECDSA-384 and PQC MLDSA-87 simultaneously — both algorithms run in parallel through the certificate chain. Second, runtime attestation is provided through the DPE service: other components inside the SoC add their own measurements to the chain and get certificates issued via Caliptra's DPE handle.</p>

<h3>ARM RSE</h3>
<p>ARM's RSE (Runtime Security Engine) also runs a DPE partition on top of TF-M. DICE is applied across the entire boot chain: BL1 ROM → BL2 → the Secure world → the Non-Secure world.</p>
<p>Where Caliptra exists as an independent security core inside the SoC, RSE also doubles as the ARM SoC's system control processor — that's the difference. But the DICE principle and chain structure are identical.</p>

<h3>Relationship with SPDM</h3>
<p>The attestation protocol covered in an earlier SPDM post and DICE handle different layers.</p>
<ul>
  <li><strong>DICE:</strong> a specification for how to create certificates (key derivation, certificate issuance)</li>
  <li><strong>SPDM:</strong> a specification for how to exchange and verify the certificates that were created (a protocol)</li>
</ul>
<p>The certificates and measurements that SPDM's <code>GET_MEASUREMENTS</code> and <code>CHALLENGE</code> commands need come from DICE. The two standards are separate, but on a real device they work together.</p>

<h2 class="section-heading" id="10-wrap-up">10. Wrap-up</h2>

<p>If I had to sum up DICE in one sentence: it's a structure that <strong>bakes software measurements into keys</strong>.</p>
<p>Where a TPM bolts on a separate trusted chip, DICE turns the boot flow itself into a chain of trust. Without any separate security chip, it's designed so that the moment software state changes, the keys change with it.</p>
<p>Multiple platforms — Caliptra, RSE, Android's pVM, and others — have already adopted DICE. Across datacenters, mobile, and IoT alike, hardware RoT plus software-measurement-based key derivation is becoming an industry standard, and given that DICE sits at the center of that trend, I think understanding this concept matters.</p>
<p>In a follow-up post, I'll dig into caliptra-sw's implementation in detail — what inputs, what KDF, and exactly how the keys get derived and used.</p>

<hr>

<h2 id="references">References</h2>
<ul>
  <li><a href="https://trustedcomputinggroup.org/wp-content/uploads/Hardware-Requirements-for-Device-Identifier-Composition-Engine-r78_For-Publication.pdf" target="_blank" rel="noopener">TCG Hardware Requirements for DICE (r78)</a></li>
  <li><a href="https://trustedcomputinggroup.org/wp-content/uploads/DICE-Attestation-Architecture-r23-final.pdf" target="_blank" rel="noopener">TCG DICE Attestation Architecture</a></li>
  <li><a href="https://trustedcomputinggroup.org/wp-content/uploads/DICE-Protection-Environment-Version-1.0_pub.pdf" target="_blank" rel="noopener">TCG DICE Protection Environment v1.0</a></li>
  <li><a href="https://github.com/google/open-dice" target="_blank" rel="noopener">google/open-dice (GitHub)</a></li>
  <li><a href="https://github.com/google/open-dice/blob/main/docs/specification.md" target="_blank" rel="noopener">Open Profile for DICE Specification</a></li>
  <li><a href="https://deepwiki.com/chipsalliance/caliptra-sw/2.2-dice-security-architecture" target="_blank" rel="noopener">DICE Security Architecture — Caliptra</a></li>
  <li><a href="https://trustedfirmware-m.readthedocs.io/projects/tf-m-extras/en/latest/partitions/dice_protection_environment/dice_protection_environment.html" target="_blank" rel="noopener">TF-M DPE Partition</a></li>
  <li><a href="https://www.microsoft.com/en-us/research/project/dice-device-identifier-composition-engine/" target="_blank" rel="noopener">Microsoft Research DICE Project</a></li>
</ul>

<hr>

<p><em>Translated and adapted from the Korean original, <a href="https://r-note.tistory.com/167" target="_blank" rel="noopener">"DICE에 대해 알아보자 (UDS에서 Chain of Trust, DPE, Caliptra)"</a> by Ishmael (r-note.tistory.com).</em></p>]]></content><author><name>Suyeon Lee</name></author><summary type="html"><![CDATA[Table of Contents What Is DICE What DICE Does Core Concepts: UDS and CDI DICE's Four-Step Operation Extension: Repeating the Four-Step Cycle Certificate Chain Open DICE: The Reference Implementation DICE Protection Environment Real-World Implementations Wrap-up]]></summary></entry><entry><title type="html">Caliptra: An Open-Source Silicon Root of Trust</title><link href="https://slee2407.github.io/2026/06/15/caliptra-open-source-silicon-root-of-trust.html" rel="alternate" type="text/html" title="Caliptra: An Open-Source Silicon Root of Trust" /><published>2026-06-15T20:52:46+09:00</published><updated>2026-06-15T20:52:46+09:00</updated><id>https://slee2407.github.io/2026/06/15/caliptra-open-source-silicon-root-of-trust</id><content type="html" xml:base="https://slee2407.github.io/2026/06/15/caliptra-open-source-silicon-root-of-trust.html"><![CDATA[<blockquote class="blockquote">I wanted to write up Caliptra, the open-source silicon Root of Trust that's changing the game for datacenter chip security. Starting from its relationship with OCP (Open Compute Project), I'll go through its history and its current (2.x) hardware/software architecture, then finish by comparing it with ARM's answer to the same problem: RSE (Runtime Security Engine).</blockquote>

<h2 id="toc">Table of Contents</h2>
<ol>
  <li><a href="#1-introduction">Introduction</a></li>
  <li><a href="#2-caliptras-relationship-with-ocp">Caliptra's Relationship with OCP</a></li>
  <li><a href="#3-caliptra-history">Caliptra History</a></li>
  <li><a href="#4-caliptra-hardware-architecture">Caliptra Hardware Architecture (as of 2.x)</a></li>
  <li><a href="#5-caliptras-core-features">Caliptra's Core Features</a></li>
  <li><a href="#6-caliptra-software-architecture">Caliptra Software Architecture</a></li>
  <li><a href="#7-comparison-with-arm-rse">Comparison with ARM RSE</a></li>
  <li><a href="#8-wrap-up">Wrap-up</a></li>
</ol>

<h2 class="section-heading" id="1-introduction">1. Introduction</h2>

<p>Caliptra was announced in 2022, and after a period where only the spec and code existed, 2026 is when chips that actually integrate Caliptra are starting to show up in the real market. That means we're entering an era where GPUs, SSDs, NICs, and other datacenter devices come with a "root of trust baked into the die" as standard equipment. So I think now is a good time to write this technology up.</p>

<p>Looking at where it's actually being deployed makes the momentum feel more real.</p>
<ul>
  <li><strong>Microsoft &amp; Google mandates:</strong> both companies now require Caliptra-based RoT in every compute, networking, and storage controller chip supplied into their datacenters. It's effectively being forced across the entire supply chain.</li>
  <li><strong>Google's first-party silicon:</strong> Google is integrating Caliptra into its own custom CPU/GPU/DPU/BMC/SSD chips, and requiring the same from external suppliers.</li>
  <li><strong>Storage controllers:</strong> SSD controller vendors like ScaleFlux have announced adoption. This area naturally dovetails with OCP L.O.C.K. (SED key management), covered later.</li>
  <li><strong>Microsoft Azure infrastructure:</strong> Microsoft is folding Caliptra 2.0/2.1, including Adams Bridge (PQC), into its infrastructure security architecture.</li>
</ul>
<p>For reference, NVIDIA and AMD are founding members, but there isn't much officially published detail on which specific production products (e.g., which GPU generation) shipped with which version, so I won't make claims about that here.</p>

<p>This post covers:</p>
<ul>
  <li>Caliptra's relationship with OCP (who defines the spec, who implements it)</li>
  <li>The background behind Caliptra's creation and its version history (1.0 → 2.0 → 2.1)</li>
  <li>Its full hardware/software architecture as it stands today</li>
  <li>A point-by-point comparison with ARM RSE</li>
</ul>

<h2 class="section-heading" id="2-caliptras-relationship-with-ocp">2. Caliptra's Relationship with OCP</h2>

<p>To really understand Caliptra, you first need to know where it came from. The short answer: <strong>Caliptra is the result of a requirement set by a consortium called OCP</strong>. So this section starts with what OCP is, then covers why OCP and Caliptra are linked, and finally the governance structure that splits the spec from the implementation.</p>

<h3>What OCP Is</h3>
<p><strong>OCP (Open Compute Project)</strong> is an open hardware consortium founded in 2011, led by Facebook (now Meta). It's where datacenter hardware designs — servers, racks, networking, storage — get published and standardized. Meta, Microsoft, Google, Intel, AMD, and NVIDIA are among its members, and it's also the venue where hyperscalers jointly define requirements like "this is what the hardware we buy needs to look like."</p>
<p>It shares a lot of members with DMTF, but the roles differ. In short: DMTF defines protocol standards (SPDM, MCTP, PLDM), while OCP defines hardware design and security requirements.</p>

<h3>What the OCP Security Group Produces</h3>
<div class="table-responsive">
  <table class="table table-bordered table-striped">
    <thead><tr><th>Deliverable</th><th>Role</th></tr></thead>
    <tbody>
      <tr><td>Project Cerberus</td><td>A board-level RoT spec Microsoft contributed. A separate RoT chip on the board that verifies platform firmware.</td></tr>
      <tr><td>Attestation Spec v1.0</td><td>Attestation requirements for datacenter devices. Adopts DMTF SPDM as the attestation protocol.</td></tr>
      <tr><td>OCP S.A.F.E.</td><td>Security Appraisal Framework and Enablement — a third-party security audit framework.</td></tr>
      <tr><td>OCP L.O.C.K.</td><td>Layered Open-source Cryptographic Key-management — a key-management layer for self-encrypting storage (SED). Implemented in Caliptra 2.1.</td></tr>
      <tr><td>Caliptra</td><td>A silicon RoT integrated into the die itself. The subject of this post.</td></tr>
    </tbody>
  </table>
</div>

<h3>Why OCP and Caliptra Are Linked</h3>
<p>Looking at just the table above, Caliptra might seem like just one of OCP's many deliverables. The relationship is actually more direct than that. In short: <strong>Caliptra is the concrete answer to a requirement OCP created.</strong></p>
<p>Tracing the flow:</p>
<ul>
  <li><strong>Defining the requirement:</strong> hyperscalers established, within OCP, the direction that "every chip entering a datacenter must have a verifiable root of trust inside the die." The Attestation Spec and Project Cerberus are what turned that requirement into documents.</li>
  <li><strong>Defining the implementation:</strong> requirements alone don't produce a chip. So a concrete implementation — "an open-source silicon RoT integrated into the die" — was defined, and that's Caliptra.</li>
  <li><strong>Spec management:</strong> Caliptra's "Silicon RoT Services" spec is owned and revised by the OCP Security group. In other words, Caliptra is formally part of OCP's standards track.</li>
  <li><strong>Exposing attestation results:</strong> the measurements and signatures Caliptra produces are delivered to the platform via SPDM, which the OCP Attestation Spec adopted. The producer (Caliptra) and the delivery protocol (OCP-adopted SPDM) mesh together within one ecosystem.</li>
</ul>
<p>To sum up: OCP is the venue that decides "what's needed" (requirements/standards), and Caliptra is the answer to "so what goes inside the chip" (implementation). That's why this post covers OCP alongside Caliptra.</p>

<h3>Dual Governance: OCP Owns the Spec, CHIPS Alliance Owns the Implementation</h3>
<p>There's one more layer here. Personally, I find the split governance the most distinctive part of Caliptra.</p>
<ul>
  <li><strong>Spec (requirements):</strong> managed by the OCP Security group. Defines the "Silicon RoT Services" a datacenter SoC must provide.</li>
  <li><strong>Implementation (RTL + firmware):</strong> managed by CHIPS Alliance, under the Linux Foundation. Develops the SystemVerilog RTL and Rust firmware as open source.</li>
</ul>

<pre><code>┌──────────────────────────┐    adopts SPDM as      ┌──────────────────────┐
│ OCP                      │    attestation proto   │ DMTF                 │
│  · Caliptra Spec         │ ─────────────────────&gt; │  · SPDM (DSP0274)    │
│  · Attestation Spec v1.0 │                        │  · MCTP / PLDM       │
│  · Project Cerberus      │                        └──────────────────────┘
│  · S.A.F.E. / L.O.C.K.   │
└────────────┬─────────────┘
             │  specification
</code></pre>

<p>To put it simply: OCP draws the blueprint, and CHIPS Alliance embodies it. OCP's spec defines "what" to build; CHIPS Alliance turns that into working RTL and firmware code that defines "how."</p>
<p>One thing worth noting: both of these are governance bodies (who manages and revises), not the ones actually manufacturing chips. The blueprint (OCP) and the reference implementation (CHIPS Alliance) are both open source, and chip vendors like AMD, NVIDIA, and Google take them and integrate/mass-produce them into their own SoCs. Here's the full chain:</p>

<pre><code>OCP blueprint (spec)
  └─&gt; CHIPS Alliance reference implementation (RTL + Rust FW)
        └─&gt; chip vendors integrate/customize into their own die
              └─&gt; production chips (GPU / SSD / NIC / CPU ...)
</code></pre>

<p>This structure — spec open, implementation open — is Caliptra's core strength: vendors can take it for free, and modify it if they need to.</p>

<h3>Cerberus vs. Caliptra: Division of Labor</h3>
<p>Both are OCP RoTs, but they sit in different places. Cerberus is board-level (a separate chip that verifies a platform's entire firmware), while Caliptra is inside the die (each SoC/ASIC's own measurement and identity). In a datacenter platform, the two coexist: think of a Cerberus-style platform RoT acting as the SPDM Requester, collecting the measurements backed by the Caliptra inside each device.</p>

<h2 class="section-heading" id="3-caliptra-history">3. Caliptra History</h2>

<h3>Background: The Limits of External RoTs</h3>
<p>A TPM or a separate RoT chip (including Cerberus) is a component outside the package. That created clear limitations:</p>
<ul>
  <li><strong>Interposer attacks:</strong> exposed to physical attacks that intercept signals between the chip and the board.</li>
  <li><strong>Vendor fragmentation:</strong> every device implements RoT differently, which is expensive for hyperscalers to validate.</li>
  <li><strong>Opacity:</strong> closed firmware makes auditing impossible.</li>
</ul>
<p>Hyperscalers reached a clear conclusion: put the root of trust inside the die, and open-source the entire design.</p>

<h3>Timeline</h3>
<div class="table-responsive">
  <table class="table table-bordered table-striped">
    <thead><tr><th>Period</th><th>Event</th></tr></thead>
    <tbody>
      <tr><td>2022.10</td><td>Announced at the OCP Global Summit: a joint effort by Google, Microsoft, AMD, and NVIDIA</td></tr>
      <tr><td>2023</td><td>Caliptra 1.0: an RTM (RoT for Measurement) core — DICE identity, measured boot, a signing oracle</td></tr>
      <tr><td>2024–25</td><td>Caliptra 2.0: PQC introduced (Adams Bridge, ML-DSA), Subsystem mode, streaming boot, ownership transfer</td></tr>
      <tr><td>2025–26</td><td>Caliptra 2.1: Adams Bridge 2.0 (ML-DSA + ML-KEM, hardened side-channel resistance), OCP L.O.C.K. key management implemented</td></tr>
      <tr><td>2026</td><td>Chips integrating Caliptra begin appearing on the market</td></tr>
    </tbody>
  </table>
</div>

<h3>Why PQC Was Adopted Early</h3>
<p>The most striking decision in Caliptra 2.x is building post-quantum cryptography (PQC) in as a hardware accelerator (Adams Bridge). The motivation is the "harvest now, decrypt later" attack model — collect ciphertext now, decrypt it once quantum computers exist. Since a chip stays in the field for close to a decade after it ships, the calculation is that a chip manufactured in 2026 needs PQC built in now to stay safe for its whole lifecycle. It supports both NIST standards: ML-DSA (signatures) and ML-KEM (key encapsulation).</p>

<h3>Building Trust</h3>
<p>Being open source isn't the end of the story — what's striking is the layers of verification that openness makes possible:</p>
<ul>
  <li>Cross-review by the security teams of member companies (MS/Google/AMD/NVIDIA)</li>
  <li>Third-party audit under OCP S.A.F.E. certification</li>
  <li>Formal verification by outside vendors</li>
  <li>The entire firmware written in Rust for memory safety</li>
</ul>

<h2 class="section-heading" id="4-caliptra-hardware-architecture">4. Caliptra Hardware Architecture (as of 2.x)</h2>

<h3>Overall Block Diagram</h3>
<pre><code>┌───────────────────────────── Caliptra IP Block ─────────────────────────────┐
│                                                                              │
│  ┌──────────────┐  ┌──────────────┐  ┌────────────────────────────────────┐ │
│  │ VeeR EL2     │  │ ROM          │  │ Crypto Engines                     │ │
│  │ RISC-V       │  │ (immutable)  │  │  SHA-256/384/512   HMAC    AES     │ │
│  │ RV32IMC      │  └──────────────┘  │  ECC P-384         TRNG            │ │
│  └──────────────┘                    │  Adams Bridge (PQC: ML-DSA/ML-KEM) │ │
│                                       └────────────────────────────────────┘ │
│  ┌──────────────┐  ┌──────────────┐  ┌──────────────┐  ┌─────────────────┐  │
│  │ ICCM (128KB) │  │ DCCM (128KB) │  │ Key Vault     │  │ Fuse Interface  │  │
│  │ instr. only  │  │ data only    │  │ PCR / Data    │  │ UDS / Field     │  │
│  └──────────────┘  └──────────────┘  │ Vault         │  │ Entropy         │  │
│                                       └──────────────┘  └─────────────────┘  │
│  ┌──────────────────────────────────────────────────────────────────────┐   │
│  │ Mailbox — the SoC's only channel to send Caliptra commands            │   │
│  └──────────────────────────────────────────────────────────────────────┘   │
└──────────────────────────────────────────────────────────────────────────────┘
</code></pre>

<p>Here are the key components:</p>
<ul>
  <li><strong>VeeR EL2:</strong> an RV32IMC RISC-V core. A verified open-source core from CHIPS Alliance that runs only Caliptra's own firmware.</li>
  <li><strong>ICCM/DCCM, 128KB each:</strong> tightly-coupled memory dedicated to instructions/data. Only firmware verified by the ROM gets loaded into ICCM.</li>
  <li><strong>Crypto engines:</strong> classic algorithms like SHA, HMAC, AES, and ECC P-384, plus the Adams Bridge PQC accelerator starting in 2.x (covered separately below).</li>
  <li><strong>Key Vault / PCR Vault / Data Vault:</strong> personally, I think this is the crown jewel of Caliptra's design. Not even the CPU can read key material in plaintext — keys only flow between vault slots and engines. Even if the firmware is fully compromised, key material never leaks.</li>
  <li><strong>Fuse interface:</strong> supplies the UDS (Unique Device Secret) and Field Entropy from fuses. The UDS is the root of every identity.</li>
  <li><strong>Mailbox:</strong> the sole channel through which the SoC sends commands to Caliptra (registering measurements, requesting signatures, etc.).</li>
</ul>

<h3>Adams Bridge: the PQC Hardware Accelerator</h3>
<p><strong>Adams Bridge</strong> is the dedicated post-quantum cryptography (PQC) accelerator built into Caliptra 2.x. It was co-developed by AMD, Google, Microsoft, and NVIDIA, with the RTL also released publicly.</p>
<blockquote class="blockquote">The name's origin is a fun one — it's a metaphor for a "bridge" spanning the huge gap between classical asymmetric cryptography (RSA/ECC) and post-quantum cryptography. It's named after the mythical land bridge connecting two landmasses (Adam's Bridge), a name given by Microsoft (Azure).</blockquote>
<ul>
  <li><strong>Unified datapath:</strong> processes the NIST-standard ML-DSA-87 (FIPS 204, signatures) and ML-KEM-1024 (FIPS 203, key encapsulation) in a single hardware block. It's designed to share the NTT/INTT (polynomial transform) and Keccak cores that both algorithms use, reducing area.</li>
  <li><strong>Built-in side-channel resistance:</strong> applies masking, shuffling, and constant-time control/operations. TVLA (Test Vector Leakage Assessment) testing up to 1 million traces confirmed no first-order leakage. The key goal is making sure the RoT's key-derivation operations don't leak through power or timing side channels.</li>
  <li><strong>Pipelined processing:</strong> a staged pipeline datapath streams NTT/INTT and hashing through. The reference implementation targets a 5nm process at 600MHz.</li>
  <li><strong>Versions:</strong> Adams Bridge in 2.0 was ML-DSA-focused; Adams Bridge 2.0 in 2.1 adds ML-KEM and strengthens side-channel defenses.</li>
</ul>
<p>So why put a PQC accelerator inside the RoT at all? Because moving chip identity signing (IDevID/Alias) and firmware verification to PQC means that computation has to happen inside the RoT — fast, and side-channel safe. Handing it off to the SoC's AP would let key computation leak outside the trust boundary.</p>

<h3>Passive Mode vs. Subsystem Mode (2.0+)</h3>
<ul>
  <li><strong>Passive (default in 1.x):</strong> Caliptra is an RTM handling only measurement and signing. Overall boot control stays with the existing boot chain.</li>
  <li><strong>Subsystem (2.0+):</strong> adds an MCU (manufacturer control unit), I3C, and a recovery interface to Caliptra Core, extending it into the RoT for the entire SoC. This is where features like streaming boot (receiving firmware directly from the host with no local storage) and ownership transfer come from.</li>
</ul>

<h2 class="section-heading" id="5-caliptras-core-features">5. Caliptra's Core Features</h2>

<p>Combining the hardware blocks and firmware, the "Silicon RoT Services" Caliptra provides to an SoC ultimately break down into four groups. I'll also cover the surrounding OCP-standardized frameworks (S.A.F.E., L.O.C.K.).</p>

<h3>1) Measured Boot</h3>
<p>The first thing Caliptra does is measure the integrity of itself and the SoC's firmware. It accumulates the hash of each boot stage and each external firmware image into the PCR Vault. That leaves a tamper-proof record of what actually got loaded, and that measurement becomes the basis for later attestation.</p>

<h3>2) Attestation</h3>
<p>When a host or platform RoT asks "are you genuine, and has your firmware changed?", Caliptra answers by signing the measurements with the chip's unique identity key. That identity key is derived from the UDS (the device secret in fuses). If the firmware changes, the measurement — and therefore the signature — changes with it, so tampering can't be hidden. Starting in 2.x, it issues both an ECC P-384 signature and a PQC (ML-DSA) signature.</p>

<h3>3) Key Management</h3>
<p>Key management is entirely handled by the Key Vault. Not even the CPU (firmware) can read key material in plaintext; keys only flow between vault slots and crypto engines. So even if the entire firmware is compromised, the identity keys specifically never leak. Personally, I think of this as the design's last line of defense.</p>

<h3>4) Update &amp; Recovery</h3>
<p>FMC/RT only update to images that pass signature verification. What's interesting here is Subsystem mode (2.0+): streaming boot (receiving firmware directly from the host with no local storage), a recovery path for restoring corrupted firmware, and even ownership transfer are all managed by the RoT.</p>

<h3>Surrounding OCP Frameworks: S.A.F.E. and L.O.C.K.</h3>
<p>Caliptra isn't a chip on its own — two frameworks the OCP Security group built around it pair up in real deployments.</p>
<ul>
  <li><strong>OCP S.A.F.E.</strong> (Security Appraisal Framework and Enablement): a framework standardizing third-party audits of firmware/RoT implementations by accredited security assessment labs (SALs). It turns the redundant cost of every hyperscaler separately auditing vendor firmware into a structure where "one audit, everyone trusts it." It's the channel through which an open RoT like Caliptra gets objective auditing.</li>
  <li><strong>OCP L.O.C.K.</strong> (Layered Open-source Cryptographic Key-management): an open standard for self-encrypting storage (SED) key management built on top of Caliptra. The RoT manages the lifecycle (generation, sealing, unsealing) of drive encryption keys, so tampered firmware can never unlock the keys. Implemented in Caliptra 2.1.</li>
</ul>
<p>Together, these show OCP's layering clearly: RoT inside the chip (Caliptra) → audit (S.A.F.E.) → application domain (L.O.C.K., storage) — trust extending outward.</p>

<h2 class="section-heading" id="6-caliptra-software-architecture">6. Caliptra Software Architecture</h2>

<h3>The Staged Boot Chain: All Rust</h3>
<p>Caliptra's internal firmware runs in three sequential stages: ROM → FMC → RT. Like ARM TF-A's BL1 → BL2 → BL31, this is a classic staged secure boot where each stage only loads and runs the next stage after verifying its signature. The difference: each stage accumulates the next stage's hash as a measurement, so the moment boot finishes, that becomes the basis for attestation. All three stages are written in Rust.</p>

<pre><code> ┌──────────────┐               ┌──────────────┐               ┌──────────────┐
 │     ROM      │──verify+load─&gt;│     FMC      │──verify+load─&gt;│      RT      │
 │  immutable   │               │ first mutable│               │   runtime    │
 └──────────────┘               └──────────────┘               └──────────────┘
   ≈ TF-A BL1                     ≈ TF-A BL2                     ≈ TF-A BL31
</code></pre>

<div class="table-responsive">
  <table class="table table-bordered table-striped">
    <thead><tr><th>Stage</th><th>Nature</th><th>Role</th></tr></thead>
    <tbody>
      <tr><td>ROM</td><td>Immutable</td><td>Decrypts the UDS, derives the first identity key, verifies and loads FMC/RT</td></tr>
      <tr><td>FMC (First Mutable Code)</td><td>Minimal updatable code</td><td>An extension of ROM. Derives the Alias key from its own measurement</td></tr>
      <tr><td>RT (Runtime)</td><td>Updatable</td><td>Services mailbox commands: registering measurements, querying certificates, signing</td></tr>
    </tbody>
  </table>
</div>

<h3>Code Repository Structure</h3>
<div class="table-responsive">
  <table class="table table-bordered table-striped">
    <thead><tr><th>Repo</th><th>Contents</th></tr></thead>
    <tbody>
      <tr><td>chipsalliance/Caliptra</td><td>Unified spec and documentation</td></tr>
      <tr><td>chipsalliance/caliptra-rtl</td><td>Hardware RTL (SystemVerilog)</td></tr>
      <tr><td>chipsalliance/caliptra-sw</td><td>ROM / FMC / RT firmware (Rust) + emulator and tests</td></tr>
      <tr><td>chipsalliance/caliptra-mcu-sw</td><td>Subsystem-mode MCU firmware</td></tr>
    </tbody>
  </table>
</div>

<h2 class="section-heading" id="7-comparison-with-arm-rse">7. Comparison with ARM RSE</h2>

<h3>RSE in Brief</h3>
<p><strong>RSE (Runtime Security Engine)</strong> is a hardware RoT and isolated attestation enclave built into ARM A-profile compute subsystems (e.g., Neoverse CSS).</p>
<ul>
  <li>HW: a Cortex-M55 core, dedicated SRAM banks, an MPC (Memory Protection Controller), ROM</li>
  <li>FW: a runtime based on TF-M (Trusted Firmware-M)</li>
  <li>Services: Measured Boot, Initial/Delegated Attestation, Crypto, ADAC (Authenticated Debug Access Control)</li>
  <li>In ARM CCA (Confidential Compute Architecture), it acts as the HES Host</li>
  <li>In the DICE scheme, it provides a DPE (DICE Protection Environment) implementation</li>
  <li>Communicates with the AP over MHU (+ the SFCP protocol)</li>
</ul>
<p>The core idea — "an isolated security processor inside the die owns measurement, identity, and signing" — is identical to Caliptra. What differs is the ecosystem and how much is open.</p>

<h3>Point-by-Point Comparison</h3>
<pre><code> ┌──────────── Caliptra ─────────────┐   ┌───────────── ARM RSE ─────────────┐
 │ CPU : RISC-V VeeR EL2 (RV32IMC)   │   │ CPU : Cortex-M55                  │
 │ FW  : Rust  (ROM / FMC / RT)      │   │ FW  : TF-M (C)                    │
 │ ID  : DICE  (IDevID -&gt; Alias)     │   │ ID  : DPE  /  PSA·CCA token       │
 │ ATT : SPDM signing oracle         │   │ ATT : Initial/Delegated Attest    │
 │ PQC : ML-DSA + ML-KEM (built-in)  │   │ PQC : roadmap                     │
 │ RTL : open (SystemVerilog)        │   │ RTL : licensed IP                 │
 └────────────────────────────────────┘   └────────────────────────────────────┘
</code></pre>

<div class="table-responsive">
  <table class="table table-bordered table-striped">
    <thead><tr><th>Axis</th><th>Caliptra</th><th>ARM RSE</th></tr></thead>
    <tbody>
      <tr><td>Governance</td><td>OCP spec + CHIPS Alliance implementation, fully open</td><td>ARM-designed. Only the firmware (TF-M) is open</td></tr>
      <tr><td>RTL published</td><td>✅ Full SystemVerilog published</td><td>❌ Licensed subsystem IP</td></tr>
      <tr><td>CPU</td><td>RISC-V VeeR EL2</td><td>Cortex-M55</td></tr>
      <tr><td>Firmware language</td><td>Rust</td><td>C (TF-M)</td></tr>
      <tr><td>Identity scheme</td><td>DICE (IDevID/LDevID/Alias)</td><td>DPE or PSA/CCA attestation tokens</td></tr>
      <tr><td>Attestation exposure</td><td>SPDM signing oracle</td><td>PSA Initial Attestation, CCA attestation</td></tr>
      <tr><td>PQC</td><td>ML-DSA + ML-KEM built into hardware</td><td>On the roadmap</td></tr>
      <tr><td>Key protection</td><td>Key Vault (not even the CPU gets plaintext access)</td><td>Isolated SRAM + MPC</td></tr>
      <tr><td>Primary target</td><td>Datacenter device SoCs</td><td>ARM SoCs (Neoverse CSS, CCA)</td></tr>
    </tbody>
  </table>
</div>

<h3>Things Worth Watching</h3>
<ul>
  <li><strong>Same problem, two ecosystems' answers.</strong> The requirement — "isolated in-die RoT + measured boot + attestation" — is identical. But Caliptra solves it as a horizontal open standard driven by hyperscalers, while RSE solves it as IP vertically integrated into the ARM platform.</li>
  <li><strong>DICE vs. DPE: same TCG root, different layering.</strong> Caliptra implements DICE key derivation directly in its own ROM/FMC/RT chain, while RSE provides DICE layering to the outside (the AP's boot stages) as a service called DPE.</li>
  <li><strong>Not mutually exclusive.</strong> Integrating Caliptra into an ARM SoC is a real possibility. In fact, the OCP camp's actual position is closer to "ISA-agnostic — any chip entering a datacenter should have Caliptra-level RoT Services." I think a realistic future looks like an ARM server SoC with RSE, and a GPU/SSD with Caliptra embedded, mutually attesting to each other over SPDM on the same platform.</li>
</ul>

<h2 class="section-heading" id="8-wrap-up">8. Wrap-up</h2>

<p>In one line:</p>
<blockquote class="blockquote">OCP defines the requirements (spec), CHIPS Alliance implements them as open source (RTL + Rust FW), and the result, Caliptra, signs measurements with a DICE identity.</blockquote>

<p>The shift from the TPM era's "separate chip on the board" to "open-source RoT inside the die" feels like a signal that the baseline for hardware trust is moving from vendor goodwill to a verifiable, public design. Given that it ships with PQC built in from the start and is already showing up in 2026 production chips, I think it's fair to call Caliptra the de facto standard candidate for datacenter silicon security, for now.</p>

<p>In the next post, I plan to build the caliptra-sw emulator myself, watch the ROM → FMC → RT boot sequence in action, and pull a DICE certificate chain out via a mailbox command as a hands-on exercise.</p>

<hr>

<h2 id="references">References</h2>

<h4>Official Specs / Docs</h4>
<ul>
  <li><a href="https://chipsalliance.github.io/Caliptra/doc/Caliptra.html" target="_blank" rel="noopener">Caliptra official documentation (CHIPS Alliance)</a></li>
  <li><a href="https://www.opencompute.org/documents/caliptra-2-0-pdf" target="_blank" rel="noopener">Caliptra 2.0 Specification (OCP)</a></li>
  <li><a href="https://www.opencompute.org/documents/caliptra-silicon-rot-services-09012022-pdf" target="_blank" rel="noopener">Caliptra 1.0 Specification (OCP, 2022)</a></li>
  <li><a href="https://chipsalliance.github.io/Caliptra/2.0/specification/HEAD/" target="_blank" rel="noopener">Caliptra 2.0 Specification (CHIPS Alliance rendering)</a></li>
  <li><a href="https://www.opencompute.org/documents/attestation-v1-0-20201104-pdf" target="_blank" rel="noopener">OCP Attestation v1.0 Requirements</a></li>
  <li><a href="https://www.opencompute.org/wiki/Security" target="_blank" rel="noopener">OCP Security Wiki</a></li>
</ul>

<h4>Source Code</h4>
<ul>
  <li><a href="https://github.com/chipsalliance/Caliptra" target="_blank" rel="noopener">chipsalliance/Caliptra — IP and integration docs</a></li>
  <li><a href="https://github.com/chipsalliance/caliptra-sw" target="_blank" rel="noopener">chipsalliance/caliptra-sw — ROM/FMC/RT firmware (Rust)</a></li>
  <li><a href="https://github.com/chipsalliance/caliptra-sw/blob/main/rom/dev/README.md" target="_blank" rel="noopener">caliptra-sw ROM README — DICE derivation details</a></li>
  <li><a href="https://github.com/chipsalliance/caliptra-sw/blob/main/fmc/README.md" target="_blank" rel="noopener">caliptra-sw FMC README</a></li>
  <li><a href="https://github.com/chipsalliance/caliptra-mcu-sw" target="_blank" rel="noopener">chipsalliance/caliptra-mcu-sw — Subsystem MCU firmware</a></li>
</ul>

<h4>News / Blogs</h4>
<ul>
  <li><a href="https://techcommunity.microsoft.com/blog/azureinfrastructureblog/caliptra-2-1-an-open-source-silicon-root-of-trust-with-enhanced-protection-of-da/4460758" target="_blank" rel="noopener">Microsoft — Caliptra 2.1: Enhanced Protection of Data At-Rest (L.O.C.K.)</a></li>
  <li><a href="https://www.chipsalliance.org/news/caliptra2-1/" target="_blank" rel="noopener">CHIPS Alliance — Caliptra 2.1 RTL Release</a></li>
  <li><a href="https://azure.microsoft.com/en-us/blog/protecting-azure-infrastructure-from-silicon-to-systems/" target="_blank" rel="noopener">Microsoft Azure — Protecting Azure Infrastructure from Silicon to Systems</a></li>
  <li><a href="https://cloud.google.com/blog/topics/systems/google-security-innovation-at-the-ocp-regional-summit" target="_blank" rel="noopener">Google Cloud — Security Innovation at the OCP Regional Summit</a></li>
  <li><a href="https://www.wolfssl.com/caliptra-your-silicons-security-chaperone/" target="_blank" rel="noopener">wolfSSL — Caliptra: Your Silicon's Security Chaperone</a></li>
</ul>

<h4>ARM RSE</h4>
<ul>
  <li><a href="https://trustedfirmware-m.readthedocs.io/en/latest/platform/arm/rse/readme.html" target="_blank" rel="noopener">TF-M — Runtime Security Engine (RSE) documentation</a></li>
  <li><a href="https://neoverse-reference-design.docs.arm.com/en/latest/shared/rse.html" target="_blank" rel="noopener">Neoverse Reference Design — RSE</a></li>
  <li><a href="https://trustedfirmware-a.readthedocs.io/en/latest/design_documents/rse.html" target="_blank" rel="noopener">TF-A — RSE design documentation</a></li>
  <li><a href="https://www.trustedfirmware.org/docs/tech_forum_20231123_RTE_Introduction.pdf" target="_blank" rel="noopener">TrustedFirmware.org — RSE Introduction (2023 Tech Forum)</a></li>
</ul>

<h4>Related Standards</h4>
<ul>
  <li>DMTF DSP0274: SPDM (Security Protocol and Data Model)</li>
  <li>TCG DICE Attestation Architecture</li>
  <li>TCG DICE Protection Environment (DPE)</li>
</ul>

<hr>

<p><em>Translated and adapted from the Korean original, <a href="https://r-note.tistory.com/166" target="_blank" rel="noopener">"Caliptra: 오픈소스 실리콘 Root of Trust"</a> by Ishmael (r-note.tistory.com).</em></p>]]></content><author><name>Suyeon Lee</name></author><summary type="html"><![CDATA[I wanted to write up Caliptra, the open-source silicon Root of Trust that's changing the game for datacenter chip security. Starting from its relationship with OCP (Open Compute Project), I'll go through its history and its current (2.x) hardware/software architecture, then finish by comparing it with ARM's answer to the same problem: RSE (Runtime Security Engine).]]></summary></entry><entry><title type="html">Why the Post-Quantum Cryptography (PQC) Migration Deadline Moved Up to 2029</title><link href="https://slee2407.github.io/2026/04/17/pqc-migration-deadline-2029.html" rel="alternate" type="text/html" title="Why the Post-Quantum Cryptography (PQC) Migration Deadline Moved Up to 2029" /><published>2026-04-17T12:00:00+09:00</published><updated>2026-04-17T12:00:00+09:00</updated><id>https://slee2407.github.io/2026/04/17/pqc-migration-deadline-2029</id><content type="html" xml:base="https://slee2407.github.io/2026/04/17/pqc-migration-deadline-2029.html"><![CDATA[<div class="alert alert-primary">
  <strong>TL;DR</strong> — On March 30, 2026, Google and Oratomic simultaneously published papers showing that ECC-256 encryption can be broken with far fewer quantum qubits than previously expected. In response, Google and Cloudflare dramatically moved their PQC migration deadline up from 2035 to <strong>2029</strong>.
</div>

<h2 class="section-heading">Opening</h2>

<p>Word is going around that the shift to post-quantum cryptography has been moved up to 2029. Google and Cloudflare had previously planned to complete their PQC transition by 2035, in line with the U.S. government's published timeline. Recently (April 2026), though, they pulled that deadline in dramatically, to 2029. What's behind this?</p>

<h2 class="section-heading">The Startup: Oratomic</h2>

<p>First, you need to know about a company called <strong>Oratomic</strong>. Oratomic is a stealth startup that came out of hiding on March 30, 2026. "Stealth startup" literally means a startup that doesn't disclose what it's working on to the public — and this paper is what revealed the direction the company is actually headed. Oratomic states its mission on its homepage as follows:</p>

<blockquote class="blockquote">At Oratomic, we are building the world's first utility-scale quantum computers, enabled by a new regime of ultra-efficient error correction — using only light and atoms.</blockquote>

<p>In other words, their goal is a <strong>utility-scale</strong> quantum computer — one large enough to directly solve real-world problems — i.e., a Fault-Tolerant Quantum Computer (FTQC). Looking at Oratomic's key people, they come from Caltech, Harvard, Google Quantum AI, Amazon, and UC Berkeley — it's fair to call them some of the sharpest minds of this era.</p>

<h2 class="section-heading">Why This Became a Big Deal</h2>

<p>Google and Oratomic each recently published papers showing that breaking elliptic curve cryptography requires far fewer qubits than previously assumed, and it caused a huge stir. Let's start with Google's paper.</p>

<p>📄 <a href="https://arxiv.org/abs/2603.28846" target="_blank" rel="noopener">Securing Elliptic Curve Cryptocurrencies against Quantum Vulnerabilities: Resource Estimates and Mitigations ↗</a></p>

<div class="alert alert-info">
  <strong>This paper's conclusion</strong><br>
  Google re-optimized the algorithm needed to break ECC-256 (Elliptic Curve Cryptography) — the core cryptography behind modern blockchains — and recalculated the resources required. The result was dramatically lower than expected:
  <ul class="mb-0">
    <li>Under 1,200 logical qubits + under 90 million Toffoli gates, or</li>
    <li>Under 1,450 logical qubits + under 70 million Toffoli gates</li>
  </ul>
</div>

<p>Either of those is enough to break ECC. In terms of physical qubits, that comes out to under 500,000 — a <strong>20x reduction</strong> from the 13 million qubits estimated back in 2022 (Webber et al.).</p>

<p><small class="text-muted"><strong>*Shor's Algorithm:</strong> a quantum computing algorithm developed in 1994 that can break both elliptic curve cryptography (ECC) and RSA (used by most banks). It's the core threat to the signature schemes used by Bitcoin and Ethereum. Computing a public key from a private key is easy, but reversing a public key back into a private key is effectively impossible on a classical computer — Shor's algorithm makes that computation feasible.</small></p>

<p><small class="text-muted"><strong>**Physical qubits:</strong> the basic unit of real hardware. They're noisy, so complex computation is impossible without error correction.<br><strong>**Logical qubits:</strong> a "clean" unit made by bundling dozens to hundreds of physical qubits together with automatic error correction — this is what actual algorithms use.</small></p>

<h2 class="section-heading">Core Techniques</h2>

<p>Here's how Google cut down the resources required for the attack.</p>

<h3>(1) Redesigning Shor's Algorithm</h3>

<p>The part of Shor's algorithm that repeats elliptic curve point addition consumes the most Toffoli gates. For ECC-256, Google <strong>cut the required 256 point additions down to 28</strong>, and optimized the internal arithmetic with Montgomery multiplication and "kickmix," compressing the Toffoli count by roughly 10x.</p>

<ul>
  <li>Before: 256 point additions × ~2.7M Toffoli gates each ≈ <strong>~700M total</strong></li>
  <li>Redesigned (windowed arithmetic, window size = 16): 256 ÷ 16 = 16 steps × 2 registers = <strong>28</strong> windowed point additions</li>
  <li>28 × ~2.7M Toffoli gates ≈ <strong>~75.6M total</strong></li>
  <li>Montgomery trick + kickmix optimization → final Toffoli count <strong>&lt; 90M</strong> (roughly a 10x compression)</li>
</ul>

<h3>(2) Shortening Magic State Distillation</h3>

<p>Running a Toffoli gate requires a continuous supply of a special quantum state called a "T state." Producing it has historically consumed most of a quantum computer's resources. Because computing with a "dirty" T state gives wrong answers, you have to run a factory that purifies dirty T states into clean ones — and that process wastes so many T states (anywhere from 15:1 to 225:1) that most of the machine ends up dedicated to the factory. Google parallelized and densified this factory to remove the bottleneck in producing clean T states.</p>

<ul>
  <li>Before (1-level distillation): 15 dirty T states → 1 clean T state (15:1)</li>
  <li>Before (2-level distillation): 225 dirty T states → 1 clean T state (225:1) → ~80–90% of the machine's resources spent on the factory</li>
  <li>Google's improvement: densely packing the factory with a "yoked surface code," plus reaction-limited execution to minimize idle time → the same physical qubits now produce more T states in parallel</li>
</ul>

<h3>(3) Shor's Algorithm Priming</h3>

<p>Running Shor's algorithm breaks down into two stages.</p>

<p>This is where the concept of "priming" comes in: run stage 1 ahead of time and keep it "loaded," then execute only stage 2 the moment a public key is exposed. By finishing the prep stage and waiting, an attacker can start reversing a private key the instant an individual public key hits the mempool — cutting the time required roughly in half.</p>

<ul>
  <li>Without priming: public key exposed → stage 1 (~9–12 min) + stage 2 = ~18–23 min total → exceeds block time (~10 min) → on-spend attack not feasible</li>
  <li>With priming: [beforehand] stage 1 already complete → [the moment the key is exposed] only stage 2 runs → ~9 min → on-spend attack succeeds with ~41% probability</li>
  <li>Additional optimization via state reuse: reusing stage-1 state lets a single prep attack up to 9 public keys in a row</li>
</ul>

<div class="alert alert-warning">
  <strong>Notable</strong><br>
  Google didn't actually implement any of this — they only produced the design and completed the calculations. Anticipating that bad actors could exploit it, they decided, after discussions with the U.S. government, not to release the design itself. Instead, they published only a zero-knowledge proof of the calculation's correctness.
  <br><br>
  Also, the paper's design calls for 1,200 logical qubits, while the largest number of logical qubits humanity has actually built so far is 48 (as of 2023) — so this isn't imminent. But it's a warning that far fewer resources are needed than previously thought, so preparation needs to start now.
</div>

<h2 class="section-heading">Why This Matters</h2>

<p>ECDSA elliptic curve cryptography is used across a huge range of existing cryptographic systems — from personal certificates to the smart contracts behind cryptocurrencies. Its security rests entirely on the assumption that solving the elliptic curve discrete logarithm problem (ECDLP) is effectively impossible.</p>

<p>If that assumption falls apart as quantum computers advance, a large amount of intangible financial assets could vanish from people's wallets in an instant.</p>

<p>Most blockchains, including Bitcoin and Ethereum, use secp256k1-based ECDSA to sign transactions — so this isn't a purely theoretical threat. An attacker could intercept transactions, hijack administrative control of a smart contract, or arbitrarily move funds out of someone else's wallet.</p>

<h2 class="section-heading">This Isn't the End</h2>

<p>The Oratomic paper mentioned earlier takes this one step further.</p>

<p>📄 <a href="https://arxiv.org/abs/2603.28627" target="_blank" rel="noopener">Shor's algorithm is possible with as few as 10,000 reconfigurable atomic qubits ↗</a></p>

<div class="alert alert-success">
  <strong>This paper's conclusion</strong><br>
  Just <strong>26,000 physical qubits</strong> are enough to break ECC-256 within a matter of days.
</div>

<p>Oratomic took Google's physical-layer optimizations to Shor's algorithm as a given, and layered on top of it a <strong>neutral-atom-based physical layer optimization</strong>.</p>

<div class="table-responsive">
  <table class="table table-bordered table-striped">
    <thead>
      <tr>
        <th>Aspect</th>
        <th>Google (Superconducting)</th>
        <th>Oratomic (Neutral Atom)</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td>Physical qubits</td>
        <td>&lt; 500,000</td>
        <td>~26,000</td>
      </tr>
      <tr>
        <td>Error correction</td>
        <td>Surface code</td>
        <td>qLDPC (lifted-product)</td>
      </tr>
      <tr>
        <td>Physical:logical ratio</td>
        <td>~1,000 : 1</td>
        <td>~3.6 : 1</td>
      </tr>
      <tr>
        <td>ECC-256 attack time</td>
        <td>~9 minutes</td>
        <td>~10 days</td>
      </tr>
      <tr>
        <td>Attack type</td>
        <td>On-spend</td>
        <td>At-rest (dormant funds)</td>
      </tr>
      <tr>
        <td>Hardware clock</td>
        <td>Fast (~µs)</td>
        <td>Slow (~ms)</td>
      </tr>
    </tbody>
  </table>
</div>

<h2 class="section-heading">Oratomic's Core Logic</h2>

<h3>(1) qLDPC (Quantum Low-Density Parity-Check) Codes</h3>

<p>This is the new error-correction scheme Oratomic proposes.</p>

<p>First, a bit of background on qubits: they're extremely unstable, and even a slight interaction with the outside world — temperature, vibration, electromagnetic waves — can corrupt a qubit's state. Since computing with a corrupted state gives the wrong answer, qubit errors have to be corrected.</p>

<p>Classical computers correct errors by simply copying data across multiple bits and taking the majority value when checking. Quantum computers can't do that — the laws of quantum mechanics don't allow you to copy the original bit's data. So instead of copying, a quantum computer spreads a value across multiple qubits.</p>

<p><small class="text-muted"><strong>*A quirk of quantum mechanics:</strong> a qubit's defining feature is superposition — it holds a state that is both 0 and 1 at once, but the moment you read it, it collapses to either 0 or 1 and the original value is lost. Because the "original" you'd want to copy disappears the instant you read it, it simply cannot be copied.</small></p>

<p>Error correction on a quantum computer works via a method called the <strong>surface code</strong>: an auxiliary physical qubit (an "ancilla") is placed somewhere it can become entangled with a given physical qubit, and measuring that relationship reveals whether something changed — without ever directly measuring the physical qubit itself. But in the surface code, the physical layer is arranged so an ancilla can only entangle with its immediate neighbors, meaning a single ancilla can verify at most 4 physical qubits. As a result, the number of physical qubits actually usable for computation dropped sharply.</p>

<p>Google's paper, discussed above, also uses the widely-adopted surface code — and it ends up spending 97% of its physical qubits on error correction, leaving only 3% available for actual computation.</p>

<figure class="text-center">
  <img class="img-fluid" src="/img/posts/pqc-qldpc-vs-surface-code.png" alt="Diagram comparing the surface code and Oratomic's lifted-product qLDPC error correction">
  <figcaption class="caption text-muted mt-2">
    Surface code (left): each ancilla (A) only connects to its immediate neighbors, checking at most 4 qubits, for a physical:logical ratio of ~1,000:1.<br>
    Oratomic's lifted-product qLDPC (right): non-neighbor connections are allowed, so each ancilla checks 6–12 qubits, for a ratio of ~3.6:1.
  </figcaption>
</figure>

<p>Oratomic's proposal uses <strong>optical tweezers</strong> — a highly focused laser beam — to physically pick up neutral atoms and let an ancilla entangle with physical qubits that aren't its immediate neighbors. That lets a single ancilla check the error state of 6 to 12 physical qubits instead of 4. It's harder to implement than the surface code, but it drops the number of physical qubits required from Google's 500,000 down to 26,000 — roughly a <strong>20x reduction</strong>.</p>

<div class="row text-center my-4">
  <div class="col-4">
    <div class="h3 text-danger mb-0">97%</div>
    <small class="text-muted">of qubits spent on surface-code error correction</small>
  </div>
  <div class="col-4">
    <div class="h3 mb-0">6–12</div>
    <small class="text-muted">qubits checked per qLDPC ancilla</small>
  </div>
  <div class="col-4">
    <div class="h3 text-success mb-0">~20x</div>
    <small class="text-muted">fewer physical qubits than Google's approach</small>
  </div>
</div>

<div class="alert alert-warning">
  <strong>Notable</strong><br>
  Oratomic's approach has its own weakness, of course — breaking ECC-256 with this architecture takes <strong>10 days</strong>.
</div>

<h2 class="section-heading">Why Oratomic's Paper Is a Problem</h2>

<p>Because of that, what Oratomic's research really targets isn't an on-spend attack, but an <strong>at-rest attack</strong> — one against funds that are already sitting exposed. According to Oratomic, roughly <strong>6.7 million</strong> bitcoins are already vulnerable to a quantum attack today, meaning their public keys are already exposed.</p>

<p>And the largest neutral-atom quantum computer in the world already has 6,100 qubits. It used to be said that millions of qubits would be needed — in ten years, the number required has dropped by more than <strong>30,000x</strong>. The drop over just the last year has been the steepest, and the most alarming. 2029 is the target date, but there's no telling what quantum computing breakthrough might happen before then.</p>

<figure class="text-center">
  <img class="img-fluid" src="/img/posts/pqc-qubit-reduction-timeline.png" alt="Chart showing the number of physical qubits required for Shor's algorithm dropping from about 1 billion in 2012 to about 26,000 in 2026">
  <figcaption class="caption text-muted mt-2">Physical qubits required to run Shor's algorithm, 2012–2026 (log scale)</figcaption>
</figure>

<div class="table-responsive">
  <table class="table table-bordered table-striped">
    <thead>
      <tr>
        <th>Year</th>
        <th>Source</th>
        <th>Physical qubits required</th>
        <th>Reduction</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td>2012</td>
        <td>Early estimate</td>
        <td>~1 billion</td>
        <td>—</td>
      </tr>
      <tr>
        <td>2019</td>
        <td>Gidney &amp; Ekerå (RSA baseline)</td>
        <td>~20 million</td>
        <td>50x↓</td>
      </tr>
      <tr>
        <td>2022</td>
        <td>Webber et al.</td>
        <td>~13 million</td>
        <td>77x↓</td>
      </tr>
      <tr>
        <td>2026.03</td>
        <td>Google (Babbush et al.)</td>
        <td>&lt; 500,000</td>
        <td>26x↓</td>
      </tr>
      <tr>
        <td>2026.03</td>
        <td>Oratomic (Cain et al.)</td>
        <td>~26,000</td>
        <td>19x↓</td>
      </tr>
    </tbody>
  </table>
</div>

<p><small class="text-muted">※ From 2012 to Oratomic's 2026 figure: roughly a <strong>38,000x</strong> reduction overall.</small></p>

<h2 class="section-heading">How Each Organization Is Responding</h2>

<div class="row">
  <div class="col-md-6 mb-4">
    <h4>🤖 Google Android 17</h4>
    <p>Integrated ML-DSA into the Android Hardware Root of Trust, and updated app signing and verification to support PQC.</p>
  </div>
  <div class="col-md-6 mb-4">
    <h4>CF Cloudflare</h4>
    <p>Targeting ML-DSA-based post-quantum authentication support by mid-2026, and Merkle Tree Certificates between visitors and Cloudflare by mid-2027. Moved its PQC migration deadline up to 2029.</p>
  </div>
  <div class="col-md-6 mb-4">
    <h4>ETH Ethereum</h4>
    <p>Announced plans to implement a protocol-level PQC solution by 2029.</p>
  </div>
  <div class="col-md-6 mb-4">
    <h4>GOV U.S. / European government agencies</h4>
    <p>As of April 12, 2026, no significant announcement or schedule change yet.</p>
  </div>
</div>

<h2 class="section-heading">Closing</h2>

<p>A threat that once felt safely far off has, before we knew it, arrived at our doorstep. Alongside the advance of AI, security is facing a growing wave of new threats. It seems the only real option is to think and prepare a step ahead. If I get the chance, I plan to write a follow-up post on actually using PQC libraries in practice.</p>

<hr>

<p><small class="text-muted"><em>Note: the original author is not a cryptography expert. If anything here is inaccurate, corrections are welcome.</em></small></p>

<p><small class="text-muted">
References (from the original post):<br>
"양자 컴퓨팅 시점에 대한 암호공학 엔지니어의 관점" — <a href="https://news.hada.io/topic?id=28284&utm_source=slack&utm_medium=bot&utm_campaign=T042ABMLKJN" target="_blank" rel="noopener">news.hada.io</a><br>
"Quantum frontiers may be closer than they appear" — <a href="https://blog.google/innovation-and-ai/technology/safety-security/cryptography-migration-timeline/" target="_blank" rel="noopener">blog.google</a><br>
"Google sets 2029 deadline for quantum-safe encryption, years ahead of government targets" — <a href="https://www.techspot.com/news/111856-google-sets-2029-deadline-quantum-safe-encryption-years.html" target="_blank" rel="noopener">techspot.com</a><br>
"디지털자산과 양자, 그리고 AI" — <a href="https://securities.miraeasset.com/bbs/download/2143565.pdf?attachmentId=2143565" target="_blank" rel="noopener">miraeasset.com</a>
</small></p>

<hr>

<p><em>Translated and adapted from the Korean original, <a href="https://r-note.tistory.com/162" target="_blank" rel="noopener">"양자내성암호(PQC) 전환 기한이 2029로 앞당겨진 이유 - Google·Oratomic 논문 분석"</a> by Ishmael (r-note.tistory.com).</em></p>]]></content><author><name>Suyeon Lee</name></author><summary type="html"><![CDATA[TL;DR — On March 30, 2026, Google and Oratomic simultaneously published papers showing that ECC-256 encryption can be broken with far fewer quantum qubits than previously expected. In response, Google and Cloudflare dramatically moved their PQC migration deadline up from 2035 to 2029.]]></summary></entry></feed>