← Latest papers
💻 computer science

Trojan-Resilient NTT: Protecting Against Control Flow and Timing Faults on Reconfigurable Platforms

This paper presents a secure Number Theoretic Transform (NTT) architecture for reconfigurable platforms that effectively detects and corrects control-flow disruptions, unconventional timing delays, and Soft Analytical Side-Channel Attacks (SASCA) induced by hardware Trojans, while maintaining low area and time overheads in Post-Quantum Cryptography implementations.

Original authors: Rourab Paul, Krishnendu Guha, Amlan Chakrabarti

Published 2026-04-28
📖 5 min read🧠 Deep dive

Original authors: Rourab Paul, Krishnendu Guha, Amlan Chakrabarti

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

Imagine you are running a high-security bank vault (the NTT, or Number Theoretic Transform). This vault is the engine room for a new type of digital lock called Post-Quantum Cryptography (used by systems like Kyber). Its job is to do incredibly complex math very quickly to keep your data safe from future super-computers.

However, there are two main ways bad guys can break in:

  1. The "Trojan Horse" Saboteur: A tiny, hidden piece of hardware (a Hardware Trojan) planted inside the vault's machinery. It doesn't steal money directly; instead, it messes with the switches and levers (control signals) to stop the vault from working, make it run too slow, or force it to open the wrong doors.
  2. The "Eavesdropping Spy": A spy who watches how long the vault takes to open or how much power it uses (Side-Channel Attacks) to guess the secret code.

This paper presents a new, super-secure version of the vault engine called Trojan-Resilient NTT. Here is how it works, using simple analogies:

1. The "Double-Check" System (Control Flow Integrity)

Imagine the vault has a main manager (the Control Unit) who gives orders like "Open Door A" or "Start Calculation."

  • The Problem: A saboteur could sneak in and change the manager's orders, telling the vault to skip steps or run in the wrong order.
  • The Solution: The authors built a Shadow Manager (a lightweight backup register). This Shadow Manager doesn't do any real work; it just watches the main manager.
    • If the main manager says "Open Door A," the Shadow Manager expects to see "Open Door A" at the exact same time.
    • If the main manager suddenly says "Open Door B" or gets stuck, the Shadow Manager immediately raises a red flag: "Hey! The orders don't match the plan!"
    • Why it's cool: The Shadow Manager is completely separate from the main machinery. Even if the saboteur hacks the main manager, they can't easily hack the Shadow Manager because it's built differently and sits in a different spot.

2. The "Stopwatch" (Clock Cycle Counter)

Imagine the vault is supposed to take exactly 10 seconds to process a transaction.

  • The Problem: A saboteur might try to slow the vault down by jamming a gear, making it take 15 seconds. This delay can be used to steal secrets or just crash the system.
  • The Solution: The vault has a built-in Stopwatch (Clock Cycle Counter). It counts every single tick of the clock.
    • If the vault finishes in 10 ticks, everything is fine.
    • If it takes 11 ticks (because a saboteur jammed a gear), the Stopwatch screams: "Too slow! Something is wrong!"
    • This catches any attempt to delay the process, whether it's an accident or a deliberate attack.

3. The "Magic Mask" (Local Masking)

Imagine the vault is processing a secret number. A spy outside is watching the power meter to guess the number based on how hard the machine is working.

  • The Problem: The spy sees patterns in the power usage and figures out the secret.
  • The Solution: The vault uses a Magic Mask. Every time it writes a secret number down, it mixes it with a random, fake number first.
    • To the spy, the power usage looks like random noise. They can't tell what the real secret is because it's always hidden behind a layer of "static."
    • The vault knows how to remove the mask at the end to get the real answer, but the spy sees nothing but chaos.

4. The "Self-Healing" Mechanism (Adaptive Fault Correction)

This is the most unique part. If the vault detects a problem (a red flag from the Shadow Manager or the Stopwatch), it doesn't just shut down. It tries to fix itself using three levels of "repair":

  • Level 1: "Let's Try That Again."
    If the error was a tiny glitch, the vault simply throws away the bad result and runs that specific step again immediately. It's like a runner tripping over a pebble, getting up, and finishing the lap without stopping.
  • Level 2: "Reboot the Same Room."
    If the glitch happens again, the vault reloads its own instructions (the bitstream) into the exact same spot on the chip. It's like a computer crashing and restarting the same program to clear out a temporary bug.
  • Level 3: "Move to a New Room."
    If the problem keeps happening in the same spot, the vault realizes that specific area of the chip might be "poisoned" by a saboteur. It grabs a fresh set of instructions and moves the entire operation to a completely different, clean area of the chip.
    • The Smart Part: The system keeps a "Risk Score" for every room in the chip. If a room has a history of glitches, the system avoids it. If a room is clean, it sends the work there.

The Results

The authors tested this system on a real chip (an FPGA) using the Kyber encryption standard.

  • Success Rate: They simulated thousands of attacks (like jamming gears or changing switches). The system caught 100% of the problems.
  • Cost: The "Shadow Manager," "Stopwatch," and "Magic Mask" only made the vault slightly bigger (about 20% more space) and slightly slower (a tiny bit of energy).
  • Conclusion: They proved that you can build a vault that not only locks the door but also watches its own guards, times its own movements, and can move to a new room if the current one is compromised, all without breaking the bank.

In short, this paper builds a self-aware, self-healing math engine that refuses to be tricked by saboteurs trying to mess with its controls or timing.

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 →