Eurocrypt 2024: Fast Batched Asynchronous Distributed Key Generation

The goal of this blog post is to provide a quick overview of the new results presented in the research paper:

which was presented at Eurocrypt 2024, at Zurich.

Verifiable Secret Sharing and Distributed Key Generation:

Due to a wide range of practical applications, such as safeguarding cryptocurrency wallets and enabling robust and distributed cryptographic actions, threshold cryptography has recently gained considerable attention. At its core, threshold cryptography ensures that cryptographic operations, such as digital signing and decrypting a ciphertext, can be performed only when a specified threshold of participants collaborates, thereby preventing malicious entities up to a certain limit from compromising the protocol. Central to the functionality of threshold cryptography are Verifiable Secret Sharing (VSS) schemes and Distributed Key Generation (DKG) protocols. VSS schemes allow a (potentially corrupted) dealer to share a secret \(sk\) among \(n\) parties \(P_1, …, P_n\) such that up to \(t<n\) of them learn no information about the secret key \(sk\) or the shares of honest parties, while any \(t+1\) of the shareholders can reconstruct the main secret. See the following figure for a graphical representation of a VSS scheme.

Verifiable Secret Sharing

One of the primary applications of VSS schemes is DKG protocols, which allow a set of \(n\) parties \(P_1, …, P_n\)​ to jointly generate a public key \(PK\) and learn a share of the underlying secret key \(sk\). Later, as in a VSS scheme, if there is a need to reconstruct or use the secret key \(sk\), any subset of \(t+1\) shareholders can use their individual shares to reconstruct the main secret key \(sk\), or jointly perform a cryptographic operation, such as signing and decryption, using the main secret key \(sk\).

DKG Protocols for Discrete Logarithm and Threshold Signatures based on Schnorr:

Particularly, in a DKG protocol for DL, the goal for parties \(P_1, … ,P_n\) is to generate a public key \(PK= g^{sk}\) in a fully distributed manner, where \(g\) represents a fixed generator of a cyclic group \(G\). A wide range of cryptographic primitives, like Schnorr signatures or ElGamal encryption, use a DL instance, e.g., \( (sk,PK=g^{sk}) \) as their pair of secret and public keys. Therefore, a DKG for DL can be used to sample the keys of various DL-based primitives. Furthermore, a DKG for DL can be used inside the distributed protocols which require computing a DL instance. A known example for the latter is ephemeral key generation, which is required in the first round of Schnorr signature, where the signers need to compute \(R=g^r\) as a commitment in a fully distributed manner. One of the primary DKG protocols for DL is proposed by Pedersen in [Ped91]. In [GJKR07], Gennaro, Jarecki, Krawczyk, and Rabin (GJKR) demonstrated that in the original version of Pedersen’s robust DKG protocol, an adversary could bias the distribution of the final generated public key \(PK\). Subsequently, they proposed a new variant of Pedersen DKG, which is secure against such rushing adversaries aiming to influence the distribution of the final public key \(PK\). On the positive side, they also showed that Pedersen DKG with biased keys still can be used in applications like Schnorr-based threshold signatures, where the security of the protocol relies on the hardness of the DL problem. It is worth mentioning that in robust DKG protocols, the robustness ensures the correctness of output for honest parties, even in the presence of a specific number of malicious parties. In ASIACRYPT 2023, Atapoor, Baghery, Cozzo, and Pedersen (ABCP) [ABCP23, Sec. 4.1] proposed a new and more efficient variant of Pedersen’s robust DKG protocol, which, by a factor of \(n\), reduces the computational cost. Their protocol is the first DKG protocol that does not need polynomial commitments and uses a practical hash-based VSS scheme proposed in the same paper. They also proposed a new and more efficient version of the GJKR robust threshold signature, which is based on Schnorr’s signature. Similar to the DKG protocol, their proposed threshold robust signature scheme substantially (i.e., by a factor of \(n\)) reduces the computational cost for the parties compared to the GJKR threshold signature. See the following figure for a graphical representation of a DKG protocol for DL.

DKG Protocols for a DL instance.

Fast Batched Asynchronous DKG Protocol and Threshold Signature:

All the robust DKG protocols and threshold signatures proposed by Pedersen, GJKR, and ABCP can achieve optimal resilience (in the honest majority setting), but they are constructed in the synchronous communication mode. Particularly, the VSS, DKG, and threshold signatures proposed by ABCP are based on hash functions, making them considerably more efficient compared to alternatives proposed by Pedersen and GJKR.

In this paper, the authors present protocols for robust threshold signing based on the Schnorr signature scheme that function in the asynchronous communication setting. Similar to the constructions mentioned in the synchronous setting by Pedersen, GJKR, and ABCP, these protocols achieve optimal resilience. It is worth noting that in the asynchronous communication setting, at least \(2/3\) of the parties need to be honest. Therefore, the protocols proposed in this paper require at least \(2/3\) of the parties to be honest. On the positive side, similar to the VSS, DKG, and threshold signatures proposed by ABCP, the threshold signing protocol proposed in this paper uses lightweight cryptography, namely hashing and polynomial evaluations, making it considerably more efficient in practice compared to alternatives that use relatively heavy cryptography (i.e., public key cryptography).

Different from Schnorr-based robust threshold signature schemes built in the synchronous setting, by GJKR, and ABCP, the protocol proposed in this paper is designed in the offline/online paradigm. In this paradigm, message-independent and high-latency precomputations are done in the offline phase, and low-latency and message-dependent computations are performed in the online phase. The proposed protocol for threshold signing has linear communication complexity per signature in both offline and online phases. In the best-case scenario, in terms of computational complexity, over a group of order \(q\approx 2^\lambda\), where \(\lambda\) is the bit length of the group order, and with a signing committee of size \(n\), the running time per signature of each party in the signing committee in the offline phase is dominated by the cost of performing \(O(n+\lambda/n) \) group additions (in case of using an additive group), and in the online phase is dominated by the cost of \(O(n)\) arithmetic operations mod \(q\). The latter asymptotic cost shows that in practice for a moderately sized \(n\), the running time per party decreases as \(n\) increases.

The key building block behind the proposed batchable threshold signature scheme is a hash-based and batchable Asynchronous Verifiable Secret Sharing (AVSS) scheme recently proposed by Shoup and Smart [SS23]. The Shoup-Smart AVSS [SS23] scheme can be considered as an alternative to the ABCP VSS scheme that supports batching secret sharing and functions in the asynchronous communication setting. In this paper, the authors use Shoup and Smart’s (batchable) AVSS scheme and propose a new (batchable) variant of it, called Group-oriented AVSS (GoAVSS). The new GoAVSS scheme allows a dealer to share a polynomial \(f(X)\) and also publish the public key \(g^{f(0)}\). Therefore, in this case, in addition to their shares \(f_i=f(i)\) which parties receive in an (A)VSS scheme, the parties also get a public key \(g^{f(0)}\). It is worth mentioning that this is very similar to the Non-Interactive Threshold Zero-Knowledge (NI-TZK) proof for discrete logarithm recently proposed by ABCP at ASIACRYPT 2023 [ABCP23], which allows a dealer to publish \(g^{f(0)}\) and prove that each party receives a share of \(f(0)\), all of which are generated using a unique degree-\(t\) polynomial. The mentioned NI-TZK proof scheme is shown to be a prominent tool for constructing a DKG protocol for DL and a threshold signature scheme (based on Schnorr). In this paper, the authors use a batched version of the GoAVSS scheme, which operates based on a statistical test, and due to its use of batching, it becomes more efficient in particular cases as \(n\) increases. In the batched case, the authors also propose a new technique to extract the batched randomnesses, which is based on super invertible matrix and, in particular cases, can be more efficient than other alternatives (like FFT).

To evaluate the empirical performance of the proposed threshold signature scheme, the authors made an estimation based on some micro-benchmarks. They estimate that for \((n,t)=(49,16)\), on a MacBook Pro, using a single thread, their protocol can achieve \(100k\) signatures per second, assuming a 1Gb/s network bandwidth. See the following photo for details about the example being considered.

Karim Baghery
Zurich, May 2024.