← Back to section · Industry Applications

Post-Quantum Signatures on the Secure Boot Chain: From ROM to Application Firmware

Secure boot is a chain of staged signature verification, and post-quantum migration must be assessed stage by stage: immutable ROM boot, the second-stage bootloader, and application firmware each carry different constraints and switching strategies.

Published 22 November 2026 · 5 min read · PQ Frontier

Post-Quantum Signatures on the Secure Boot Chain: From ROM to Application Firmware
AI-generated site artwork
Video explainer · IoT Security: hash-based signatures on constrained devices

Trust Is Handed Down Stage by Stage

The logic of secure boot is simple: at power-on, the first code verifies the signature of the second stage and executes it only if verification passes; the second stage verifies the third, and so on until the application firmware is fully loaded. Each stage holds the public key that signs the next, and the root of trust is the first stage, burned into chip ROM and unchangeable after manufacture. Because of this structure, post-quantum migration cannot be answered with a single question — “has the firmware signature algorithm changed?” — but must be asked stage by stage: what verification algorithm does each stage use, can it be changed, and at what cost? Any stage left on a classical algorithm becomes the point where an attacker forges a signature once the quantum threat materializes, voiding trust in everything below it.

Stage One: The Immutability of ROM Boot

First-stage boot code and its verification logic are fixed at tape-out. For newly designed chips the conclusion is direct: the ROM stage should already carry post-quantum verification, or at least a strong hash check combined with an updatable second stage. The real difficulty is the installed base — chips whose ROM only verifies ECDSA or RSA can never gain post-quantum capability physically. For these devices the honest options are compensations: let the second-stage bootloader carry dual classical and post-quantum verification (ROM verifies the second stage classically; the second stage verifies application firmware post-quantum), compressing exposure to the topmost stage; and plan shortened remaining service lives so retirement lands before the threat materializes. Any claim that an OTA update can “complete” post-quantum secure boot on such stock is simply false.

The Middle Stage: The Second-Stage Bootloader Is the Main Battleground

The second-stage bootloader usually lives in updatable flash, making it the most workable stage of the chain. Migration typically proceeds in two steps: first give it post-quantum verification capability and accept dual-signed firmware (classical plus post-quantum signatures, with policy deciding whether either or both must pass), then, as classical-only devices retire naturally, tighten policy to post-quantum signatures only. Dual-signed firmware images are larger, so the OTA channel must budget for the extra fragmentation and verification work. Rollback attacks must be blocked at the same time — if an attacker can revert a device to an older bootloader that accepts classical signatures only, the entire migration is bypassed. Anti-rollback counters, monotonically increasing version numbers, and fuse-locked bootloader versions are companion engineering just as important as the signature migration itself.

Signature Schemes: The Robustness and Cost of the Hash-Based Route

Firmware signing is home ground for hash-based signatures. LMS/XMSS and SLH-DSA rest their security solely on the collision and preimage resistance of hash functions, with no structured mathematical assumptions, and are widely regarded as the most robust long-term signature route — a quality of great value for devices deployed in the field for over a decade. The two differ on state: LMS/XMSS are stateful, requiring the signer to advance one-time key state strictly with every signature; reuse of state is catastrophic, so signing infrastructure needs HSM protection and rigorous state-management procedures. SLH-DSA is stateless and used like an ordinary signature scheme, at the price of large signatures and slow signing — entirely acceptable for low-frequency firmware signing. The common decision follows: use LMS/XMSS with state management treated as a red line when signing infrastructure is controlled and small signatures matter; use SLH-DSA when process simplicity and compatibility with existing signing systems matter, budgeting storage and transfer for the larger signatures.

What the Dual-Signature Transition Should Fear Most

Dual signing sounds safe, but three pitfalls recur in practice. The first is ambiguous policy: whether dual-signed firmware requires “either signature passes” or “both must pass” must be hard-coded and tested in the bootloader; left as a configuration option with a permissive default, it hands attackers the weakest acceptance path. The second is size blowout: two signatures plus two certificate chains stacked onto one firmware image can push low-bandwidth OTA channels into timeouts or fragmentation failures, so the transition plan needs full upgrade-success stress testing before rollout. The third is the old signature never leaving: if the transition period extends indefinitely and the classical signature is kept forever, the migration is never finished — the transition policy should carry its own deadline, such as accepting only post-quantum signatures after a given date or bootloader version, written into the product roadmap rather than left in meeting minutes.

Verification Time Is Also a Budget

One account on the boot chain is easily missed: verification time. Some post-quantum signatures verify noticeably more slowly than classical ones, and where power-on-to-ready time is a hard requirement — industrial control and automotive electronics above all — verification latency must be itemized in the boot budget. Available engineering levers include hashing the firmware image once and letting the signature protect only the hash, overlapping insensitive initialization with verification, or choosing faster-verifying parameter sets. Whichever levers are used, they should be measured during selection, not discovered as a boot timeout during product integration.

Migrate the Chain as a Whole

The secure-boot migration checklist is therefore itself a chain: register every stage’s verification algorithm and updatability; write compensation and retirement plans for stock whose ROM cannot change; give the second stage dual-verification capability first, together with anti-rollback; decide between LMS/XMSS and SLH-DSA based on state-management capacity at the signer; and finally measure verification latency against the boot budget. Secure boot is the root of device trust, and migration at the root deserves the most conservative algorithm assumptions and the most complete staged inventory — because wherever the chain breaks, that is where the device stops being yours.

Tags: IoTSecure BootFirmware SigningRoot of Trust