BlockleOS
Phase 1 of 5 is implemented. The verifier core is built and tested. Everything downstream of it is a plan — stated phase by phase.
Post-quantum verified boot

Your product ships for fifteen years. Your signing algorithm doesn’t.

The firmware update path is the one component you cannot fix with a firmware update — it is the thing that applies them. So it is the part that has to be migrated first, not last. BlockleOS is the verifier that goes in that path: hash-based signatures, no heap, no panicking paths, building today for a Cortex-M0+.

RFC 8554 vectors
Both passAppendix F Test Case 1 and 2, as HSS and as inner LMS
Mutation sweep
22,448 rejectedEvery single-bit flip of the TC1 message and signature. Exhaustive, not sampled
Targets building
M0+ · M4F · x86-64Plus the same three with ML-DSA compiled in
MCU cycles & energy
Not measuredFlash, stack and instruction counts are measured per target. Cycles and energy need a part on a bench, and we don’t estimate those
The problem you already have

The deployment window is longer than the algorithm’s remaining life

A controller in a cabinet. A revenue meter on a pole. A charger in a car park. You sign the firmware with ECDSA P-256, you burn the public key into OTP, and the unit goes into the field. Your support contract says someone will still be pushing updates to it in 2041.

Nothing about that requires a cryptographically relevant quantum computer to exist today. It requires one to exist once, inside the deployment window, while the fleet is still taking updates. The horizon that matters is not when the machine arrives — it is how long you are contractually obliged to keep patching, and how long after production you can still change what the bootloader is willing to accept.

For most of the parts in this category, the honest answer to the second question is: you can’t.

What the standards bodies have already written down

  • NIST SP 800-208 approves the stateful hash-based schemes — LMS/HSS and XMSS/XMSSMT — for exactly this use. It is the reason an LMS signature is a defensible answer to a procurement questionnaire and not a research choice.
  • CNSA 2.0 names LMS and XMSS as the approved algorithms for software and firmware signing, and places firmware signing early in its transition sequence rather than at the end. That ordering is not arbitrary; it is the same argument this page makes.
  • NIST IR 8547 (initial public draft) sets out the wider transition away from today’s elliptic-curve and RSA signatures, with deprecation and disallowed dates inside the service life of hardware being designed right now.
Check the current revision Dates in draft documents move, and CNSA’s timeline has been revised before. Read the current text for the dates that bind your sector — we are not going to paraphrase a schedule at you. The direction of travel has not changed in either document, and the direction is what affects a part you are choosing this quarter.
Why this component, first

The update path has no fallback, because it is the fallback

Every other cryptographic decision in your product can be fixed later by an update. This one cannot, and that asymmetry is the entire reason to deal with it ahead of the rest.

01

It cannot be patched over the air

A verifier that does not understand the new algorithm cannot be taught the new algorithm — not through the channel it guards, because it would have to accept an unverifiable image to do it. The bootstrap is circular, and it closes at the factory.

02

On many parts it isn’t writable at all

The root of trust lives in mask ROM, in OTP, or in a flash region you lock before shipping — which is the correct design. The consequence is that whatever key and algorithm you commit at production is what verifies firmware for the life of the part.

03

Everything else can wait

Device TLS can be renegotiated. A cloud API can be versioned. An application-level key can be rotated — by an update, if the update path still works. Migrating the update path first is what buys you the option to migrate anything else later.

The question that follows So the live question is not “when do we adopt post-quantum signatures”. It is “what are we willing to burn into the next production run” — and that one has a date on it already, because it is your next tape-out or your next bill of materials freeze.
Engineering constraints

A panic in a bootloader is an RMA

A verifier that aborts on malformed input does not fail safe on a device with no console and no operator. It fails into a brick, and a brick is a truck roll, a warranty claim, and in a metering or medical context a reportable event.

So the verifier core has no panicking paths, and that is enforced by the compiler rather than by code review. These lints are denied in the crate root:

// crates/pqverify/src/lib.rs
#![no_std]
#![forbid(unsafe_code)]
#![deny(clippy::unwrap_used, clippy::expect_used,
        clippy::indexing_slicing, clippy::panic)]
#![deny(clippy::arithmetic_side_effects, clippy::integer_division,
        clippy::unreachable, clippy::todo, clippy::unimplemented,
        clippy::as_conversions)]

make lint runs clippy with those denied across all four targets, so the no-panic contract is a build gate, not a convention. If it passes there is no unwrap, no expect, no panic!, no slice index that can run off the end, and no unchecked arithmetic anywhere in the verifier. Every byte range in the parser goes through a single helper built on checked_add and slice::get. overflow-checks is left on in the release profile too, so an arithmetic mistake becomes a returned error rather than a silent wraparound in the field.

There is no alloc either — not “we try not to allocate”, but there is no allocator and no extern crate alloc to reach for. The verifier holds at most two SHA-256 states and a handful of 32-byte values live at once. The one-shot entry points ask the caller for nothing; the streaming entry point — the one meant for hardware, where the image arrives a flash page at a time — takes its working memory from the caller instead: 162 bytes, the same for every parameter set RFC 8554 registers, with the C streaming API additionally taking a chunk buffer of the caller’s chosen size (32 bytes or more). This code does not get to decide how much RAM your product can spare.

What that is, and what it is not

Those lints report zero violations on all four targets. But everything above is a property of the source, checked by the compiler — it is not a measurement of anything on a part. The stack high-water mark has been measured, by the firmware itself, under emulation: 1,568 B on the Cortex-M0+ image and 1,508 B on the Cortex-M4F, for one HSS verification of RFC 8554 Test Case 1. That is a real maximum for that code and input, and it was taken in an emulator rather than on silicon, which is how the measured numbers page labels it. Cycles and energy are not measured at all, on any target.

Two build-harness gates were red on 28 November, for reasons unconnected to the no-panic contract; both have since been fixed and both pass. The red statuses and what happened to them are on that page rather than deleted.

What fits where

Two algorithms, four tiers, and one row that says no

The useful question is whether it runs on your part. Short version below; the reasoning, the specification constants and the gaps are on the full tier page.

Summary. “Builds today” means the verifier compiles for that Rust target — which is not the same as having run on silicon, and nothing here has run on silicon. Flash, stack and instruction counts have been measured on the linked images and under emulation; see measured numbers.
TierTypical RAMLMS / HSSML-DSA-44Builds today
8-bit & tinyATmega328P class ~2 KB Design targetAn argument from the algorithm’s own size constants. Nothing has been built or measured for this tier Does not fitThe public key alone exceeds total RAM No AVR build yet
Cortex-M0 / M0+STM32L0, SAMD21 class 8–32 KB Yes Does not fit1312-byte key on the stack before any arithmetic thumbv6m-none-eabi
Cortex-M4 / M7, RISC-V MCUSTM32F4, nRF52 class 64–512 KB Yes 74,492 B of stackMeasured under emulation. More than a 64 KB part has in total, so this is per-part thumbv7em-none-eabihf
Application processor / kernelLinux gateway, x86-64 MB and up Yes Yes — expected config x86_64-unknown-none
Why there are two algorithms at all ML-DSA-44’s public key is 1312 bytes. An ATmega328P has 2048 bytes of RAM in total — so the key alone is roughly two-thirds of the part, before the signature, before the verifier’s working state, before your application. That is not a tuning problem with a clever answer; there is no arrangement of ML-DSA that fits, because the key does not fit. LMS exists for that tier, and that is why NIST approved it separately. It is not a weaker fallback for people who couldn’t afford the real thing.
Scope, deliberately

Verify only. There is no signer here, and there won’t be

LMS is a stateful scheme. Each one-time key may be used exactly once, and reusing a leaf index leaks enough material to forge a signature on a message you never approved. That makes signing a problem of durable, monotonic, never-rolled-back state — which belongs in an HSM-backed service with an audit trail and a tested restore procedure. It does not belong in a bootloader, and it does not belong in this crate.

There is no key generation, no signing and no RNG in the verifier core. The entire attack surface on the device is: parse a public key, parse a signature, hash a message, compare 32 bytes.

This is worth saying plainly before you scope a programme around LMS: the hard part of your project will be the signing service’s state management, not the device code. Backups that restore an older leaf counter, two signers racing, a disaster-recovery drill that replays a key — those are the failure modes, and they are operational rather than cryptographic. Plan for them in the design review rather than discovering them in an incident. ML-DSA is stateless and has none of this, which is a genuine argument for using it on the tiers where it fits.

The honest part

What this is not, today

If you are evaluating this for a design, these are the things you would otherwise have to extract from us in a call.

  • No third-party audit. Not commissioned, not scheduled. The test suite is described in full on the measured numbers page so you can judge its coverage yourself, but an internal test suite is not an audit and we are not going to call it one.
  • Nothing has run on a microcontroller. Flash cost comes from linked images, and stack high-water and instructions per verification were measured by the firmware itself under QEMU. Not one cycle count, wall-clock time or energy figure exists on any part, because an emulator models none of those, and the harness prints not measured rather than converting the figures it does have into the ones it does not.
  • No bootable image for a microcontroller. There are no per-part linker scripts, because no part has been chosen — and a linker script for a part nobody selected would be decoration. The bench’s own Cortex-M images exist to be measured, not to boot a product.
  • No AVR build. The 2 KB tier is the reason LMS is in this project at all, but AVR is not among the built targets. The bottom row of the tier table is an argument from the algorithm’s own size constants, not from a compiled artifact, and it is labelled that way.
  • Five parameter choices have no official vector. Winternitz w = 1 and w = 2, and tree heights 15, 20 and 25, are implemented but RFC 8554 publishes no test case for them, so they are not covered by vector tests. Nor is every pairing of a covered height with a covered width: the two published cases fix h=5 with w=8 and h=10 with w=4, and nothing else. That gap is real and it is not papered over with a self-generated vector.
  • No timing side-channel analysis. Verification handles only public values — public key, message, signature — so there is no secret for a timing channel to leak. That is the standard reason this is deprioritised, and it is not the same as having analysed it.
  • No tagged release to pin. The verifier core is MIT OR Apache-2.0 and the source is public at github.com/Blocklechain/blockle-os, but there is no tag: integration today means building from a checkout rather than depending on a version. The signing service is deliberately not in the same repository as the verifier — it is self-hosted and separate, because the thing that holds keys and leaf-counter state should not be sitting next to the thing you are asking a customer to review.

If you are scoping a part now

Phase 2 — a bootloader that actually refuses unsigned firmware on real hardware — is per-part work: a linker script, a memory map, the flash geometry, and a stack watermark. It is not generic and it would be dishonest to present it as generic.

The specific inputs that turn the pending rows into measurements are: the MCU; the RAM and flash you can give the boot path; where the root key can live (mask ROM, OTP, or lockable flash); your release cadence across the product’s service life, which is what picks the tree height you can never raise afterwards; and whether the image streams from internal or external flash.

Send those five and the conversation can start at the parameter set instead of at the pitch.