TL;DR
This paper introduces a breakthrough framework for maliciously secure two-party computation (2PC) that replaces the inefficient "cut-and-choose" method with a single "authenticated" garbled circuit. By leveraging highly optimized preprocessing and information-theoretic MACs, the authors achieve speeds up to 6x faster than previous state-of-the-art protocols, making malicious security nearly as efficient as semi-honest security.
What Problem Does This Paper Address?
In secure two-party computation (2PC), two parties want to compute a function on their private inputs without revealing anything else. Most efficient protocols are "semi-honest," assuming parties follow the rules but try to learn extra info. However, in the real world, we need "malicious" security, where a party might actively cheat by sending corrupted data.
The standard way to handle malicious actors is the "cut-and-choose" technique: the generator sends dozens of garbled circuits, the evaluator checks some for correctness, and they evaluate the rest. This creates a massive communication bottleneck. This paper aims to eliminate that overhead by creating a protocol that requires only a single garbled circuit while still guaranteeing security against malicious behavior.
Methods
The authors propose a framework based on Authenticated Garbling. The core idea is to ensure the circuit generator cannot "lie" about the logic of the circuit they provide.
- Information-Theoretic MACs (IT-MACs): They use a specific type of message authentication code where each bit on every wire of the circuit is authenticated. If the generator tries to flip a bit or corrupt a gate, the evaluator will detect it with overwhelming probability.
- Optimized TinyOT Preprocessing: To set up these MACs, the parties run a preprocessing phase. The authors designed a highly optimized version of the "TinyOT" protocol. They introduced "leaky" AND triples (correlated randomness) and a "bucketing" procedure to distill them into high-quality, secure triples.
- Two-Phase Preprocessing:
- Function-Independent: Can be done before the parties even know what function they want to compute.
- Function-Dependent: Done once the function is known, but before inputs are provided.
- Single Authenticated Garbled Circuit: Because the preprocessing ensures the components are correct, the generator only needs to send one circuit during the online phase.
Datasets
The authors evaluated their protocol using several standard cryptographic benchmarks and some newly introduced large-scale circuits:
- Standard Benchmarks: AES-128 (6,800 gates), SHA-1 (37,300 gates), and SHA-256 (90,825 gates).
- Large-Scale Benchmarks:
- Hamming Distance: Comparing two 1-million-bit strings.
- Integer Multiplication: Multiplying two 2048-bit numbers.
- Sorting: Sorting 4,096 32-bit integers.
These larger benchmarks were used to demonstrate the scalability of the protocol beyond simple block ciphers.
Key Insights and Ideas
- The "One Circuit" Paradigm: The most significant "aha" moment is proving that you don't need the redundancy of cut-and-choose if you can authenticate the underlying gates during preprocessing. This shifts the complexity from the communication-heavy online phase to a more efficient offline phase.
- Efficiency of Malice: The paper demonstrates that the "malicious tax"—the extra time it takes to be secure against cheaters—is much lower than the community previously believed.
- Distributed Garbling: Instead of one party building a circuit in a vacuum, the parties effectively build it together through the FPre (preprocessing) functionality, ensuring neither can unilaterally corrupt the logic.
Key Results
The protocol was tested on Amazon EC2 c4.8xlarge instances over both LAN and WAN.
- AES Evaluation (Single Execution): Total time of 16.6 ms (LAN) with an online time of just 0.93 ms. This is a roughly 2.7x improvement in total time and a 10x improvement in online time compared to previous best-in-class methods.
- Amortized Setting: When running 1,024 AES executions, the cost drops to 6.66 ms per execution.
- Scalability: The protocol successfully sorted 4,096 numbers in under 14 seconds, a task that would have been prohibitively slow with older malicious 2PC techniques.
- Communication: Their total communication for AES is 3x to 5x less than the previous state-of-the-art (LEGO-style protocols).
Limitations and Future Work
- Preprocessing Requirement: While the online phase is lightning-fast, the protocol still requires a preprocessing phase. While the authors made this very efficient, it remains a prerequisite.
- Random Oracle Model: The security proof relies on the "Random Oracle Model," a common but theoretical assumption in cryptography that hash functions behave like truly random functions.
- Storage: For extremely large circuits, the "storage" of authenticated bits from the preprocessing phase could become a factor, though the authors note their storage requirements are asymptotically better than previous LEGO-style approaches.
The authors suggest that their "authenticated garbling" technique could be extended to the multi-party (more than two) setting, which they explored in subsequent work.
Summary updated