top of page

Quantum-Safe IoT: The Hard Truth About Bringing Quantum-Safe Security to Tiny Devices

Writer: Srihari Maddula
Srihari Maddula
7 hours ago
6 min read

Illustration for the section: Post-Quantum Cryptography for IoT: The Hard Truth About Bringing Quantum-Safe Security to Tiny Devices


There’s a strange tension you feel the first time someone asks,“Can our IoT product be quantum-safe?”

On one hand, it sounds like a marketing question.A buzzword tossed around by people who haven’t spent a day in firmware development.Quantum computers, cryptanalysis, lattice problems — these things feel oceans away from a microcontroller that’s struggling to fit a LoRaWAN stack and a couple of timers.

But on the other hand, something deeper kicks in — a quiet awareness that the entire security foundation of embedded systems is built on mathematical assumptions that won’t hold forever.

Every ESP32 device that boots with ECDSA.Every STM32 that authenticates updates with an RSA signature.Every BLE handshake using Curve25519.Every TLS session initiated from a small IoT gateway.

All of this rests on the hardness of problems like discrete logarithms and integer factorization — problems that a scaled-up quantum computer will, one day, slice through like warm butter.

And suddenly the question stops sounding like marketing.Suddenly it sounds like engineering.

Because quantum threats aren’t about tomorrow — they’re about the concept called “harvest now, decrypt later.”Adversaries don’t need quantum machines today to break your system tomorrow.They can capture encrypted traffic today and wait for quantum computation to catch up.

For long-lived IoT devices, that’s terrifying.

And that is why real engineering teams — not just theorists — have started taking Post-Quantum Cryptography (PQC) seriously.

This article is about the messy, uncomfortable realities of bringing quantum-safe security to devices that barely have enough RAM to hold their own buffers.Not academic proofs.Not cryptographic glamour.

Just the truth of what it takes to make PQC fit inside the physics and constraints of IoT.

The First Reality: IoT Devices Don’t Have the Luxury to Ignore PQC

When you ship an IoT device, you’re making a statement:“This thing may be out there for 5 years, 10 years, maybe more.”

EV chargers.Streetlights.Industrial sensors.Wearables.Building controls.Access systems.

These devices live longer than smartphones, often longer than laptops.And many of them communicate sensitive data that attackers would store if they had the chance:

  • Facility access logs

  • Health sensor data

  • Asset condition monitoring

  • Environmental readings in regulated industries

  • Industrial telemetry

  • Secure lock states

Collected today.Stored today.Decrypted years later.

This is why organisations like NIST have pushed hard to finalize PQC standards — ML-KEM (Kyber) for key exchange, ML-DSA (Dilithium) for signatures and FN-DSA (Falcon) for compact signatures — because long-lived embedded systems simply can’t afford to wait for a crisis.

But when engineers open these algorithms and look at the sizes, RAM footprints, and CPU cycles, their reaction is identical:

“This is never going to fit.”

And in many cases, they’re right.

The Second Reality: PQC Algorithms Are Big, and IoT Devices Are Small


Let’s be honest — traditional public-key cryptography has been very kind to embedded engineers.

ECDSA signatures are tiny.ECDH keys are tiny.Curve25519 is fast.Even RSA-2048, while large, is at least predictable.

Then PQC arrives like an elephant entering a tea shop:

  • Kilobyte-sized keys instead of 32-byte ECC keys

  • Signatures of several kilobytes, and tens of kilobytes for some hash-based schemes

  • Tens of kilobytes of working RAM for some operations for certain implementations

  • Matrix multiplications instead of scalar multiplications

  • Lattice-based math that loves memory bandwidth more than MCUs can provide

The first time you try to compile OpenQuantumSafe’s liboqs on a Cortex-M3 with 128 KB RAM, you feel a sense of existential dread.

You begin realising that PQC is not something you “add” to an IoT device.It is something you must architect for.

And architecture is always harder than crypto.

Where Experienced Teams Actually Begin: The Lifecycle, Not the Algorithm

A junior engineer will ask,

“Can we run Kyber or Dilithium on our MCU?”

A senior engineer will ask,

“What part of our system even needs post-quantum protection?”

Because PQC doesn’t have to live everywhere.It must live strategically.

Frame the question differently:

  • Does the device perform key exchange?

  • Does the device verify signatures during boot?

  • Does the device authenticate OTA updates?

  • Does the device establish TLS connections?

  • Does the device need secure commissioning?

Most small IoT nodes don’t do all of these.Some do only one or two.

So instead of forcing the entire firmware stack into PQC territory, senior teams isolate the critical surfaces.

That is how PQC becomes possible on small MCUs.

Secure Boot: Where PQC Matters the Most

If your device checks a digital signature at boot, that signature must survive the quantum era.Because once an attacker breaks secure boot, they own everything — keys, firmware, identity, functionality.

This is where PQC signatures become essential.

Engineering teams are experimenting with:

  • Dilithium-2 for strong, well-standardized signatures

  • Falcon-512 for lighter but more complex signatures

NXP has already released ROM-level support for Dilithium on their RW6xx secure MCUs.Microchip’s MEC series evaluates hybrid PQC boot.OpenTitan is preparing for PQC boot flows as well.

The tooling is still raw, but the direction is clear:post-quantum secure boot will become mandatory in high-assurance IoT devices.

Commissioning and Key Exchange: Where Kyber Becomes the Workhorse

Once a device boots securely, it must enter the world and establish relationships — with gateways, brokers, clouds, or local controllers.

This is where traditional ECDH will eventually fall apart.

Enter CRYSTALS-Kyber, NIST’s chosen algorithm for key encapsulation.

Now, Kyber isn’t tiny — key sizes run in kilobytes, and encapsulation takes significantly more cycles than ECDH — but you only perform it once during commissioning or once per long session.

And that changes everything.

Suddenly Kyber feels feasible.

Especially when you use implementations optimised for embedded use, like:

  • PQClean(a treasure trove of clean, auditable PQC implementations)

  • liboqs(heavy for MCUs, but excellent for gateways and IoT servers)

  • ARM’s experiments with Kyber acceleration(expected to become mainstream over time)

The trick is simple:Use Kyber once to establish a long-term symmetric key.Then run AES-GCM or ChaCha20-Poly1305 forever.

The pain is front-loaded.The runtime stays cheap.

OTA Updates: The Most Ignored PQC Weak Spot

Most engineers forget that the firmware update mechanism is the riskiest part of an IoT device.

If someone can forge an update — today or ten years from now — it doesn’t matter what encryption you use for communication.

This is where quantum-safe signatures become absolutely essential.

Imagine a low-power STM32 or ESP32 validating a Dilithium signature on incoming firmware.You need speed, compactness, and correctness.

Tools like:

  • TinySSB implementations of PQ signatures

  • PQClean’s embedded-ready variants

  • OpenTitan’s planned PQ boot + update flow

become indispensable.

A device should be able to refuse any OTA package that cannot be verified in a quantum-safe way.

This is one of the few PQC use-cases where adding a few kilobytes to your firmware image is not a luxury — it is survival.

TLS and MQTT: Where Hybrid Cryptography Saves You

TLS stacks in IoT devices are fragile ecosystems.

mbedTLS.wolfSSL.tinyDTLS.BearSSL.Each lives on a very tight memory budget.

These TLS stacks will gradually adopt hybrid cryptography:

  • ECDH + Kyber for key exchange

  • ECDSA + Dilithium for authentication

  • classical + PQC coexisting

wolfSSL already has hybrid PQC ciphersuites.mbedTLS has experimental PQC branches available.OpenSSL has full PQC support via liboqs integration.

For IoT gateways or mid-tier devices running Linux, hybrid TLS is easy.For MCUs, it requires architectural planning.

But hybrid is the only transition strategy that makes sense — until PQC hardware accelerators become widespread.

The Hidden Challenge: Memory and Timing

Even when PQC fits, it behaves differently than classical crypto.

Key generation spikes CPU load.Encapsulation consumes RAM aggressively.Signature verification produces timing jitter.Some algorithms cause stack depth explosions.Flash-based implementations hit I-cache limits.

This is where MCU-specific engineering matters more than crypto theory.

Developers profile using:

  • ARM’s µTrace

  • Keil’s execution analyzer

  • Espressif’s vendor SDK event tracing

  • Renesas QE tools

  • STMicro’s CubeMonitor-Power

  • and classical logic analyzers

PQC is computationally spiky.MCUs are thermodynamically fragile.

Bridging the two demands discipline.

The Gateway Matters as Much as the Device

One thing people often forget:PQC is not just a device problem.

Gateways, servers, and cloud systems must also be quantum-safe — otherwise the device’s protection becomes meaningless.

This is why gateways increasingly adopt:

  • OpenSSL + liboqs

  • wolfSSL hybrid ciphersuites

  • NGINX with PQC key exchange

  • Mosquitto MQTT brokers patched for PQC

  • ChirpStack deployments migrating to PQC-aware TLS

The device and gateway must speak the same future language.

Otherwise PQC becomes lip service.

So How Do Real Engineering Teams Implement PQC in IoT?

Not by adding algorithms.Not by replacing old crypto.

But by building a migration path.

A path where:

  • secure boot uses PQ signatures

  • commissioning uses Kyber

  • communication uses hybrid TLS

  • OTA uses PQ+classical dual-signatures

  • symmetric crypto remains unchanged

  • key storage uses physically unclonable functions or secure elements

  • firmware is versioned for future PQ upgrades

  • gateways run hybrid cryptography today

  • devices remain field-upgradable for the algorithms of tomorrow

This is not mathematics.This is engineering.

A Closing Thought: Quantum Safety Is Not About Fear — It’s About Responsibility



Illustration for the section: A Closing Thought: Quantum Safety Is Not About Fear — It’s About Responsibility

As embedded engineers, we protect the invisible infrastructures that hold the world together.

Street lights.Smart locks.Water quality sensors.Factory automation nodes.Healthcare wearables.Logistics trackers.

These systems carry private, operational, and safety-critical data.

Our job is not to predict when quantum computers will break ECC.Our job is to ensure that whenever that day comes, the devices we built are not caught unaware.

Quantum safety is not paranoia.Quantum safety is good engineering done early.

And IoT devices — small, modest, forgotten in ceilings and control panels — deserve the same protection as the servers they talk to.

Because when security breaks, it breaks at the weakest link.And often, the weakest link is a tiny device that no one updated for eight years.

This is why PQC for IoT matters.And this is why the next decade of embedded security will be defined not by curve equations, but by engineering discipline.

Comments


EurthTech delivers AI-powered embedded systems, IoT product engineering, and smart infrastructure solutions to transform cities, enterprises, and industries with innovation and precision.

Factory:

Plot No: 41,
ALEAP Industrial Estate, Suramapalli,
Vijayawada,

India - 521212.

  • Linkedin
  • Twitter
  • Youtube
  • Facebook
  • Instagram

 

© 2025 by Eurth Techtronics Pvt Ltd.

 

Development Center:

4th Floor, Krishna towers, 100 Feet Rd, Madhapur, Hyderabad, Telangana 500081

Menu

|

Accesibility Statement

bottom of page