What the Smurf? Silent-setup & unique threshold signatures!
tl;dr: This blog post investigates whether threshold verifiable unpredictable functions (VUFs) can be efficiently instantiated in the silent setup setting, which avoids the need for an interactive, expensive and often complex distributed key generation (DKG) phase. We show that (1) silent setup threshold VUFs are possible from multilinear maps and (2) efficient constructions are as hard to obtain as -party non-interactive key exchange; so very hard. Lastly, we focus on a more general multiverse setting, which captures the threshold setting.
Why do we care about threshold verifiable unpredictable functions (VUFs)? Because the most efficient designs for distributed randomness beacons [^vdf] rely on them! Yet, all practical threshold VUFs require an expensive DKG phase between the beacon nodes (e.g., BLS [^BLS01]). This DKG must be run (1) when the beacon is first deployed and (2) when nodes enter or leave the distributed deployment (e.g., via a DKG-like secret resharing scheme).
Today, several beacon protocols based on threshold VUFs incur this expensive DKG phase (e.g., Aptos Roll [^roll], drand [^drand], Flow [^flow], Sui [^sui]). This makes it intriguing (and potentially-useful) to consider the possibility of a silent setup threshold VUF: a scheme that avoids the need for a DKG!
In this blog post, we show such a scheme exists, if efficient multilinear maps exist! In fact, our proposed scheme is slightly stronger: it is a silent-setup multiverse VUF, or a SMURF, which works in a recently-proposed, more general multiverse setting [^BGJplus23] that implicitly captures the threshold setting too.
Quick idea: BLS with multilinear maps
We modify the BLS [^BLS01] multisignature scheme to be a threshold VUF as follows.
Each player has a secret key and a verification key , generated locally, as usual. Player produces a signature share on message as , as usual.
What is different then? To aggregate a -out-of- threshold VUF, we will plug the signature shares as the first inputs to an -multilinear map and the remaining public keys as the last inputs.
For example, a 2-out-of-3 threshold VUF over a message would be aggregated from BLS signature shares as:
To verify such a threshold VUF, the proof would consist of the actual signature shares and . Verification would involve two steps. First, validate each signature share using the multilinear map (or via a DLEQ -protocol proof):
We fully describe this strawman scheme below and improve it with succinctness later via an argument of knowledge (AoK) of signature shares that satisfy Equation and, when aggregated via Equation , yield the threshold VUF.
Note: We assume symmetric multilinear maps. Generalizing this to asymmetric ones would be interesting. (Naively, porting the construction over does not work due to the apparent necessity of defining multiple hash functions into each one of the asymmetric groups , which would break the uniqueness of the scheme.)
Related work
Recently, there has been increased interest in silent-setup threshold signatures: i.e., threshold signatures that avoid DKGs [^DCXplus23e][^BGJplus23][^GJMplus23e][^Lee23e]. However, silent-setup unique threshold signatures have not received much attention. (Recall that: unique threshold signature = threshold VUFs.)
Part of the reason may be that a silent-setup threshold VUF is actually a strong primitive: it implies -party non-interactive key exchange (NIKE). Specifically, a $1n$ silent-setup threshold VUF an -party NIKE [^guru]. Furthermore, a -out-of- silent-setup threshold VUF = an -party NIKE, because of the SKs can be exposed, which yields a $1(n-t+1)$ silent VUF.
Note: While the strawman silent-setup threshold signature construction from [BGJ+23][^BGJplus23] (see a screenshot here) does satisfy uniqueness, it lacks silent setup: it still requires a DKG-like protocol for exposing evaluations on a degree- polynomial.
Preliminaries
Notation
When we write as an input to an algorithm, it is shorthand for .
Verifiable unpredictable functions (VUFs)
A VUF[^MRV99] is a unique signature scheme. Note that uniqueness is a stronger property than deterministic signing. It means that, an adversary cannot create two different signatures such that they are both accepted as valid signatures on a message under some public key . For example, BLS is a unique signature scheme but Ed25519 is not! While Ed25519 supports deterministic signing, it is not a unique scheme because a verifier will glady accept many different signatures for the same message .
Multilinear maps
Important: As of 2024, practical multilinear map constructions do not exist [^JLS20e][^AFHplus15e]. In other words, the schemes in this blog post are purely-theoretical and serve only to indicate the feasibility of a SMURF.
An -multilinear map has the following properties:
- and are both Abelian groups of prime order
- , we have
- If is a generator of , then is a generator of .
Accumulators
An accumulator scheme is used to compute a short, collision-resistant digest of a set .
. Computes the digest of the set .
An accumulator scheme is collision-resistant if there is no polynomial time adversary that can output two different sets which have the same digest. As an example, simply sorting the set in a canonical order and hashing the result using a collision-resistant hash function yields an accumulator scheme.
Arguments of Knowledge (AoKs)
An AoK for a relation consists of two algorithms:
. Generates a proof that , given a public statement and a witness . The proof is succinct (i.e., much smaller than ), but might still leak information about .
. Verifies the proof that the prover knows a witness such that .
SMURFs definition
To avoid mistakes, we formally define a Silent-setup Multiverse (Verifiable) UnpRedictable Functions, or a SMURF, as a tuple of algorithms (with correctness and security definitions in the appendix):
. Locally generates a player’s key pair: their secret key and corresponding verification key.
Ideally, should be succinct (i.e., its size should be independent of the maximum number of players ).
. Takes the verification keys of players (generated locally via ) and a threshold . Aggregates them into:
- a -out-of- public key which can be used to verify threshold signatures against
- an aggregation key which can be used to aggregate threshold signatures via
The necessity of an aggregation key AK in the definition is artificial. An ideal definition would not require this. However, because our succinct SMURF construction requires the VKs of all players during aggregation, we rely on an AK to pass in this information.
. Computes a signature share over under .
. Verifies the signature share on the message from the player with VK .
. Aggregates the signature shares from a subset of players into a signature that can be verified via .
. Verifies that is a valid signature on under .
. Derives a unique output from the signature .
. Returns the unique output on message given a threshold and the VKs of the players.
Note: We intentionally defined to take the VKs rather than the SKs as input. This allows us to define unpredictability in the silent setup setting, where it will not be possible to extract the SKs under which the adversary’s prediction was made (unlike in the DKG setting), since VKs can be adversarial. Lastly, even though is not a polynomial-time algorithm, this is not a problem since it is only used for the security definition.
Non-succinct SMURF
We construct a non-succinct SMURF from multilinear maps, as intuited above.
Let be the generator for , which admits an -multilinear map 15 , as defined above. We construct a non-succinct SMURF as follows:
:
.
:
:
- Return
:
Just a naive aggregation here. Will fix this in the succinct construction below.
:
- Parse
- Parse
- Assert is a size- subvector of
- , assert
Also a naive verification here, which we fix in the succinct construction below.
.
- Parse
- Parse
- Parse
- Parse
.
- For all , compute such that
- Note: This is not supposed to be efficient.
- Note: appears times as an input to .
Recall that a polynomial time is not necessary, since we only use this algorithm to define security.
Succinct SMURF
From a theoretical standpoint, the construction above is not succinct:
- The public key is -sized
- The aggregated is -sized
- Verifying takes time
- Deriving the VUF output takes time since it involves evaluating the multilinear map.
Fortunately, all of these can be addressed with a succinct argument of knowledge (AoK), often known as a SNARK. (Note that a zkSNARK is not necessary; we do not need zero-knowledge here.)
Specifically, instead of (1) doing all the signature share verification inside and (2) doing all the aggregation work inside , we will give an AoK of having done this work when aggregating in .
We denote the resulting scheme as . It has the same , , and algorithms as , except for:
.
We make the PK succinct by converting it to an accumulator over the VKs. The aggregation key (AK) still needs to maintain all the individual VKs. It is an interesting open question whether the AK can be made succinct (and thus eliminated).
:
- Parse
- Parse
- Parse
The new proves knowledge of valid signature shares, against the VKs accumulated in the PK, such that these shares aggregate into a unique output . More formally, the proof argues knowledge of ’s and ’s such that . We describe the relation in detail below.
:
- Parse
- Parse
- Assert
.
- Parse
- Return
That’s it! This (theoretical) construction now achieves succinctness.
We assume the scheme is succinct and lacks a trusted setup. However, this scheme should still be interesting even if the scheme requires a trusted setup. After all, the trusted setup would only need to be redone to support a higher and would be reusable for any number of players .
The relation
iff.:
- and
- .
- Let
- Let
Conclusion & future work
If symmetric multilinear maps exist, then there exist SMURFs! Unfortunately, if efficient SMURFs exist (or even their weaker, threshold variant), then efficient -party non-interactive key exchange (NIKE) exists [^guru]. (This explains why our two SMURF constructions are very similar to an -party NIKE based on multilinear maps [^BS02e].)
Future work:
- Proving our SMURF constructions secure.
- A SMURF with -sized aggregation keys.
Acknowledgements: Thanks to Valeria Nikolaenko, Joe Bonneau, Rex Fernando, Benny Pinkas, Dan Boneh and Trisha Datta for reading, providing feedback and brainstorming together!
Big thanks to Guru Vamsi Policharla for pointing out that -out-of- silent setup VUFs also imply -NIKE.
Appendix: Formalizing SMURFs
Correctness definitions
Correctness: number of players , thresholds , where and , for any subset , where , messages , , we have:
Note: This implies that, for a correctly-generated -out-of- threshold PK from VKs, if a signature pases verification via , then calling on it would yield the same result as calling on the same message, the same VKs and the same threshold .
Uniqueness: For all polynomial time adversaries , for any number of players , for any threshold , we have:
Uniqueness says that an adversary is not able to produce two signatures for the same message that both verify against a threshold PK yet derive different outputs. This particular definition is rather strong, since it allows the adversary to produce the PK adversarially.
Oracle
In order to define security of a SMURF, we will need to define an oracle that the adversary can query as he attempts to break the scheme. The oracle will allow the adversary to:
- Create new players
- Corrupt players
- Request signature shares from uncorrupted players
This helps formally model the power of the adversary in the multiverse setting in which the SMURF is supposed to remain secure.
How does the oracle work? First, the oracle maintains some state:
- the total number of players so far , initially zero
- the list of players and their key pairs, initially empty
- the set of honest players, initially empty
- the set of malicious players, initially empty
- for any message , the set of players who have been queried for a signature share on by the adversary; initially,
Then, the oracle handles the following requests from the adversary :
:
- and
- return
This generates a new player numbered , adds it to the list and marks it as honest in .
:
- if , then:
- return
- else:
- return
This checks if player actually exists and, if so, corrupts it by revealing their SK. The player is marked as malicious by adding it to and removing it from .
:
- if and , then:
- return
- else:
- return
This returns a signature share from player , assuming is honest. The oracle tracks the set of signature queries by adding to .
Security definitions
Now that we’ve defined the oracle, we can meaningfully define security as follows.
Unforgeability: For all polynomial time adversaries with oracle access to :
Unpredictability: For all polynomial time adversaries with oracle access to :
Unpredictability must be defined to prevent trivial instantiations. Otherwise, for example, the signature could be any non-unique multiverse signature (e.g., BLS multisignatures with proofs-of-possession) while could always uniquely set the VUF output to . Such a trivial scheme is excluded by our unpredictability definition.
[^vdf]: Although verifiable delay functions (VDFs) also give rise to efficient distributed randomness beacons, we do not of VDF-based beacons that are responsive: i.e., they produce beacon values as fast as the network speed. [^BLS01]: Short Signatures from the Weil Pairing, by Boneh, Dan and Lynn, Ben and Shacham, Hovav, in Advances in Cryptology — ASIACRYPT 2001, 2001 [^roll]: Roll with Move: Secure, instant randomness on Aptos, by Alin Tomescu and Zhuolun Xiang, 2024, URL [^drand]: https://drand.love/ [^flow]: Flow’s DKG [^sui]: Sui DKG [^BGJplus23]: Threshold Signatures in the Multiverse, by L. Baird and S. Garg and A. Jain and P. Mukherjee and R. Sinha and M. Wang and Y. Zhang, in 2023 IEEE Symposium on Security and Privacy (SP), 2023, [URL] [^DCXplus23e]: Threshold Signatures from Inner Product Argument: Succinct, Weighted, and Multi-threshold, by Sourav Das and Philippe Camacho and Zhuolun Xiang and Javier Nieto and Benedikt Bunz and Ling Ren, in Cryptology ePrint Archive, Paper 2023/598, 2023, [URL] [^GJMplus23e]: hinTS: Threshold Signatures with Silent Setup, by Sanjam Garg and Abhishek Jain and Pratyay Mukherjee and Rohit Sinha and Mingyuan Wang and Yinuo Zhang, in Cryptology ePrint Archive, Paper 2023/567, 2023, [URL] [^Lee23e]: Decentralized Threshold Signatures for Blockchains with Non-Interactive and Transparent Setup, by Kwangsu Lee, in Cryptology ePrint Archive, Paper 2023/1206, 2023, [URL] [^guru]: Big thanks to Guru Vamsi Policharla for this observation during the 3rand workshop! [^MRV99]: Verifiable random functions, by S. Micali and M. Rabin and S. Vadhan, in 40th Annual Symposium on Foundations of Computer Science (Cat. No.99CB37039), 1999 [^JLS20e]: Indistinguishability Obfuscation from Well-Founded Assumptions, by Aayush Jain and Huijia Lin and Amit Sahai, in Cryptology ePrint Archive, Paper 2020/1003, 2020, [URL] [^AFHplus15e]: Multilinear Maps from Obfuscation, by Martin R. Albrecht and Pooya Farshim and Shuai Han and Dennis Hofheinz and Enrique Larraia and Kenneth G. Paterson, in Cryptology ePrint Archive, Paper 2015/780, 2015, [URL] 15.
A multilinear map of size inputs would also work by forcing the last inputs to be some predetermined values from a common-reference string.[^BS02e]: Applications of Multilinear Forms to Cryptography, by Dan Boneh and Alice Silverberg, in Cryptology ePrint Archive, Paper 2002/080, 2002, [URL]