← Back to section · Research & Analysis

PQC on Constrained Devices: From Microcontrollers to Smart Cards

Post-quantum key and signature sizes are measured in kilobytes, while constrained devices measure memory in kilobytes. This report takes stock of the conclusions of benchmark efforts such as pqm4, the fit of each algorithm family on microcontrollers and secure elements, and the main obstacles to deployment.

Published 22 November 2026 · 5 min read · PQ Frontier

PQC on Constrained Devices: From Microcontrollers to Smart Cards
AI-generated site artwork
Video explainer · Special Reports: Systematic Single-Theme Studies

Scope: When Kilobytes Meet Kilobytes

This report takes stock of post-quantum cryptography on constrained devices — microcontrollers, smart cards, secure elements, sensor nodes. “Constrained” is multidimensional: clock rates of tens to hundreds of megahertz, RAM of tens to hundreds of kilobytes, flash measured in hundreds of kilobytes, and devices that, once deployed, often go unreplaced for a decade. Post-quantum material sizes collide with this: ML-KEM-768’s public key and ciphertext are each a little over a thousand bytes, ML-DSA signatures run from about two to five thousand bytes, and SLH-DSA signatures can reach tens of thousands of bytes. Numbers negligible on a server must be argued byte by byte on a constrained device.

A boundary should be drawn first: the lightweight problem on the symmetric side is covered separately by NIST’s lightweight cryptography standardisation (the Ascon family, selected in 2023), an independent line from this report’s public-key migration. The genuine post-quantum difficulties of constrained devices concentrate entirely on public-key operations and material sizes.

Conclusions of the Benchmark Efforts

The public knowledge base of this area was built mainly by the pqm4 project: it ported the candidate algorithms to the ARM Cortex-M4 reference platform and measured cycle counts and stack and heap usage under uniform conditions, making cross-algorithm comparison possible; later work extended further to RISC-V and lower-end Cortex-M0-class platforms. The benchmark conclusions accumulated over years are quite stable.

ML-KEM fits best: its arithmetic centres on NTT polynomial multiplication, and on Cortex-M4 its key generation, encapsulation and decapsulation are all in the millisecond range with controllable memory usage; several chip and firmware ecosystems have placed it on their roadmaps. ML-DSA verification is acceptable, but signing is slower and more energy-hungry due to its rejection sampling loop, and needs careful evaluation on battery-powered devices. SLH-DSA’s problem is the most pronounced: signing executes tens of thousands of hashes, taking seconds on low-end platforms, and its signatures are large besides — it suits only scenarios where signing is extremely infrequent and the verifying side is not the constrained one; firmware verification is exactly that shape, so it is, paradoxically, viable in “device only verifies” architectures. Code-based HQC and Classic McEliece are constrained by public key sizes and sit awkwardly where both link and storage are tight. Stateful hash-based signatures (LMS/XMSS), needing only hash operations, hold a first-mover position on the firmware signing side, but the risks of state management need dedicated design on unattended devices.

A Stocktake of Deployment Obstacles

Beyond computation there are at least four layers of obstacles. The protocol layer: record fragmentation in protocols such as TLS and certificate chain transport over narrowband links (such as low-power wide-area networks) are significantly amplified by large material, and handshake success rates and latency need revalidation. The storage layer: transition-period firmware running both algorithm families must hold classical and post-quantum code and key material simultaneously, and flash budgets frequently burst at exactly this point. The security layer: constrained devices have the lowest side-channel protection budgets, while power leakage of lattice arithmetic on cheap chips already has published research, and the extra overhead of masked implementations weighs proportionally more on small devices. The certification layer: secure elements and smart cards have long certification cycles and high revision costs, and their product roadmaps lag noticeably behind general-purpose MCUs — meaning the migration pace of strongly certified scenarios such as payments, identity and automotive will be set by the slowest link in the ecosystem.

The positive side is that hybrid architectures provide a buffer: a constrained device can carry only one side of a hybrid key exchange, or offload heavy operations to a gateway, upgrading only its verification logic — this asymmetric division of labour is becoming the mainstream design pattern for IoT migration.

Energy: The Third Underestimated Dimension

On battery-powered devices, what decides feasibility is often not time but energy. The number of rejection sampling iterations in an ML-DSA signature is not fixed, so its energy consumption fluctuates with it; conflicts with battery budgets and radio transmission windows must be designed against the worst case, not the average. ML-KEM, by contrast, has deterministic operation counts and predictable energy — an invisible reason it landed first in energy-constrained scenarios. For a sensor node meant to work ten years on a coin cell, the energy of cryptographic operations must enter the same energy ledger alongside sensing and transmission; overspending on any side means a shorter device life.

Engineering responses are taking shape: scheduling signing operations into energy-rich periods (such as charging or sunlight windows), amortising handshake costs with session key caching, terminating heavy operations at the gateway. None of these is a new invention, but incorporating them systematically into the design review of post-quantum migration is a new required course for the IoT industry. Judging whether an algorithm can enter a constrained scenario now requires a third question beyond cycle counts and byte counts: how much power does one operation cost?

Extreme long-life scenarios amplify all of the above contradictions to their limit: satellites and spacecraft cannot have their hardware replaced once launched, and their on-board verification keys and ground command signatures must work in orbit for over a decade — public discussion already exists of protecting telemetry command links with post-quantum signatures; automotive and industrial control equipment pose the same question on fifteen-year-plus lifecycles. The common conclusion of these scenarios is that migration decisions cannot wait for the ecosystem to mature — when device lifetime exceeds the algorithm threat timeline, deploying hybrid or conservative lines early is the only responsible option, and its cost model is entirely different from consumer electronics.

Open Questions

Unresolved questions include: usable implementations for legacy 8-bit and 16-bit platforms remain almost a blank, while such devices exist in enormous numbers with extremely long replacement cycles; how long-term verification of post-quantum firmware signatures (on the order of twenty-year device lifetimes) connects with algorithm review mechanisms has no industry consensus yet; and whether parameter sets dedicated to constrained scenarios will be standardised — between general parameters and device feasibility, the standards have so far chosen the former. Constrained devices will not delay the start of post-quantum migration, but they may well decide when it truly finishes.

Tags: Constrained DevicesIoTpqm4Special Report