Optimal Circuit Synthesis of Linear Codes for Error Detection and Correction

📅 2026-04-04
📈 Citations: 0
Influential: 0
📄 PDF
🤖 AI Summary
This work addresses the challenges of error-prone, inefficient, and expert-dependent design of linear code circuits under fault injection attacks by proposing the first automated method for optimal synthesis. We formally define the Optimal Code Circuit Synthesis (OptiCC) problem and introduce the CiSC algorithm, which uniquely integrates correctness and security guarantees directly into the synthesis process. Our approach employs an input-priority optimization paradigm, combining lazy generation, equivalence class identification, and an SMT-solver-driven constraint satisfaction mechanism to significantly enhance synthesis efficiency. Experimental results demonstrate that CiSC consistently produces circuits that outperform state-of-the-art methods in both size and performance across established benchmarks.
📝 Abstract
Fault injection attacks deliberately inject faults into a device via physical channels to disturb its regular execution. Adversaries can effectively deduce secrets by analyzing both the normal and faulty outputs, posing serious threats to cryptographic primitives implemented in hardware. An effective countermeasure to such attacks is via redundancy, commonly referred to as concurrent error detection schemes, where Binary linear codes have been used to defend against fault injection attacks. However, designing an optimal code circuit is often time-consuming, error-prone, and requires substantial expertise. In this paper, we formalize the optimal code circuit synthesis problem (OptiCC) based on two domain-specific minimization objectives on individual inputs and parity size. We then propose a novel algorithm CiSC for solving OptiCC, prioritizing the minimization of individual inputs. Our approach features both correct-by-construction and secure-by-construction. In a nutshell, CiSC gradually reduces individual inputs and parity size by checking, via SMT solving, the existence of feasible Boolean functions for implementing a desired code. We further present an effective technique to lazily generate combinations of inputs to Boolean functions, while quickly identify equivalent ones. We implement our approach in a tool CiSC, and evaluate it on practical benchmarks. Experimental results show our approach can synthesize code circuits that significantly outperform those generated by the latest state-of-the-art techniques.
Problem

Research questions and friction points this paper is trying to address.

fault injection attacks
linear codes
circuit synthesis
error detection
concurrent error detection
Innovation

Methods, ideas, or system contributions that make the work stand out.

Optimal Circuit Synthesis
Linear Codes
Concurrent Error Detection
SMT Solving
Fault Injection Attacks
🔎 Similar Papers
No similar papers found.