Logic Encryption: This Time for Real

Rupesh Raj Karn, Lakshmi Likhitha Mankali, Zeng Wang, Saideep Sreekumar, Prithwish Basu Roy, Ozgur Sinanoglu, Lilas Alrahis, Johann KnechtelarXiv 2025 · DOI

Introduction

The globalized semiconductor supply chain is a security minefield. Designers often send their intellectual property (IP) to third-party foundries, risking IP piracy or reverse engineering. To combat this, the industry uses Logic Locking (LL)—inserting "key-gates" into a design that only function correctly when the right key is provided.

However, current LL techniques have a major flaw: they are often added as an "afterthought" to the netlist. Sophisticated "oracle-less" attacks—which don't even need a working chip to succeed—use machine learning and structural analysis to identify these key-gates and predict the correct keys. This paper introduces a novel Logic Encryption (LE) framework that brings true cryptographic principles to hardware obfuscation.

A comparison of traditional Logic Locking (vulnerable to attackers) versus the proposed Logic Encryption framework (resilient to attackers).

Methodology: True Cryptographic Obfuscation

The authors propose an end-to-end, automated CAD flow that treats the circuit netlist as data to be encrypted. Unlike traditional locking that sprinkles gates into a finished design, this method rebuilds the logic from the ground up based on a ciphertext. This removes the "structural signatures" that ML attacks usually exploit.

The Logic Encryption framework integrates standard cryptographic algorithms like AES-128 into the circuit design process.

The Five-Stage Process

The researchers evaluated their method using industry-standard benchmarks, including the ISCAS-85 and ITC-99 suites. The process follows five key stages:

  1. Construction of the Encrypted Circuit (EC): The original circuit is converted into a binary "plaintext" where gates are represented by bits. This plaintext is encrypted using AES-128. The resulting ciphertext is decoded back into a new, functional (but incorrect) "Encrypted Circuit."
  2. Construction of the Correction Circuit (CC): A second circuit is built to monitor the EC’s outputs and "flip" them back to the correct values when the valid key is present.
  3. Randomization: Randomized buffers and inverters are added to both the EC and CC, controlled by intermediate key-bits, to prevent output analysis.
  4. System-Level Integration: The EC and CC are joined using MUX-based key structures and XOR gates at the system level, making them harder to isolate and resilient to "divide and conquer" strategies.
  5. Verification: The final design is verified using commercial-grade tools (Synopsys DC, Cadence Conformal) to ensure perfect functionality with the correct key.

Key Insights and Results

By using AES, the authors leverage the cryptographic properties of confusion and diffusion. A single bit change in the encryption key results in a completely different circuit structure, making it nearly impossible for an attacker to find patterns.

Security Performance

The LE approach showed significant improvements over prior art across several attack vectors:

  • ML Resilience: Against OMLA (an ML attack on gate structures), LE was 1.17x more resilient than TRLL. Against MuxLink (an attack on interconnects), it was 1.64x better than gDMUX.
  • Reverse Engineering: LE was particularly effective against GNN-RE (Graph Neural Network-based Reverse Engineering), outperforming state-of-the-art (SOTA) methods by up to 3.58x.

Efficiency and Overhead

One of the most surprising findings is that LE actually has lower overhead than some locking schemes. Because the EC and CC operate in parallel, they don't create the long, "entangled" timing paths that traditional MUX-based locking often introduces. On average, LE outperformed TRLL by 2.45x and gDMUX by 8.72x in total design overhead (PPA).

Conclusion and Future Work

While the results are promising, the authors note that future work will need to test LE against "oracle-guided" attacks (where the attacker has access to a functional, activated chip) and extend the framework to sequential logic and modern chiplet architectures.

The authors have released their full toolset as open-source, inviting the community to verify and build upon this "real" logic encryption framework.

Summary updated

BibTeX
@misc{karn2025logic,
  author = {Rupesh Raj Karn and Lakshmi Likhitha Mankali and Zeng Wang and Saideep Sreekumar and Prithwish Basu Roy and Ozgur Sinanoglu and Lilas Alrahis and Johann Knechtel},
  title = {{Logic Encryption: This Time for Real}},
  year = {2025},
  eprint = {2512.00833},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2512.00833},
}
Figure