Private Circuits: A Modular Approach

Prabhanjan Ananth, Yuval Ishai, Amit Sahai

TL;DR

This paper introduces a new, modular approach to building "private circuits" that are resilient to leakage attacks. Their method offers a simpler alternative to existing constructions and achieves security for any leakage probability less than 1, a significant improvement over prior work. This work is crucial for developing more robust cryptographic systems in the face of side-channel attacks.

What Problem Does This Paper Address?

In modern computing, sensitive information is often processed by circuits. However, these circuits can inadvertently leak information about their inputs through various side channels (e.g., power consumption, electromagnetic radiation). This leakage can be exploited by attackers to infer secret data. The problem of "leakage-resilient computation" aims to design circuits that can perform computations securely, even when some of their internal states (wire values) are leaked with a certain probability.

The authors focus on the "constant-rate random leakage" model, where each wire's value is leaked independently with a fixed probability $p > 0$. The challenge is to ensure that this leakage reveals essentially nothing about the original input. Previous constructions for achieving this resilience were highly complex, relying on advanced tools like expander graphs and algebraic geometric codes. The authors sought a simpler, more modular approach to tackle this problem.

Methods

The core of the paper's contribution lies in a modular, recursive composition technique. They start with a basic "gadget" circuit that offers a weak form of leakage resilience and then recursively compose this gadget with itself. This composition amplifies the security, making the overall circuit resilient to higher leakage probabilities.

Key aspects of their method include:

  • Composable Circuit Compilers: They introduce a notion of "composable circuit compilers" that are designed to be easily chained together. This involves an "XOR encoding property" where inputs and outputs are represented as additive secret shares, ensuring that the output encoding of one compiler can serve as the input encoding for another.
  • Recursive Composition: The main construction involves repeatedly applying a "composition step." This step takes a compiler that is secure against a certain leakage probability and error rate and produces a new compiler that is secure against the same leakage probability but with a significantly reduced error rate. This is achieved by cleverly using a secure multi-party computation (MPC) protocol as a building block.
  • Stitching Transformation: To address efficiency concerns (where recursive composition can lead to exponentially larger circuits), they employ an "exponential-to-polynomial transformation." This step converts an exponentially efficient compiler into a polynomially efficient one.
  • Leakage Tolerance: They also extend their work to "leakage tolerance," a stronger notion where the input itself is not encoded, but the leakage from the entire computation can be simulated based on bounded leakage of the input values.

Datasets

Not discussed in the paper.

Key Insights and Ideas

  • Modularity is Key: The paper demonstrates that a modular, recursive approach can simplify the construction of leakage-resilient circuits, avoiding the need for highly specialized cryptographic primitives.
  • MPC as a Building Block: Secure multi-party computation protocols, particularly those tolerating a threshold of corruptions, are shown to be a powerful tool for constructing leakage-resilient components.
  • Compositional Security: The concept of "composable security" is crucial for handling the interactions between different components in a complex circuit, ensuring that security is maintained even when compilers are chained together.
  • Trade-offs in Leakage Tolerance: The paper highlights that while leakage tolerance offers stronger security guarantees (no input encoding), it comes with its own set of challenges and limitations, as evidenced by their negative result.

Key Results

  • Leakage Resilience: For any leakage probability $p < 1$, they construct a leakage-resilient circuit compiler that can tolerate this leakage. This is a significant improvement over previous work that was limited to vanishing leakage probabilities or required complex constructions.
  • Leakage Tolerance: They achieve leakage tolerance for leakage probabilities $p < p' < 1$, meaning the leakage on the entire computation can be simulated from a slightly higher leakage on the input alone.
  • Negative Result for Leakage Tolerance: They prove that for any basis, there exists a leakage probability $p < 1$ such that leakage tolerance cannot be achieved for any leakage rate $p' < 1$. This establishes fundamental limits on leakage tolerance.
  • Efficiency Improvements: The paper presents techniques to transform exponentially sized compiled circuits into polynomially sized ones, making their constructions more practical.

Limitations and Future Work

  • Leakage Probability Gap: For binary circuits, there's still a gap between the leakage probability guaranteed by their construction and the theoretical best possible.
  • Leakage Tolerance Limits: The negative result for leakage tolerance suggests that achieving arbitrarily high leakage tolerance is not possible in general.
  • Open Questions: The paper leaves open questions about tolerating higher leakage probabilities for leakage-resilient circuits and the role of input encoders in generating correlated randomness for MPC.
  • Non-Boolean Bases: While they extend their results to non-boolean bases, further exploration in this area could yield improved leakage rates.

Summary updated

BibTeX
@article{ananth2018private,
  author = {Prabhanjan Ananth and Yuval Ishai and Amit Sahai},
  title = {{Private Circuits: A Modular Approach}},
  journal = {IACR Cryptol. ePrint Arch.},
  year = {2018},
}
Figure