Abstract
Side-channel attacks pose a significant threat to cryptographic devices by leaking information through physical channels such as power consumption and timing. The Only Computation Leaks (OCL) model provides a theoretical framework for defense, but practical implementations have historically faced a trade-off between requiring specialized "leak-free" hardware or an impractical number of computing components. This paper introduces the first cryptographic compiler that transforms any circuit into an OCL-secure version using only two computing components—the theoretical minimum—without any leak-free hardware assumptions. By leveraging advanced primitives like universal deniable encryption and a novel hardware replacement theorem, this work bridges the gap between theoretical bounds and architectural feasibility.
Introduction
In real-world environments, cryptographic devices are vulnerable to side-channel attacks where adversaries monitor physical outputs like power consumption, electromagnetic radiation, or timing to extract secret keys. To combat this, researchers utilize the Only Computation Leaks (OCL) model. Under this model, it is assumed that only the active parts of a circuit leak information. To achieve security, a circuit must be partitioned into multiple components that operate sequentially.
Theoretical research has established that at least two components are necessary to achieve OCL security. However, prior to this work, achieving this lower bound required a "magic box"—a piece of specialized hardware assumed to be perfectly leak-free. Removing this assumption typically forced designers to use many more components (often 20 or more), leading to significant architectural complexity. This paper addresses a fundamental question: Can we construct a two-component OCL compiler without relying on any leak-free hardware?
Methodology
The authors propose a modular framework to replace physical hardware assumptions with cryptographic protocols. Their approach is built upon three pillars:
- Hardware Replacement Theorem: The authors prove that if a hardware-based OCL scheme utilizes "simple" hardware (functionalities that do not take inputs, such as a random number generator), that hardware can be emulated by a two-party protocol between the existing components.
- Universal Deniable Encryption: To defend against "adaptive" leakage—where an attacker chooses what to leak based on previous observations—the scheme employs deniable encryption. This allows a simulator to generate ciphertexts that can later be "explained" as encryptions of any message by providing indistinguishable random coins.
- Receiver Non-Committing Encryption (NCE): This primitive enables a simulator to generate public keys and ciphertexts without knowing the underlying message, and subsequently reveal secret keys that consistently explain the ciphertext for any chosen message.
By integrating these primitives, the authors transform established hardware-dependent schemes, such as those by Juma-Vahlis (JV) and Dziembowski-Faust (DF), into pure protocol-based constructions.
Key Results
The primary contribution of this work is the successful construction of the first two-component OCL scheme that requires zero leak-free hardware. The authors provide a generic compiler that can "de-hardware" existing OCL constructions.
As shown in the comparison table above, the new schemes achieve the optimal component count of two while removing the requirement for specialized hardware seen in earlier JV and DF schemes. Specifically:
- JV-based construction: Achieves a leakage rate of $\ell / w|C|$ (where $w$ is ciphertext length and $|C|$ is circuit size) using Fully Homomorphic Encryption (FHE) and Deniable Encryption.
- DF-based construction: Achieves a leakage rate of $1/\ell|C|$ without requiring FHE.
Furthermore, the authors demonstrate that their OCL-resilient circuit construction provides a path toward leakage-tolerant Multi-Party Computation (MPC), yielding the first constant-round protocols for certain MPC classes secure under internal state leakage.
Discussion
The core innovation lies in simulating the "magic box." The authors realized that the leak-free hardware in previous designs was primarily responsible for sampling correlated randomness rather than performing complex logic. This "simple" task can be emulated via a protocol if it possesses strong oblivious simulation.
Deniable encryption serves as a critical shield in the OCL model. Since an adversary sees leaked bits of the internal state, deniable encryption allows a security proof where a simulator can retroactively "lie" to the adversary, creating a fake internal state that matches the leaked bits perfectly without needing the actual secret key.
Conclusion and Future Work
While this work achieves a major theoretical milestone, it relies on heavy cryptographic primitives. Specifically, the construction of universal deniable encryption currently requires Indistinguishable Obfuscation (iO). While iO is a powerful tool in theoretical cryptography, it is currently too inefficient for practical deployment in consumer devices like smart cards or IoT sensors.
Future research directions include finding ways to achieve two-component OCL security without relying on iO or FHE, and extending the hardware replacement theorem to handle hardware that takes complex inputs. Despite these challenges, this work sets a new standard for leakage-resilient architecture by proving that the theoretical minimum of two components is achievable through software protocols alone.
Summary updated