MPC-in-the-Head Framework without Repetition and its Applications to the Lattice-based Cryptography

Weihao Bai, Long Chen, Qianwen Gao, Zhenfeng Zhang

IEEE Symposium on Security and Privacy 2024 · Day 1 · Continental Ballroom 6

Overview

The talk "MPC-in-the-Head Framework without Repetition and its Applications to the Lattice-based Cryptography" by Chal from The Institute of Software at the Chinese Academy of Sciences, along with co-authors Weihao Bai, Long Chen, Qianwen Gao, and Zhenfeng Zhang, introduces a groundbreaking advancement in Zero-Knowledge Proof (ZKP) systems. The research addresses a fundamental efficiency bottleneck in the widely used MPC-in-the-Head (MPCitH) paradigm, which has historically relied on extensive repetition to achieve sufficient soundness, leading to significant overhead in proof size and computation time.

Watch on YouTube

Visual summary for MPC-in-the-Head Framework without Repetition and its Applications to the Lattice-based Cryptography by Weihao Bai, Long Chen, Qianwen Gao, Zhenfeng Zhang
Visual summary for MPC-in-the-Head Framework without Repetition and its Applications to the Lattice-based Cryptography by Weihao Bai, Long Chen, Qianwen Gao, Zhenfeng Zhang

Key moments

  1. 0:00 Introduction to Zero-Knowledge Proofs (ZKP) fundamentals
  2. 2:00 Explanation of the MPC-in-the-Head paradigm
  3. 5:30 Challenges with existing MPC-in-the-Head efficiency
  4. 6:00 Introducing the new repetition-free MPC-in-the-Head framework
  5. 6:40 Application to Post-Quantum KEMs like Kyber
  6. 8:15 Using Shamir Secret Sharing for reduced soundness error
  7. 10:00 New method for efficient MPC correctness checking

MPC-in-the-Head Framework without Repetition and its Applications to the Lattice-based Cryptography

Speakers: Weihao Bai; Long Chen; Qianwen Gao; Zhenfeng Zhang

Conference: IEEE S&P

YouTube: https://www.youtube.com/watch?v=9OB0p_jjZ1c

Overview

The talk "MPC-in-the-Head Framework without Repetition and its Applications to the Lattice-based Cryptography" by Chal from The Institute of Software at the Chinese Academy of Sciences, along with co-authors Weihao Bai, Long Chen, Qianwen Gao, and Zhenfeng Zhang, introduces a groundbreaking advancement in Zero-Knowledge Proof (ZKP) systems. The research addresses a fundamental efficiency bottleneck in the widely used MPC-in-the-Head (MPCitH) paradigm, which has historically relied on extensive repetition to achieve sufficient soundness, leading to significant overhead in proof size and computation time.

This work, dubbed "D²" (Diet), fundamentally re-engineers the MPCitH framework to eliminate this repetition while maintaining robust security guarantees. By achieving a reduction in complexity from a security parameter-dependent factor (O(Lambda)) to a constant (O(1)), the proposed framework significantly enhances the practicality of ZKPs. The implications are particularly profound for post-quantum cryptography, where efficient ZKP constructions are crucial for integrating new, lattice-based cryptographic primitives—such as Key Encapsulation Mechanisms (KEMs) like Kyber and Frodo—into existing infrastructure like Public Key Infrastructure (PKI) and Transport Layer Security (TLS). The ability to prove knowledge of a secret key for these complex schemes with high efficiency opens new avenues for secure, post-quantum authentication and communication.

Background

▶ Watch: Introduction to Zero-Knowledge Proofs (ZKP) fundamentals (0:00)

Zero-Knowledge Proofs (ZKPs) are cryptographic protocols that enable a prover to convince a verifier that they possess a secret (witness) satisfying a given statement, without revealing any information about that secret. This remarkable property makes ZKPs invaluable in applications ranging from network authentication and cryptocurrency to blockchain systems and privacy-preserving technologies like anonymous credentials. A ZKP protocol must satisfy three core properties: completeness, meaning an honest prover can always generate a valid proof that passes verification; soundness, ensuring that an adversary without the secret cannot forge a valid proof; and zero-knowledge, which guarantees the verifier learns nothing beyond the validity of the statement. For many ZKPs, the underlying relation is characterized by an arithmetic circuit, where the statement and witness are inputs, and the circuit outputs '1' if the relation holds.

A particularly powerful variant is the Non-Interactive Zero-Knowledge Proof (NIZKP), where the proof can be generated once and verified by anyone, publicly, without further interaction. This makes NIZKPs highly suitable for practical cryptographic protocols. The MPC-in-the-Head (MPCitH) paradigm, introduced by Ikos in 2007, is an innovative approach to constructing ZKPs, especially NIZKPs. It works by having the prover locally simulate a secure multi-party computation (MPC) protocol for the circuit representing the relation. The prover pretends to be multiple participants in this MPC, generating "transcripts" for each. These transcripts are then committed, and the verifier, often using a random oracle (to achieve non-interactivity), selects a subset of participants and asks the prover to open their transcripts. The verifier then checks the consistency of these opened transcripts.

The correctness of the ZKP in MPCitH relies on the correctness of the underlying MPC protocol, while the zero-knowledge property is derived from the MPC's privacy guarantees (e.g., an adversary compromising a limited number of parties cannot learn secrets of others). However, the original MPCitH framework faces a significant challenge: to achieve negligible soundness error, the entire MPC evaluation must be repeated multiple times, typically proportional to a security parameter, Lambda (λ). This repetition leads to a proof size and proof generation time that are also proportional to λ, making it less efficient for larger circuits or high-security requirements. While MPCitH offers advantages like post-quantum security (as it often relies only on hash functions) and efficiency for proving small circuits, this O(λ) overhead has been a persistent barrier to its widespread adoption in highly performance-sensitive applications. The problem thus existed: how to improve the efficiency of MPCitH by removing this repetition without compromising soundness.

Furthermore, a critical problem arises in the context of post-quantum key encapsulation mechanisms (KEMs), such as Kyber and Frodo, which are candidates for standardizing quantum-resistant cryptography. In existing internet infrastructure, particularly Public Key Infrastructure (PKI) systems, certificate holders must prove knowledge of their secret key corresponding to the public key embedded in their certificate. This is known as a Proof of Knowledge of Secret Key (KOSK). For traditional cryptographic schemes like RSA or ECC, well-established KOSK protocols exist (e.g., using digital signatures). However, for lattice-based KEMs, there has been a significant mismatch in parameters and a lack of efficient KOSK schemes. Standard signature schemes, even lattice-based ones, often cannot be directly used as KOSK for KEMs. This gap impedes the seamless integration of post-quantum KEMs into current PKI and TLS protocols, highlighting the urgent need for efficient ZKP constructions tailored to these new primitives.

Key Findings

▶ Watch: Challenges with existing MPC-in-the-Head efficiency (5:30)

The central contribution of this research is the design of a novel and more efficient universal non-interactive Zero-Knowledge Proof protocol, referred to as D² (Diet). This framework directly addresses the primary limitation of the traditional MPC-in-the-Head paradigm by entirely removing the need for repetition in the underlying MPC evaluation. This innovation leads to a dramatic reduction in both computation cost and proof size, shifting the complexity from being proportional to the security parameter Lambda (O(λ)) to a constant factor (O(1)).

Specifically, the key findings include:

  1. Repetition Elimination: The D² framework fundamentally re-architects the MPCitH protocol to achieve negligible soundness error without requiring multiple repetitions of the MPC evaluation. This is a critical breakthrough, as it directly tackles the O(λ) overhead that has historically plagued MPCitH constructions.
  2. Order of Magnitude Efficiency Improvement: By removing repetition, the framework achieves an asymptotic improvement in efficiency. The computation cost and proof size are reduced from O(λ) to O(1), making ZKPs significantly more practical for a wider range of applications, especially those with stringent performance requirements.
  3. Application to Lattice-based Cryptography: The research demonstrates the practical applicability of D² to constructing efficient Proof of Knowledge of Secret Key (KOSK) protocols for lattice-based post-quantum Key Encapsulation Mechanisms (KEMs), such as Kyber and Frodo. This addresses a critical unmet need for integrating post-quantum cryptography into existing systems.
  4. Tangible Performance Gains: For a concrete example, the D² framework enables a KOSK for a lattice-based KEM like Kyber to be generated in just 0.68 seconds. This specific performance metric underscores the practical viability and efficiency gains achieved by the new framework, making it feasible for real-world deployment scenarios like post-quantum certificate management.

These findings collectively represent a significant step forward in the field of ZKPs, particularly in making them more efficient and applicable to the challenges posed by the transition to post-quantum cryptography.

Technical Deep Dive

▶ Watch: Introducing the new repetition-free MPC-in-the-Head framework (6:00)

The D² framework achieves its remarkable efficiency gains through several sophisticated technical innovations, primarily by replacing fundamental components of the standard MPCitH setup and introducing novel verification techniques.

At the core of the improvement is the transition from additive secret sharing to Shamir secret sharing. In traditional MPCitH, additive sharing is simple but provides limited mechanisms for detecting malicious behavior without repetition. With Shamir secret sharing, a secret is encoded as a polynomial, and shares are points on this polynomial. This allows for a more robust method of checking consistency. If a malicious adversary attempts to modify the result of the MPC protocol, they must tamper with a certain number of shares, specifically D shares, to alter the underlying polynomial. By carefully managing the parameters of the Shamir scheme—where T is the threshold of shares needed to reconstruct the secret, D is the degree of the polynomial, and N is the total number of participants—the soundness error can be drastically reduced. For instance, by setting T = 100, D = T + 1, and N = 2 * T, the soundness error can be made negligibly small. This is a significant improvement over the 1/N error probability associated with additive sharing, effectively allowing the prover to check if broadcast shares lie on the same polynomial.

Further enhancing efficiency, the D² framework employs packed secret sharing. Instead of sharing a single secret per polynomial, packed secret sharing allows for the embedding of multiple secrets within a single polynomial. This technique dramatically reduces the number of polynomials that need to be generated and managed, directly translating into a reduction in computation cost and proof size from O(λ) to O(1). By consolidating multiple secrets into one shared polynomial, the overhead associated with the security parameter λ is effectively amortized across many secrets, leading to a constant-factor cost per secret.

A crucial aspect of any MPC protocol is the verification of arithmetic operations, particularly multiplication gates. The D² framework introduces a new approach to check the correctness of MPC evaluation results that eliminates the need for pre-processing steps involving Beaver triples. In many MPC protocols, Beaver triples (pre-computed sets of random numbers a, b, c such that a*b=c) are used to efficiently perform multiplications without revealing the inputs. The D² method bypasses this requirement. Instead, for a multiplication of X and Y resulting in Z, the prover presents additional random shares that form a degree D polynomial Z. The prover then demonstrates that X Y = Z (the transcript states x y - D = Z and that Z is indeed the multiplication, implying D would be zero in an ideal case, or it's a specific check). This approach allows the verification of multiplication gates to be performed more efficiently, as it removes the overhead of generating and managing Beaver triples in a pre-processing phase.

To achieve universal proof capability and efficiently verify any circuit, the D² framework places a strong emphasis on developing highly efficient techniques for verifying linear transformation gates, especially in the context of packed secret sharing. Once these techniques are established, the approach supports vector-based computations, enabling the efficient handling of a wide range of operations including vector addition, vector multiplication, and permutation with L-dimensional vectors. This generalization is critical for proving complex circuits that involve large data structures or parallel computations.

The asymptotic complexity improvements achieved by D² are substantial:

  • For multiplication gates, both proof size and computation cost are reduced from O(λL) to O(1) (where L might represent vector dimension, though the transcript specifies O(λ) to O(1) for the overall framework).
  • For addition gates, the computation cost is similarly reduced from O(λ) to O(1).
  • For linear transformation gates, the space and communication complexity are both reduced to O(L) (or O(1) in the general framework context, the transcript states just "O").

These improvements collectively demonstrate a significant leap in the efficiency of MPCitH-based ZKPs, making them practical for real-world, high-performance applications, especially those demanding post-quantum security.

Demo / Proof of Concept

▶ Watch: Using Shamir Secret Sharing for reduced soundness error (8:15)

While the talk did not feature a live, interactive demo in the traditional sense, the practical applicability and efficiency of the D² framework were concretely demonstrated through its successful implementation for Proof of Knowledge of Secret Key (KOSK) protocols for lattice-based Key Encapsulation Mechanisms (KEMs). Specifically, the researchers highlighted the performance for a KOSK related to Kyber, a leading candidate for post-quantum cryptographic standardization.

The most compelling proof of concept presented was the ability to generate a KOSK for Kyber in an remarkably fast 0.68 seconds. This figure is not merely an theoretical estimate but a measured performance metric, showcasing the tangible benefits of the D² framework's optimizations. This level of efficiency is critical because the existing internet infrastructure, particularly Public Key Infrastructure (PKI) systems, requires certificate holders to prove knowledge of their secret key when applying for or renewing certificates. For traditional cryptographic schemes like RSA or ECC, this process is well-established. However, for the more complex mathematical structures of lattice-based KEMs, efficient KOSK protocols have been largely unavailable.

The achievement of a sub-second KOSK generation time for Kyber directly addresses this gap. It implies that organizations can now practically integrate post-quantum KEMs into their PKI systems, enabling the issuance and management of quantum-resistant certificates without incurring prohibitive computational overhead. This performance benchmark serves as a strong indicator of the framework's readiness for real-world deployment and its potential to accelerate the transition to post-quantum security across various applications.

Defensive Implications

▶ Watch: New method for efficient MPC correctness checking (10:00)

The advancements presented by the D² framework carry significant defensive implications, particularly in the ongoing transition to post-quantum cryptography and the hardening of existing security infrastructure against future quantum threats.

  1. Enabling Post-Quantum PKI: The most direct defensive implication is the facilitation of Proof of Knowledge of Secret Key (KOSK) for lattice-based Key Encapsulation Mechanisms (KEMs) like Kyber and Frodo. Current PKI systems, which rely on classical cryptography, lack efficient mechanisms for proving knowledge of secret keys for these new, quantum-resistant primitives. The D² framework provides this missing piece, allowing certificate authorities (CAs) to verify a certificate applicant's control over their post-quantum secret key with high efficiency (e.g., 0.68 seconds for Kyber). This is crucial for securely issuing and managing post-quantum certificates, which are foundational for a quantum-resistant internet.
  1. Securing TLS with Post-Quantum Ciphersuites: The research directly supports the development of protocols like CTS (Post-Quantum TLS), which aims to integrate post-quantum KEMs into the Transport Layer Security (TLS) handshake. By providing efficient KOSK, the D² framework helps secure the server-side authentication in CTS, ensuring that the server genuinely possesses the secret key corresponding to its post-quantum public key. This contributes to lower authentication costs and reduced communication traffic compared to alternative post-quantum authentication methods, making quantum-resistant TLS more practical and performant.
  1. Broadening ZKP Applications in Security: The general efficiency improvements of the MPCitH framework (reducing complexity from O(λ) to O(1)) make Zero-Knowledge Proofs more viable for a wider array of security applications. Defenders can leverage these more efficient ZKPs for:
  • Anonymous Credentials: Enabling users to prove attributes without revealing their identity.
  • Private Set Intersection: Securely comparing datasets without revealing individual elements.
  • Network Authentication: More robust and privacy-preserving authentication mechanisms.
  • Blockchain and Cryptocurrency: Enhancing privacy and scalability of decentralized systems.
  1. Foundation for Future Post-Quantum Protocols: By providing a highly efficient and post-quantum secure ZKP construction, D² lays a robust foundation for building other advanced cryptographic protocols that require proofs of knowledge or secure computation in a post-quantum era. This accelerates the research and development of a new generation of security tools that are resistant to quantum attacks.

In essence, the D² framework offers practical tools to bridge the gap between emerging post-quantum cryptographic primitives and existing security infrastructure, enabling defenders to proactively strengthen systems against the threat of quantum computers without sacrificing performance or usability.

Key Takeaways

  • The D² (Diet) framework introduces a novel MPC-in-the-Head approach that eliminates the need for repetition, a long-standing efficiency bottleneck in ZKP constructions.
  • This innovation dramatically reduces the computation cost and proof size of Zero-Knowledge Proofs from O(λ) (proportional to the security parameter) to O(1) (a constant factor), making them significantly more efficient.
  • The efficiency gains are achieved through key technical modifications, including the replacement of additive secret sharing with Shamir secret sharing for enhanced soundness and the use of packed secret sharing to embed multiple secrets in a single polynomial.
  • A novel method for verifying MPC correctness, which bypasses the need for pre-computed Beaver triples for multiplication gates, further contributes to the framework's efficiency.
  • The D² framework enables highly efficient Proof of Knowledge of Secret Key (KOSK) protocols for lattice-based Key Encapsulation Mechanisms (KEMs) like Kyber, demonstrating KOSK generation in just 0.68 seconds for Kyber.
  • This work is crucial for integrating post-quantum cryptography into existing infrastructure like Public Key Infrastructure (PKI) and Transport Layer Security (TLS), facilitating the secure and practical deployment of quantum-resistant solutions.

About the Speaker(s)

The primary speaker for this presentation was Chal, representing The Institute of Software at the Chinese Academy of Sciences. The research is a collaborative effort, with co-authors Weihao Bai, Long Chen, Qianwen Gao, and Zhenfeng Zhang also contributing to the work. Beyond their affiliations, specific titles or detailed biographies for the speakers were not provided within the transcript or metadata.

Reviews

Dr. Zero (Offensive Security Researcher) — MUST SEE

This research presents the D² framework, a groundbreaking advancement in MPC-in-the-Head ZKPs that eliminates the O(λ) repetition bottleneck. By leveraging Shamir and packed secret sharing, it achieves a dramatic O(1) efficiency, making ZKPs practical for critical applications like post-quantum PKI. The sub-second KOSK for Kyber is a game-changer for PQC adoption.

Heather Calloway (CISO) — STRONG ACCEPT

This research presents a critical advancement in Zero-Knowledge Proofs, eliminating a fundamental efficiency bottleneck in the MPC-in-the-Head framework. By reducing complexity from O(λ) to O(1), it enables practical, sub-second Proof of Knowledge of Secret Key for lattice-based KEMs like Kyber. This directly facilitates the secure integration of post-quantum cryptography into enterprise PKI and TLS, addressing a significant future risk.

→ Top-rated talks at IEEE Symposium on Security and Privacy 2024

All talks from IEEE Symposium on Security and Privacy 2024