Towards a Formal Treatment of Logic Locking

Peter A. Beerel, Marios Georgiou, Ben Hamlin, Alex J. Malozemoff, Pierluigi Nuzzo

Introduction

In the modern semiconductor industry, the decoupling of design and manufacturing has introduced significant security risks. "Fabless" companies design integrated circuits but must send their blueprints to third-party foundries for fabrication. This creates an opportunity for malicious foundries to steal intellectual property (IP), reverse-engineer designs, or produce unauthorized "black market" copies.

Logic locking has emerged as a primary defense, modifying a circuit's logic so it only functions correctly when a secret key is provided. However, the field has historically been trapped in a "cat-and-mouse" cycle where new locking schemes are proposed and then promptly broken. This paper addresses the root cause of this instability: a lack of mathematical rigor and formal security definitions.

The Landscape of Existing Schemes

To understand why previous attempts failed, the authors conducted a formal audit of the existing logic locking landscape. They standardized the syntax for logic locking algorithms and evaluated prominent schemes against these definitions. Their findings revealed that many prior security notions were either impossible to satisfy or so weak that they could be satisfied by a circuit left entirely in the clear.

Table 1: An audit of existing logic locking schemes, demonstrating the prevalence of flawed definitions and successful attacks.

As shown in the table above, the majority of existing schemes lacked formal definitions or relied on flawed ones, leading to a high rate of successful published attacks such as FALL, SMT, and CycSAT.

Formalizing Security: IND-LL and SIM-LL

The authors propose two robust new frameworks to provide the necessary rigor for the field:

  1. IND-LL (Indistinguishable Logic Locking): This definition ensures that an adversary cannot distinguish which of two known circuits was locked, provided they share the same basic "leakage" (such as circuit size).
  2. SIM-LL (Simulation-Secure Logic Locking): This ensures that an adversary looking at a locked circuit learns nothing more than a "simulator" who only has black-box access to the circuit's inputs and outputs.

The paper proves a formal hierarchy between these definitions, showing that IND-LL ⇒ SIM-LL ⇒ CFS (Contextual Function Security). This hierarchy provides a roadmap for researchers to select the appropriate security level for their specific needs.

The "No Free Lunch" Theorem for IP Protection

One of the paper's most significant contributions is the proof of a fundamental efficiency bound. The authors demonstrate that "Universal Circuits"—which can simulate any other circuit of a certain size—provide perfect IND-LL security but suffer from massive area overhead.

Crucially, they prove that any locking scheme more efficient than a Universal Circuit must rely on cryptographic primitives like one-way functions (OWFs). This "No Free Lunch" theorem explains why many previous "lightweight" ad-hoc schemes were easily broken: they were attempting to achieve high efficiency and high security without the necessary cryptographic foundations.

Conclusion and Future Directions

By bringing formal cryptography to hardware security, this work draws a clear line in the sand: designers must either pay in circuit area (via Universal Circuits) or in cryptographic complexity.

While this paper provides a solid foundation for combinational logic, the authors note that future work is needed to adapt these definitions for sequential logic, where outputs depend on internal states. Additionally, the models currently assume a "passive" adversary; future research must account for "active" adversaries who might use physical tampering or side-channel analysis to extract secret keys. Determining the exact nature of "acceptable leakage" in industrial settings remains an ongoing practical challenge.

Summary updated

Abstract

Logic locking aims to protect the intellectual property of a circuit from a fabricator by modifying the original logic of the circuit into a new “locked” circuit such that an entity without the key should not be able to learn anything about the original circuit. While logic locking provides a promising solution to outsourcing the fabrication of chips, unfortunately, several of the proposed logic locking systems have been broken. The lack of established secure techniques stems in part from the absence of a rigorous treatment toward a notion of security for logic locking, and the disconnection between practice and formalisms. We seek to address this gap by introducing formal definitions to capture the desired security of logic locking schemes. In doing so, we investigate prior definitional efforts in this space, and show that these notions either incorrectly model the desired security goals or fail to capture a natural “compositional” property that would be desirable in a logic locking system. Finally we move to constructions. First, we show that universal circuits satisfy our security notions. Second, we show that, in order to do better than universal circuits, cryptographic assumptions are necessary.
BibTeX
@article{beerel2022towards,
  author = {Peter A. Beerel and Marios Georgiou and Ben Hamlin and Alex J. Malozemoff and Pierluigi Nuzzo},
  title = {{Towards a Formal Treatment of Logic Locking}},
  journal = {IACR Trans. Cryptogr. Hardw. Embed. Syst.},
  year = {2022},
  doi = {10.46586/tches.v2022.i2.92-114},
}
Figure