TL;DR
This paper introduces MiniLEGO, a novel protocol for secure two-party computation that significantly improves efficiency by leveraging a new XOR-homomorphic commitment scheme. It offers a practical alternative to existing methods, achieving security with general assumptions and compatibility with standard optimizations for garbled circuits.
What Problem Does This Paper Address?
Secure two-party computation (2PC) allows two parties to jointly compute a function on their private inputs without revealing those inputs. Yao's garbled circuit protocol is a foundational technique for 2PC, but achieving security against malicious adversaries efficiently has been a long-standing challenge. The "cut-and-choose" technique helps, but previous attempts like the "LEGO" construction (Nielsen and Orlandi, 2009) relied on computationally expensive public-key operations per gate and lacked compatibility with existing optimizations. This paper addresses the need for a more efficient and practical 2PC protocol that is secure against malicious adversaries, uses general assumptions, and integrates well with established techniques.
Methods
The core innovation of MiniLEGO is a new XOR-homomorphic commitment scheme based on oblivious transfer (OT). This scheme replaces the computationally heavy Pedersen commitments used in the original LEGO construction. The protocol then uses this new commitment scheme to connect garbled gates in a "bucket" structure, similar to LEGO, but with significant improvements:
- Efficiency: It maintains the efficiency gains of the LEGO cut-and-choose approach.
- Primitives: After an initial phase using a few seed OTs, it relies primarily on efficient, generic primitives (like Minicrypt, i.e., private-key cryptography) for each gate.
- Compatibility: Unlike the original LEGO, MiniLEGO is compatible with standard optimizations for Yao's garbled gates, such as free-XORs, row reduction, and point-and-permute.
The protocol involves several phases: Setup, Garbling (where parties create garbled gates and commit to keys), Cut-and-choose (where one party checks a subset of gates), Soldering (connecting gates into buckets and then buckets into a circuit), Input (handling party inputs), and Evaluation. The XOR-homomorphic commitments are crucial for securely connecting these components, especially for handling potential malicious behavior.
Datasets
Not discussed in the paper.
Key Insights and Ideas
- XOR-Homomorphic Commitments are Key: The paper demonstrates that by building XOR-homomorphic commitments from oblivious transfer, one can overcome the efficiency bottleneck of previous LEGO-like constructions. This is a significant step towards practical, secure computation.
- Bridging the Gap to Standard Optimizations: The incompatibility of the original LEGO with common garbled circuit optimizations was a major barrier to adoption. MiniLEGO's compatibility opens the door for leveraging years of research in optimizing Yao's protocol.
- General Assumptions are Sufficient: The protocol's security relies on general cryptographic assumptions (like the hardness of discrete logarithms for bootstrapping OT, and AES behaving like a random permutation for garbled gates), making it more broadly applicable than protocols relying on very specific or potentially vulnerable assumptions.
- The Power of "Bucket" Structures: The paper builds upon the LEGO idea of using redundant "buckets" of gates to tolerate a minority of faulty gates, a robust technique for achieving security against malicious adversaries.
Key Results
The paper presents a protocol (MiniLEGO) that is proven to securely implement the ideal functionality for secure function evaluation (FSFE) in the UC (Universally Composable) model, with active and static security. The key results are:
- Efficiency: The protocol achieves asymptotic complexity that is competitive with or better than previous state-of-the-art protocols, particularly in terms of symmetric operations per gate. Table 1 shows its symmetric operations are O(sk/log(s)) and communication is O(tks/log(s) + t²), where 's' is the number of non-XOR gates, 'k' is the security parameter, and 't' is the computational security parameter.
- Security: It provides statistical security $2^{-k}$ with a replication factor $p = O(k/\log(s))$, which is more efficient than standard cut-and-choose protocols.
- Practicality: By relying on generic primitives and being compatible with optimizations, MiniLEGO is positioned to be more practical than prior LEGO constructions.
Limitations and Future Work
The authors acknowledge that a direct comparison of practical performance with existing protocols would require implementation and benchmarking. They suggest that future work should focus on such empirical comparisons. The paper also notes that while the protocol is secure under general assumptions, the initial bootstrapping of OT might still rely on public-key cryptography, though this is limited to a small number of "seed" OTs. The protocol's complexity is analyzed asymptotically, and further research could explore concrete efficiency improvements.
Summary updated