TL;DR
This paper introduces a novel approach to securing integrated circuits (ICs) against untrusted foundries by integrating logic locking with the High-Level Synthesis (HLS) resource binding phase. By making binding decisions that are aware of the locking configuration, the authors achieve significantly higher application-level errors (up to 99x) while maintaining crucial SAT attack resilience, overcoming a fundamental trade-off in traditional logic locking.
What Problem Does This Paper Address?
The increasing reliance on third-party foundries for IC fabrication introduces significant security risks, including reverse engineering, piracy, and overproduction. Logic locking is a technique to mitigate these threats by embedding a secret key into the IC, rendering it inoperable or faulty if the wrong key is used. However, a critical challenge arises from the inherent trade-off between the effectiveness of logic locking (measured by application-level errors) and its resilience to sophisticated attacks like the SAT attack.
Traditional logic locking methods often struggle to inject enough errors to critically impact an IC's functionality while simultaneously remaining resistant to SAT attacks. This is because SAT-resilient locking requires limiting the number of "locked inputs" (inputs that trigger errors for wrong keys), which in turn limits the number of errors injected. This paper tackles this dilemma by proposing a new perspective: instead of locking modules in isolation after their design is finalized, they leverage the architectural context available during the High-Level Synthesis (HLS) phase, specifically the resource binding step. Resource binding maps operations to functional units (FUs), and this decision can be strategically used to amplify the impact of logic locking.
Methods
The core innovation lies in developing "security-aware" resource binding algorithms. The authors propose two main problem formulations:
- Obfuscation-Informed Binding: In this scenario, the logic locking configuration (which modules are locked and which specific inputs are locked) is determined before the binding phase. The goal of the binding algorithm is then to map operations to FUs in a way that maximizes the application errors caused by this pre-defined locking. They introduce a cost function that quantifies expected application errors based on the occurrences of locked inputs on locked FUs and a graph-theoretic algorithm to find the optimal binding.
- Binding-Obfuscation Co-Design: This is a more integrated approach where the binding decisions and the selection of locked inputs are performed concurrently. The algorithm aims to maximize application errors by jointly optimizing which operations are bound to which FUs and which inputs are chosen as locked inputs for those FUs. They present an optimal (non-polynomial time) algorithm and a practical, polynomial-time heuristic. The heuristic iteratively selects locked inputs and binding configurations for each FU, ensuring a balance between maximizing errors and maintaining SAT resilience.
Both approaches leverage the expected input minterm occurrences for operations, typically derived from simulating the design with representative workloads.
Datasets
The authors evaluated their algorithms on 11 MediaBench benchmarks [21]. They extracted C functions, generated corresponding Data Flow Graphs (DFGs), and scheduled them. The "typical" input trace for each benchmark was derived from the MediaBench sample workloads. No new benchmarks were introduced; rather, existing benchmarks were adapted for their experimental setup.
Key Insights and Ideas
- Binding is Key to Amplifying Locking Impact: The paper demonstrates that strategic resource binding decisions can dramatically increase the effectiveness of logic locking, far beyond what module-level locking alone can achieve.
- Architectural Context is Crucial: By considering the HLS process, particularly resource binding, designers can gain architectural insights that directly translate to improved security.
- Overcoming the SAT Trade-off: The proposed methods effectively sidestep the traditional trade-off between SAT resilience and application error by using binding to amplify errors for a fixed, SAT-resilient locking configuration.
- Co-Design Yields Superior Results: The binding-obfuscation co-design approach, which jointly optimizes binding and locking, offers even greater improvements in application errors compared to the obfuscation-informed approach.
- Practical Heuristic Achieves Near-Optimal Results: The polynomial-time heuristic for co-design provides significant gains with minimal performance degradation compared to the optimal but computationally expensive solution.
Key Results
- Obfuscation-Informed Binding: Achieved a 26x increase in application errors compared to area/power-aware binding with the same locking configuration.
- Binding-Obfuscation Co-Design (Optimal): Achieved a 99x increase in application errors compared to area/power-aware binding.
- Binding-Obfuscation Co-Design (P-time Heuristic): Achieved a 99x increase in application errors, with less than a 0.5% degradation compared to the optimal solution.
- Overhead: The proposed security-aware binding algorithms incurred minimal overhead, with an average increase of 4.7 registers and 0.03 in switching rate compared to area-aware and power-aware binding, respectively.
- Consistency: The improvements in application errors were consistent across various locking configurations (number of locked FUs and locked inputs).
Limitations and Future Work
- Candidate Locked Input Selection: The paper notes that the selection of candidate locked inputs for the co-design approach is outside the scope of the immediate work, suggesting it as a direction for future research. They mention using "typical" input traces or random selection as possibilities.
- Assumption of Similar Operation/Resource Types: The binding algorithms assume that operations and resources are of the same type (e.g., all adders). While they state this can be handled by processing dissimilar types separately, it's a simplification.
- Exponential Runtime for Optimal Co-Design: The optimal binding-obfuscation co-design algorithm has a non-polynomial runtime, making it impractical for large designs. The paper addresses this with a P-time heuristic.
- Future Work: The authors suggest that their methodology can be extended to design locking configurations that meet specific target application error rates and minimum SAT runtimes. They also propose combining their critical minterm locking approach with exponential SAT iteration runtime locking schemes to further enhance security when needed, while mitigating the high overhead of the latter.
Summary updated