Stateless Deterministic Multi-Party EdDSA Signatures with Low Communication

Qi Feng, Kang Yang, Kaiyi Zhang, Xiao Wang, Yu Yu, Xiang Xie, Debiao He

This paper presents a significant leap forward in threshold cryptography, specifically for the Edwards-curve Digital Signature Algorithm (EdDSA). By combining modern primitives like Pseudorandom Correlation Functions (PCF) with a novel zero-knowledge framework, the authors achieve a massive reduction in communication overhead, making secure, multi-party blockchain wallets more practical than ever.

TL;DR

The authors propose a new multi-party EdDSA protocol that is both stateless and deterministic, reducing communication costs by a staggering 56x compared to the previous state-of-the-art. It achieves this in the "full-threshold" setting, meaning it remains secure even if all but one participant are maliciously corrupted.

What Problem Does This Paper Address?

EdDSA is a favorite in the blockchain world (used by Cardano, Zcash, and Hyperledger) because it is deterministic and stateless. Unlike standard ECDSA, which requires a fresh, high-quality random number for every signature, EdDSA derives its "randomness" (the nonce) from the message and the secret key. This prevents catastrophic failures caused by poor random number generators.

However, "thresholdizing" EdDSA—splitting the secret key among multiple parties so they must collaborate to sign—is notoriously difficult. In a multi-party setting, you must ensure that every party uses the exact same deterministic nonce without revealing their secret key shares. If a malicious party manages to use a different nonce, they could potentially perform a "forking attack" to steal the full secret key. Previous solutions to this problem either required massive amounts of data transfer (using garbled circuits) or were limited to "honest majority" settings where you had to trust most of the participants.

Methods

The paper introduces several technical innovations to bridge the gap between security and efficiency:

  1. Multi-Verifier Zero-Knowledge (MVZK): The core of the protocol is a proof system where a prover demonstrates to multiple verifiers that they derived the nonce correctly ($r = PRF_{dk}(msg)$) without leaking the key share $dk$.
  2. Pseudorandom Correlation Functions (PCF): This is the "secret sauce" for achieving statelessness. PCFs allow parties to generate the correlated randomness needed for the proofs locally from short, pre-shared keys. This eliminates the need for complex interaction or state-tracking during the signing phase.
  3. mv-edaBits (Multi-Verifier Extended Doubly-Authenticated Bits): The protocol needs to perform some operations in a "Boolean" domain (for the SHA-512 hash used in nonce derivation) and others in an "Arithmetic" domain (for elliptic curve math). The authors refined the "edaBits" technique to work efficiently across multiple verifiers, allowing for fast conversion between these two mathematical worlds.
  4. Information-Theoretic MACs (IT-MACs): They use these lightweight authentication codes to ensure that malicious parties cannot provide inconsistent data to different verifiers.

Datasets

As a theoretical cryptography paper, it does not use traditional training datasets. Instead, it evaluates performance based on the standard Ed25519 curve and SHA-512 circuit specifications. The authors used circuit estimates (e.g., SHA-512 requiring approximately 58,000 AND gates) to calculate their concrete communication and computation costs.

Key Insights and Ideas

  • Bandwidth vs. CPU Trade-off: The authors realized that in modern networks, bandwidth is often a tighter bottleneck than CPU cycles. They intentionally traded a ~2.25x increase in computational cost for a 56x decrease in communication.
  • Statelessness is King: By using PCFs, the protocol avoids the "state synchronization" problem. Parties don't need to remember what happened in previous signing sessions to remain secure, which is a massive advantage for distributed systems and hardware security modules (HSMs).
  • Efficient "Sacrificing": Rather than using heavy "cut-and-choose" methods to verify bit consistency, they developed a "sacrificing" technique that requires only one correct edaBit per signature, significantly streamlining the process.

Key Results

  • Communication Efficiency: For a 3-party or 5-party setup, the protocol reduces communication by 56x compared to the previous best protocol (Garillot et al., Crypto’21).
  • Concrete Costs: In a 3-party setting, the communication cost is reduced from 10.76 MB down to just 0.19 MB.
  • Round Efficiency: The protocol maintains a lean 3-round structure, which is optimal for minimizing latency in distributed networks.
  • Security: It is proven secure in the Universal Composability (UC) framework against a malicious adversary who can corrupt $n-1$ out of $n$ parties.

Limitations and Future Work

  • Computational Increase: While the communication drop is massive, the 2.25x increase in computation might be a factor for extremely resource-constrained IoT devices.
  • Theoretical Timing: The authors provide estimated runtimes (e.g., ~230ms for a 2-party signature), but they note that a lack of publicly available open-source code for the underlying PCF primitives means these results are currently theoretical.
  • Scaling Rounds: While the protocol is $O(n^2)$ in communication, they suggest a binary tree optimization to reach $O(n)$, though this would increase the number of communication rounds to $O(\log n)$. Implementing and testing this trade-off is a path for future work.

Summary updated

BibTeX
@article{feng2024stateless,
  author = {Qi Feng and Kang Yang and Kaiyi Zhang and Xiao Wang and Yu Yu and Xiang Xie and Debiao He},
  title = {{Stateless Deterministic Multi-Party EdDSA Signatures with Low Communication}},
  journal = {IACR Cryptol. ePrint Arch.},
  year = {2024},
  url = {https://openreview.net/forum?id=664FzPiwO2},
}
Figure