What to Ask a Vendor Before Trusting Post-Quantum Crypto on a Microcontroller

Most failures in an embedded post-quantum deployment come from the parts around ML-KEM and ML-DSA, not from the math itself: the bootloader that cannot be patched, the hybrid combiner that was concatenated instead of bound, the signing loop that runs past a watchdog deadline. A vendor datasheet will quote cycle counts on a Cortex-M4 and stop there. The questions worth asking on a shortlist are the ones that show what happens when one component breaks and the rest of the device has to keep running. Each one below maps to a specific risk you would otherwise inherit.

Which primitive is allowed to fail

Ask how the hybrid key exchange combines the classical and post-quantum shared secrets, and ask to see the exact KDF input. The point of a hybrid is that a break in one algorithm, or an implementation bug in a young ML-KEM library, leaves the session secret protected by the other. That only holds if both secrets and both ciphertexts go into the derivation together with the transcript. A vendor that simply XORs or concatenates raw secrets without binding the ciphertexts has built a scheme where one compromised component can weaken the whole, and that is hard to spot in a black-box evaluation. If the answer is "we follow the NIST post-quantum standards" with no detail on the combiner, treat it as unanswered, because those key-establishment and signature standards specify the primitives and say nothing about how your product glues them to ECDH.

The update path decides whether a bug is survivable

The verifier in immutable boot ROM is the one component you can never fix, so ask exactly which code sits there and which code sits in an updatable second stage. An ML-DSA-65 signature is 3309 bytes, which changes how image headers, flash slot trailers and over-the-air fragmentation are laid out compared with a 64-byte ECDSA signature, and vendors who retrofitted PQC onto an older bootloader sometimes get this boundary wrong. The failure mode to probe is power loss during a slot swap that also changes the verification algorithm or its parameters: the device comes back up, the new stage expects a signature format the old trailer does not carry, and you are left with a brick that only JTAG can recover. Here is the decision rule. If the vendor cannot show a recorded test where the device boots from the fallback slot after the primary image fails verification mid-migration, and the immutable stage holds nothing beyond a hash check or a minimal verifier anchored to a revocable key, take them off the list.

Ask for the worst-case signing time rather than the average, because ML-DSA's rejection sampling makes the iteration count probabilistic, and a task that signs telemetry under a tight RTOS watchdog will eventually reset unless the vendor bounds the loop or gives the signing task a deadline budget that accounts for the tail.

Evidence you can check without a lab

With limited bench time, ask for artifacts rather than demos: known-answer test vectors run on the target silicon, stack high-water marks measured with preemption enabled under FreeRTOS or Zephyr, and the report from whatever fault-injection or side-channel campaign was actually run, including which countermeasures were turned off for the benchmark numbers. Constant-time claims from a desktop build tell you nothing about a part with a flash cache or a variable-latency multiplier. Ask what happens when the secure element or key store stops responding, since a design that blocks indefinitely on a failed key read takes the control loop down with it. My estimate is that a fully masked ML-DSA signer costs several times the unmasked cycle count, so a vendor quoting sub-millisecond signing alongside first-order masking should explain how they got there. Last, ask whether the classical path can be switched off by configuration once you trust the post-quantum implementation, and whether the reverse is possible without a firmware rebuild.

Is a pure post-quantum design safer than a hybrid on constrained devices?

Not yet, in most cases. The hybrid costs extra flash and a second key exchange, but it means one immature implementation does not decide whether your fleet stays confidential. Drop the classical half only once you have field history on the specific library and silicon you ship, and keep the ability to change algorithms in an updatable boot stage either way.

Back to EmbeddedPQC · Domains

← Back to EmbeddedPQC
Engineering & Architecture Brief

What to Ask a Vendor Before Trusting Post-Quantum Crypto on a Microcontroller

Most failures in an embedded post-quantum deployment come from the parts around ML-KEM and ML-DSA, not from the math itself: the bootloader that cannot be patched, the hybrid combiner that was concatenated instead of bound, the signing loop that runs past a watchdog deadline. A vendor datasheet will quote cycle counts on a Cortex-M4 and stop there. The questions worth asking on a shortlist are the ones that show what happens when one component breaks and the rest of the device has to keep running. Each one below maps to a specific risk you would otherwise inherit.

Which primitive is allowed to fail

Ask how the hybrid key exchange combines the classical and post-quantum shared secrets, and ask to see the exact KDF input. The point of a hybrid is that a break in one algorithm, or an implementation bug in a young ML-KEM library, leaves the session secret protected by the other. That only holds if both secrets and both ciphertexts go into the derivation together with the transcript. A vendor that simply XORs or concatenates raw secrets without binding the ciphertexts has built a scheme where one compromised component can weaken the whole, and that is hard to spot in a black-box evaluation. If the answer is "we follow the NIST post-quantum standards" with no detail on the combiner, treat it as unanswered, because those key-establishment and signature standards specify the primitives and say nothing about how your product glues them to ECDH.

The update path decides whether a bug is survivable

The verifier in immutable boot ROM is the one component you can never fix, so ask exactly which code sits there and which code sits in an updatable second stage. An ML-DSA-65 signature is 3309 bytes, which changes how image headers, flash slot trailers and over-the-air fragmentation are laid out compared with a 64-byte ECDSA signature, and vendors who retrofitted PQC onto an older bootloader sometimes get this boundary wrong. The failure mode to probe is power loss during a slot swap that also changes the verification algorithm or its parameters: the device comes back up, the new stage expects a signature format the old trailer does not carry, and you are left with a brick that only JTAG can recover. Here is the decision rule. If the vendor cannot show a recorded test where the device boots from the fallback slot after the primary image fails verification mid-migration, and the immutable stage holds nothing beyond a hash check or a minimal verifier anchored to a revocable key, take them off the list.

Ask for the worst-case signing time rather than the average, because ML-DSA's rejection sampling makes the iteration count probabilistic, and a task that signs telemetry under a tight RTOS watchdog will eventually reset unless the vendor bounds the loop or gives the signing task a deadline budget that accounts for the tail.

Evidence you can check without a lab

With limited bench time, ask for artifacts rather than demos: known-answer test vectors run on the target silicon, stack high-water marks measured with preemption enabled under FreeRTOS or Zephyr, and the report from whatever fault-injection or side-channel campaign was actually run, including which countermeasures were turned off for the benchmark numbers. Constant-time claims from a desktop build tell you nothing about a part with a flash cache or a variable-latency multiplier. Ask what happens when the secure element or key store stops responding, since a design that blocks indefinitely on a failed key read takes the control loop down with it. My estimate is that a fully masked ML-DSA signer costs several times the unmasked cycle count, so a vendor quoting sub-millisecond signing alongside first-order masking should explain how they got there. Last, ask whether the classical path can be switched off by configuration once you trust the post-quantum implementation, and whether the reverse is possible without a firmware rebuild.

Technical FAQ: Is a pure post-quantum design safer than a hybrid on constrained devices?

Not yet, in most cases. The hybrid costs extra flash and a second key exchange, but it means one immature implementation does not decide whether your fleet stays confidential. Drop the classical half only once you have field history on the specific library and silicon you ship, and keep the ability to change algorithms in an updatable boot stage either way.

Related Architecture Specifications (PQCECOSYSTEM): kybercipher.com · mlkemcompliant.com · mlkemsecurity.com

More Technical Articles on embeddedpqc.com

Fitting FIPS 203 ML-KEM-768 into Microcontrollers with Only 16KB of Total SRAM →Verifying ML-DSA Firmware Signatures in Resource-Constrained Automotive Telematics ECUs →