← Latest papers
💻 computer science

Exploring Side-Channel Protections in Hardware Implementations of PQC ML-KEM Verification

This paper demonstrates that while FPGA-based implementations of ML-KEM offer superior speed and parallelism, they remain highly vulnerable to side-channel attacks, where even higher-order masked verification schemes leak sufficient information to enable full secret-key recovery due to inherent hardware-level effects.

Original authors: Davis Ranney, Yashaswini I Makaram, A. Adam Ding, Yunsi Fei

Published 2026-07-01
📖 5 min read🧠 Deep dive

Original authors: Davis Ranney, Yashaswini I Makaram, A. Adam Ding, Yunsi Fei

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

The Big Picture: Locking the Digital Door

Imagine ML-KEM as a new, super-strong digital lock designed to keep your secrets safe even from future "quantum" computers that are incredibly powerful. To make this lock work, it has a specific step called FO Verification. Think of this step as a security guard checking a guest's ID card. The guard re-creates the ID card based on what the guest says, then compares it to the original. If they match perfectly, the door opens. If they don't, the guard throws away the key and gives you a random piece of paper instead (to prevent hackers from guessing the right answer).

The problem is that this security guard leaves "footprints." By watching how much electricity the guard uses or the magnetic waves they emit while checking the ID, a hacker can figure out if the ID matched or not. If the hacker can tell the difference between a "match" and a "mismatch," they can eventually trick the guard into revealing the master key to the whole building.

The Experiment: The Microcontroller vs. The Super-Factory

The researchers wanted to see if building this security guard on a Microcontroller (a standard, small computer chip found in many devices) was different from building it on an FPGA (a reconfigurable chip often used for high-speed, heavy-duty tasks).

  • The Microcontroller is like a single, careful clerk working at a desk. They check the ID byte-by-byte, one after another.
  • The FPGA is like a massive factory with hundreds of workers checking the ID all at once. It is much faster, but the researchers suspected that having so many workers moving at the same time might create a louder, more obvious "noise" that hackers could hear.

They tested three different ways to protect the guard:

  1. No Protection: The guard checks the ID directly.
  2. Hash-Based Protection (First-Order): Before checking, the guard shreds the ID into a unique "fingerprint" (a hash) and compares the fingerprints instead.
  3. High-Order Masking: The guard splits the ID into several random pieces (shares), checks them separately, and then reassembles the result. This is supposed to make it impossible to tell what the original ID was.

The Findings: Speed vs. Safety

1. The Unprotected Guard (The "No Protection" Test)

  • The Microcontroller: The clerk worked quietly. The "footprints" (power usage) were a bit noisy, making it hard for a hacker to tell if the ID matched or not. The hacker could guess correctly about 95% of the time.
  • The FPGA: The factory workers were loud. When the researchers increased the number of workers (parallelism) to check more of the ID at once, the "footprints" became incredibly clear.
    • With a small team (32-bit), it was still hard to hear.
    • With a large team (512-bit), the noise was so clear that the hacker could tell if the ID matched 100% of the time.
  • The Lesson: The faster and more parallel the FPGA is, the louder the security guard's footprints become, making it easier for hackers to steal the key.

2. The Shredded ID (The "Hash-Based" Test)

  • The Idea: Instead of comparing the IDs directly, the guard shreds them into a hash (a digital fingerprint) first. The idea is that even a tiny change in the ID creates a totally different fingerprint, hiding the comparison.
  • The Result: The researchers tried to "shuffle" the order in which the factory workers processed the hash to confuse the hacker.
  • The Failure: It didn't work. Even though the order was shuffled, the factory workers still moved in a pattern that left a distinct signature. The researchers could easily figure out the order and still tell if the ID matched. The hacker succeeded 94.7% of the time.
  • The Analogy: It's like trying to hide a secret by shredding a document and then reassembling it in a random order. If you watch the shredding machine, you can still tell which pieces came from the "Match" pile and which came from the "Mismatch" pile.

3. The Split ID (The "High-Order Masking" Test)

  • The Idea: This is the most advanced protection. The ID is split into random pieces, and the workers check the pieces separately so no single worker knows the whole secret.
  • The Microcontroller: This worked well. The single clerk couldn't leak enough information for the hacker to guess the key.
  • The FPGA: This failed spectacularly. Because the factory has so many workers checking pieces at the exact same time, the combined noise of all those workers revealed the secret. The more workers (shares) they added, the louder the signal became.
  • The Result: The hacker could guess the match status 98.5% of the time.
  • The Analogy: Imagine trying to hide a secret by whispering it to 100 people at once. On a quiet desk (Microcontroller), only one person hears it, so it's safe. But in a noisy factory (FPGA), the combined sound of 100 people whispering creates a roar that is actually easier to hear than a single whisper.

The Conclusion

The paper concludes that while FPGAs are amazing for making things fast, they are currently terrible at keeping these specific secrets safe.

The "speed" of the FPGA comes from doing many things at once (parallelism). Unfortunately, doing many things at once creates a massive, synchronized signal that acts like a beacon for hackers. The protection methods that work on standard, slow chips (like the Microcontroller) break down when you try to speed them up on an FPGA.

The Bottom Line: You cannot just take a security plan designed for a slow, single-lane road and put it on a 50-lane superhighway. The traffic (parallelism) creates a new kind of noise that the old security plans didn't account for. To secure these new quantum locks on fast hardware, we need entirely new, custom-built defenses.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →