Advancing hardware security using polymorphic and stochastic spin-hall effect devices

Satwik Patnaik, Nikhil Rangarajan, Johann Knechtel, Ozgur Sinanoglu, Shaloo Rakheja

TL;DR

This paper introduces a hardware security primitive based on the Giant Spin-Hall Effect (GSHE) switch that can implement all 16 possible two-input Boolean functions within a single, uniform layout. By leveraging the innate polymorphism and stochastic nature of these spin-based devices, the authors demonstrate a massive leap in resilience against state-of-the-art Boolean satisfiability (SAT) attacks and physical reverse engineering with minimal power overhead.

What Problem Does This Paper Address?

As the semiconductor supply chain has globalized, hardware security has become a major concern. Adversaries can reverse engineer (RE) integrated circuits (ICs) to steal intellectual property (IP) or insert malicious "Trojans."

Current defense methods like logic locking (adding "key" gates) and IC camouflaging (making different gates look identical) often suffer from two major flaws:

  1. High Overhead: Implementing these in standard CMOS technology requires extra circuitry, leading to significant penalties in area, power, and delay.
  2. Vulnerability to SAT Attacks: Sophisticated algorithms can often "crack" the logic of a protected chip in minutes by observing input-output patterns and ruling out incorrect keys.

Methods

The authors propose using an emerging spintronic device—the GSHE switch—as a security primitive.

  • The Device: The GSHE switch uses a heavy metal layer and nanomagnets. It relies on spin-polarized currents to flip the magnetization of a "write" nanomagnet, which then influences a "read" nanomagnet via dipolar coupling.
  • Polymorphism: Unlike CMOS gates, where the layout defines the function (e.g., an AND gate looks different from an OR gate), the GSHE primitive is "polymorphic." Its function is determined by external control signals (currents and voltages). A single GSHE structure can be configured to act as any of the 16 possible two-input Boolean functions.
  • Uniform Layout: Because every gate looks identical at the layout level, optical-imaging-based reverse engineering becomes nearly impossible.
  • Stochasticity: The switching process in these devices is inherently probabilistic due to thermal noise. The authors suggest this stochastic behavior can be tuned to "confuse" SAT solvers, which typically require a deterministic "oracle" to function.

Datasets

The researchers evaluated their primitive using several standard logic synthesis and hardware security benchmarks:

  • Traditional Suites: ISCAS-85, MCNC, and ITC-99.
  • Large-Scale: The EPFL benchmark suite.
  • Industrial: IBM "superblue" circuits, which represent complex, real-world designs.

Key Insights and Ideas

  • The "All-in-One" Primitive: Most prior work on polymorphic gates could only implement 2 to 4 functions (e.g., NAND/NOR). This GSHE primitive covers the entire 16-function space, exponentially increasing the "search space" for an attacker.
  • Interchangeable Defense: In this framework, camouflaging and logic locking become functionally the same. The "key" used for locking is the same control signal that determines the "camouflaged" function.
  • Strategic Replacement: Since GSHE devices are slower than CMOS (nanoseconds vs. picoseconds), the authors propose a hybrid CMOS-GSHE design. By replacing only 5–15% of gates in "non-critical" timing paths, they can achieve high security without slowing down the overall chip.
  • Breaking the SAT Oracle: Most SAT attacks assume that if you give a chip the same input twice, you get the same output. By leveraging the stochastic nature of spin devices, the authors argue they can break the fundamental logic of these analytical attacks.

Key Results

  • SAT Resilience: In tests on the aes_core benchmark, a 10% protection level with the GSHE primitive required 25,890 seconds to crack, compared to just 132 to 6,229 seconds for prior emerging-device primitives. At 20% protection, the GSHE-protected designs consistently timed out (48+ hours).
  • Efficiency: The GSHE primitive is extremely low-power, consuming only 0.2125 µW with an energy footprint of 0.33 fJ, significantly outperforming many CMOS-based obfuscation techniques.
  • Full-Chip Protection: For full-chip protection, the authors ran attacks for 240 hours without a single design being resolved.

Limitations and Future Work

  • Fabrication Maturity: The GSHE switch is still in the "nascent stage of fabrication." While theoretically promising, mass-producing these devices and integrating them with CMOS at scale remains a challenge.
  • Speed: At ~1.55 ns, the GSHE switch is significantly slower than high-speed CMOS. This limits its use to specific parts of a circuit rather than a total CMOS replacement.
  • Advanced Physical Attacks: While the layout is uniform for optical RE, the authors note that more sophisticated techniques like electron microscopy (EM) or side-channel analysis (monitoring power/magnetic signatures) still need further investigation to ensure total immunity.
  • Stochastic SAT Solvers: The authors anticipate that future "AppSAT" (approximate SAT) attacks might attempt to bypass stochasticity, suggesting a need for ongoing "cat-and-mouse" research in this area.

Summary updated

BibTeX
@inproceedings{patnaik2018advancing,
  author = {Satwik Patnaik and Nikhil Rangarajan and Johann Knechtel and Ozgur Sinanoglu and Shaloo Rakheja},
  title = {{Advancing hardware security using polymorphic and stochastic spin-hall effect devices}},
  booktitle = {DATE},
  year = {2018},
  url = {https://openreview.net/forum?id=ECoNicz4tH},
}

Loading related content...

Figure