Post · 15 min read· pp. 52–61

Threshold BLS: How to do it right

tl;dr: Most people implement threshold BLS naively, using a O(t2)O(t^2) algorithm to compute Lagrange coefficients. We show how to use a faster O(tlog⁡2t)O(t\log^2{t})-time algorithm for this. This makes aggregating (t,n)(t,n) BLS threshold signatures much faster, both at small and large scales.

The question of scaling threshold signatures came to us at VMware Research, in 2017, after we finished working on SBFT [^GAGplus19], a scalable Byzantine Fault Tolerance (BFT) protocol that uses BLS threshold signatures [^BLS04].

We recently published our work [^TCZplus20] in IEEE S&P’20. Our work also address how to scale the necessary distributed key generation (DKG) protocol needed to bootstrap a BLS threshold signature scheme. We present these results in another post.

A prototype implementation is available on GitHub here.

\def\lagr{\mathcal{L}}

Preliminaries

Let [n]={1,2,3,…,n}[n]=\{1,2,3,\dots,n\}. Let pp be a sufficiently large prime that denotes the order of our groups.

In this post, beyond basic group theory for cryptographers [^KL15], I will assume you are familiar with a few concepts:

  • Bilinear maps[^GPS08]. Specifically, ∃\exists a bilinear map e:\Gr1×\Gr2→\GrTe : \Gr_1 \times \Gr_2 \rightarrow \Gr_T such that:
    • ∀u∈\Gr1,v∈\Gr2,a∈\Zp,b∈\Zp,e(ua,vb)=e(u,v)ab\forall u\in \Gr_1,v\in \Gr_2, a\in \Zp, b\in \Zp, e(u^a, v^b) = e(u,v)^{ab}
    • e(g1,g2)≠1Te(g_1,g_2)\ne 1_T where g1,g2g_1,g_2 are the generators of \Gr1\Gr_1 and \Gr2\Gr_2 respectively and 1T1_T is the identity of \GrT\Gr_T
  • BLS signatures[^BLS04]. Specifically,
    • Let H:{0,1}∗→\Gr1H : \{0,1\}^* \rightarrow \Gr_1 be a collision-resistant hash-function (CRHF)
    • The secret key is s∈R\Zps\in_R \Zp and the public key is g2s∈\Gr2g_2^s\in \Gr_2
    • σ=H(m)s∈\Gr1\sigma = H(m)^s \in \Gr_1 is a signature on mm under secret key ss
    • To verify a signature, one checks if e(H(m),g2s)=e(σ,g2)e(H(m), g_2^s) = e(\sigma, g_2)

tt-out-of-nn threshold BLS signatures

Recall the well-known scheme by Boldyreva [^Bold03]. This scheme assumes a DKG has already been run such that:

  • A Shamir secret sharing[^Shamir79] of a secret key ss has been established
    • i.e., s=ϕ(0)s = \phi(0) where ϕ(X)∈\Zp[X]\phi(X)\in \Zp[X] is random, degree t−1t-1 polynomial
  • Signer i∈{1,2,…,n}i\in\{1,2,\dots, n\} has his secret key share si=ϕ(i)s_i = \phi(i) and verification key gsig^{s_i}
  • Nobody knows ss, so nobody can directly produce a signature H(m)sH(m)^s on mm

To sign, tt or more signers have to co-operate:

  • Each signer ii computes a signature share or sigshare σi=H(m)si\sigma_i = H(m)^{s_i}
  • Then, an aggregator:
    • Collects as many σi\sigma_i’s as possible
    • Verifies each σi\sigma_i under its signer’s verification key: Is e(H(m),g2si)=e(σi,g2)e(H(m),g_2^{s_i}) = e(\sigma_i, g_2)?
    • …and thus identifies tt valid sigshares
    • Aggregates the signature σ=H(m)s\sigma = H(m)^s via “interpolation in the exponent” from the tt valid sigshares (see next section).

Basics of polynomial interpolation

A good source for this is Berrut and Trefethen [^BT04].

Let ϕ∈\Zp[X]\phi \in \Zp[X] be a polynomial of degree t−1t-1. Suppose there are nn evaluations (i,ϕ(i))i∈[n](i, \phi(i))_{i\in [n]} “out there” and we have tt out of these nn evaluations. Specifically, let (j,ϕ(j))j∈T(j, \phi(j))_{j \in T} denote this subset, where T⊂[n]T\subset [n] and ∣T∣=t|T|=t.

How can we recover or interpolate ϕ(X)\phi(X) from these tt evaluations?

We can use Lagrange’s formula, which says:

ϕ(X)=∑j∈T\lagrjT(X)ϕ(j)\labeleq:lagrange−sum\begin{align} \phi(X) &= \sum_{j\in T} \lagr_j^T(X) \phi(j)\label{eq:lagrange-sum} \end{align}

The \lagrjT(X)\lagr_j^T(X)’s are called Lagrange polynomials and are defined as:

\lagrjT(X)=∏k∈Tk≠jX−kj−k\labeleq:lagrange−poly\begin{align} \lagr_j^T(X) &= \prod_{\substack{k\in T\\k\ne j}} \frac{X - k}{j - k}\label{eq:lagrange-poly} \end{align}

The key property of these polynomials is that ∀j∈T,\lagrjT(j)=1\forall j\in T, \lagr_j^T(j) = 1 and ∀i∈T,i≠j,\lagrjT(i)=0\forall i\in T, i\ne j,\lagr_j^T(i) = 0.

We are artificially restricting ourselves to evaluations of ϕ\phi at points {1,2,…,n}\{1,2,\dots,n\} since this is the setting that arises in BLS threshold signatures. However, these protocols work for any set of points (xi,ϕ(xi))i∈[n](x_i, \phi(x_i))_{i\in [n]}. For example, as we’ll see later, it can be useful to replace the signer IDs {1,2,…,n}\{1,2,\dots,n\} with roots of unity {ω0,ω1,…,ωn−1}\{\omega^0, \omega^1, \dots, \omega^{n-1}\}.

Faster BLS threshold signatures

As explained before, aggregating a (t,n)(t,n) threshold signature such as BLS, requires interpolating the secret key ss “in the exponent.” This is typically done naively in Θ(t2)\Theta(t^2) time.

In our paper [^TCZplus20], we adapt well-known, fast polynomial interpolation algorithms [^vG13ModernCh10] to do this in O(tlog⁡2t)O(t\log^2{t}) time. This not only scales BLS threshold signature aggregation to millions of signers, but also speeds up aggregation at smaller scales of hundreds of signers.

First, I’ll describe the naive, quadratic-time algorithm for aggregation. Then, I’ll introduce the quasilinear-time algorithm, adapted for the “in the exponent” setting.

Quadratic-time BLS threshold signature aggregation

Having identified tt valid signature shares σj=H(m)sj,j∈T\sigma_j = H(m)^{s_j}, j\in T, the aggregator will recover s=ϕ(0)s=\phi(0) but do so “in the exponent”, by recovering H(m)ϕ(0)=H(m)sH(m)^{\phi(0)}=H(m)^s.

For this, the aggregator computes all the \lagrjT(0)\lagr_j^T(0)’s by computing Equation \refeq:lagrange−poly\ref{eq:lagrange-poly} at X=0X=0:

\lagrjT(0)=∏k∈Tk≠j0−kj−k=∏k∈Tk≠jkk−j\lagr_j^T(0) = \prod_{\substack{k\in T\\\\k\ne j}} \frac{0 - k}{j - k} = \prod_{\substack{k\in T\\\\k\ne j}} \frac{k}{k - j}

Computing a single \lagrjT(0)\lagr_j^T(0) can be done in Θ(t)\Theta(t) time by simply carrying out the operations above in the field \Zp\Zp. However, we need to compute all of them: \lagrjT(0),∀j∈T\lagr_j^T(0), \forall j \in T, which takes Θ(t2)\Theta(t^2) time. We will describe how to reduce this time in the next subsection.

The final step consists of several exponentiations in \Gr1\Gr_1, which actually computes the secret key ss in the exponent, as per Equation \refeq:lagrange−sum\ref{eq:lagrange-sum} at X=0X=0:

∏j∈Tσj\lagrjT(0)=∏j∈T(H(m)sj)\lagrjT(0)=∏j∈TH(m)\lagrjT(0)sj=H(m)∑j∈T\lagrjT(0)sj=H(m)∑j∈T\lagrjT(0)ϕ(j)=H(m)ϕ(0)=H(m)s=σ\begin{align} \prod_{j\in T} \sigma_j^{\lagr_j^T(0)} &= \prod_{j\in T} \left(H(m)^{s_j}\right)^{\lagr_j^T(0)}\\ &= \prod_{j\in T} H(m)^{\lagr_j^T(0) s_j}\\ &= H(m)^{\sum_{j\in T}{\lagr_j^T(0) s_j}}\\ &= H(m)^{\sum_{j\in T}{\lagr_j^T(0) \phi(j)}}\\ &= H(m)^{\phi(0)} = H(m)^s = \sigma \end{align}

This last step takes Θ(t)\Theta(t) time and is sped up in practice using multi-exponentiation techniques.

This naive algorithm works quite well, especially at small scales, but the performance deteriorates fast, as computing the \lagrjT(0)\lagr_j^T(0)’s becomes very expensive. The figure below depicts this trend.

Naive aggregation time for BLS threshold signatures

The xx-axis is log⁡2(t)\log_2(t) where tt is the threshold, which doubles for every tick. The yy-axis is the time to aggregate a (t,2t−1)(t, 2t-1) BLS threshold signature in seconds. This consists of (1) the time to compute the Lagrange coefficients and (2) the time to compute the multi-exponentiation. As you can see, for t=211=2048t=2^{11}=2048, the time to aggregate is less than 1 second.

The BLS threshold signature aggregation code was implemented using libff and libfqfft and is available on GitHub here. We used various optimizations using roots-of-unity to speed up this naive implementation.

Our quasilinear-time BLS threshold signature aggregation

This is going to get a bit mathematical, so hold on tight. Everything explained here is just a slight modification of the fast polynomial interpolation techniques explained in “Modern Computer Algebra”[^vG13ModernCh10].

We’ll refer to \lagrjT(0)\lagr_j^T(0) as a Lagrange coefficient: this is just the Lagrange polynomial from Equation \refeq:lagrange−poly\ref{eq:lagrange-poly} evaluated at X=0X=0. Recall that the aggregator must compute all t=∣T∣t=|T| Lagrange coefficients.

Step 1: Numerators and denominators of Lagrange coefficients

Notice that each Lagrange coefficient can be rewritten as a numerator divided by a denominator. All tt numerators can be computed very fast in Θ(t)\Theta(t) time, but the denominators will be a bit more challenging.

First, we define a vanishing polynomial VT(X)V_T(X) that has roots at all X∈TX\in T:

VT(X)=∏j∈T(X−j)\begin{align} V_T(X) = \prod_{j\in T} (X - j) \end{align}

Similarly, let VT∖{j}(X)V_{T\setminus\{j\}}(X) have roots at all X∈T∖{j}X\in T\setminus\{j\}:

VT∖{j}(X)=∏k∈Tk≠j(X−k)=VT(X)/(X−j)\begin{align} V_{T\setminus\{j\}}(X) =\prod_{\substack{k\in T\\k\ne j}} (X - k)=V_T(X)/(X - j) \end{align}

Second, we rewrite the Lagrange polynomials using these vanishing polynomials.

\lagrjT(X)=∏k∈Tk≠jX−kj−k=∏k∈Tk≠j(X−k)∏k∈Tk≠j(j−k)=VT∖{j}(X)VT∖{j}(j)\begin{align} \lagr_j^T(X) &= \prod_{\substack{k\in T\\k\ne j}} \frac{X - k}{j - k}\\ &= \frac{\prod_{\substack{k\in T\\k\ne j}}(X - k)}{\prod_{\substack{k\in T\\k\ne j}}(j - k)}\\ &= \frac{V_{T\setminus\{j\}}(X)}{V_{T\setminus\{j\}}(j)} \end{align}

As a result, we can rewrite the Lagrange coefficients as:

\lagrjT(0)=VT∖{j}(0)VT∖{j}(j)\begin{align} \lagr_j^T(0) &= \frac{V_{T\setminus\{j\}}(0)}{V_{T\setminus\{j\}}(j)} \end{align}

Finally, we note that computing all numerators VT∖{j}(0)=VT(0)/(0−j)V_{T\setminus\{j\}}(0)=V_T(0)/(0-j) can be done in Θ(t)\Theta(t) time by:

  1. Computing VT(0)V_T(0) in Θ(t)\Theta(t) time
  2. Dividing it by −j-j for all j∈Tj\in T, also in Θ(t)\Theta(t) time

Step 2: Computing all denominators ⇔\Leftrightarrow evaluate some polynomial at tt points

(It is a bit more difficult to) notice that the denominator VT∖{j}(j)V_{T\setminus\{j\}}(j) equals exactly VT’(j)V_T’(j), where VT’V_T’ is the derivative of VTV_T. This means that we can compute all denominators by evaluating VT’V_T’ at all j∈Tj\in T. We will explain later how we can do this evaluation very efficiently.

First, let us see what VT’(X)V_T’(X) looks like. Here, it’s helpful to take an example. Say T={1,3,9}T = \{1,3,9\} (i.e., the aggregator identified 3 valid sigshares from players 1, 3 and 9), which means VT(X)=(X−1)(X−3)(x−9)V_T(X)=(X-1)(X-3)(x-9).

If we apply the product rule of differentiation, we get:

VT’(x)=[(x−1)(x−3)]′(x−9)+[(x−1)(x−3)](x−9)’=[(x−1)’(x−3)+(x−1)(x−3)’](x−9)+(x−1)(x−3)=[(x−3)+(x−1)](x−9)+(x−1)(x−3)=(x−3)(x−9)+(x−1)(x−9)+(x−1)(x−3)=VT∖{1}(x)+VT∖{3}(x)+VT∖{9}(x)\begin{align} V_T’(x) &= \big[(x-1)(x-3)\big]'(x-9) + \big[(x-1)(x-3)\big](x-9)’\\ &= \big[(x-1)’(x-3) + (x-1)(x-3)’\big](x-9) + (x-1)(x-3)\\ &= \big[(x-3)+(x-1)\big](x-9) + (x-1)(x-3)\\ &= (x-3)(x-9) + (x-1)(x-9) + (x-1)(x-3)\\ &= V_{T\setminus\{1\}}(x) + V_{T\setminus\{3\}}(x) + V_{T\setminus\{9\}}(x) \end{align}

In general, for any set TT of signers, it is the case that:

VT’(X)=∑k∈TVT∖{k}(X)\begin{align} V_T’(X) = \sum_{k \in T} V_{T\setminus\{k\}}(X) \end{align}

We leave proving this as an exercise. The example above should give you enough intuition for why this holds.

Second, notice that VT’(j)=VT∖{j}(j)V_T’(j) = V_{T\setminus\{j\}}(j) does appear to hold for this example where T={1,3,9}T=\{1,3,9\}:

VT’(1)=(1−3)(1−9)+0+0=VT∖{1}(1)VT’(3)=0+(3−1)(3−9)+0=VT∖{3}(1)VT’(9)=0+0+(9−1)(9−3)+0=VT∖{9}(1)\begin{align} V_T’(1) &= (1-3)(1-9) + 0 + 0 = V_{T\setminus\{1\}}(1)\\ V_T’(3) &= 0 + (3-1)(3-9) + 0 = V_{T\setminus\{3\}}(1)\\ V_T’(9) &= 0 + 0 + (9-1)(9-3) + 0 = V_{T\setminus\{9\}}(1) \end{align}

We can easily prove this holds for any set TT of signers:

VT’(j)=∑k∈TVT∖{k}(j)=VT∖{j}(j)+∑k∈T∖{j}VT∖{k}(j)\labeleq:vtprimeofj=VT∖{j}(j)+∑k∈T∖{j}0\labeleq:vtprimeofj−zero =VT∖{j}(j)\begin{align} V_T’(j) &= \sum_{k \in T} V_{T\setminus\{k\}}(j)\\ &= V_{T\setminus\{j\}}(j) + \sum_{k \in T\setminus\{j\}} V_{T\setminus\{k\}}(j)\label{eq:vtprimeofj}\\ &= V_{T\setminus\{j\}}(j) + \sum_{k \in T\setminus\{j\}} 0\label{eq:vtprimeofj-zero}\\\ &= V_{T\setminus\{j\}}(j) \end{align}

In other words, this means the denominator of the jjth Lagrange coefficient \lagrjT(0)\lagr_j^T(0) exactly equals VT’(j)V_T’(j), as we promised in the beginning.

If you missed the transition from Equation \refeq:vtprimeofj\ref{eq:vtprimeofj} to Equation \refeq:vtprimeofj−zero\ref{eq:vtprimeofj-zero} recall that VT∖{k}(X)V_{T\setminus\{k\}}(X) is zero for all XX in TT except for kk. Thus, since j∈Tj \in T and j≠kj\ne k, we have VT∖{k}(j)=0V_{T\setminus\{k\}}(j) = 0.

Step 3: Evaluating VT’(X)V_T’(X) fast at all X∈TX\in T

The road so far (to fast BLS threshold signature aggregation):

  • Compute all numerators in O(t)O(t) time
  • Compute the vanishing polynomial VT(X)V_T(X) in O(tlog⁡2t)O(t\log^2{t}) time. How?
    • Build a tree!
    • Each leaf stores a monomial (X−j)(X-j), for all j∈Tj\in T
    • The parent of two nodes stores the product of their children’s polynomials
    • As a result, the root will store VT(X)V_T(X)
    • (See an example figure below for T={2,4,5,8,9,13,16,20}T=\{2,4,5,8,9,13,16,20\}.)
  • Compute its derivative VT’(X)V_T’(X) in O(t)O(t) time. How?
    • Rewrite VT(X)V_T(X) in coefficient form as VT(X)=∑i=0∣T∣ciXiV_T(X) = \sum_{i=0}^{|T|} c_i X^i
    • Then, VT’(X)=∑i=1∣T∣i⋅ci⋅Xi−1V_T’(X) = \sum_{i=1}^{|T|} i \cdot c_i \cdot X^{i-1}
  • Evaluate VT’(X)V_T’(X) at all points in TT. Let’s see how!

Computing a vanishing polynomial recursively

Here we are computing VT(X)V_T(X) when T={2,4,5,8,9,13,16,20}T=\{2,4,5,8,9,13,16,20\}. At each node in the tree, the two children’s polynomials are being multiplied. Multiplication can be done fast in O(dlog⁡d)O(d\log{d}) time using the Fast Fourier Transform (FFT)[^CLRS09], where dd is the degree of the children polynomials.

Evaluate VT’(X)V_T’(X) using a polynomial multipoint evaluation

We want to evaluate VT’(X)V_T’(X) of degree t−1t-1 at tt points: i.e., at all j∈Tj\in T. If we do this naively, one evaluation takes Θ(t)\Theta(t) time and thus all evaluations take Θ(t2)\Theta(t^2) time. Fortunately, a Θ(tlog⁡2t)\Theta(t\log^2{t}) algorithm exists and is called a polynomial multipoint evaluation[^vG13ModernCh10], or a multipoint eval for short.

To understand how a multipoint eval works, first you must understand two things:

  1. The polynomial remainder theorem, which says ∀\forall polynomials ϕ\phi and ∀j\forall j, ϕ(j)=ϕ(X) mod (X−j)\phi(j) = \phi(X) \bmod (X-j), where  mod \bmod is the remainder of the division ϕ(X)/(X−j)\phi(X) / (X-j).
    • We’ll refer to these operations as “modular reductions.”
  2. Recursion!

A multipoint eval computes ϕ(j)\phi(j) by recursively computing ϕ(X) mod (X−j)\phi(X) \bmod (X-j) in an efficient manner. Since a picture is worth a thousands words, please take a look at the figure below, which depicts a multipoint eval of ϕ\phi at T={1,2,…,8}T=\{1,2,\dots,8\}.

A multipoint evaluation at 1, 2, ..., 8

Each node ww in the multipoint eval tree stores two polynomials: a vanishing polynomial VwV_w and a remainder rwr_w. If we let uu denote node ww’s parent, then the multipoint evaluation operates as follows: For every node ww, compute rw=ru mod Vwr_w = r_u \bmod V_w. (In the tree, this is depicted more simply using a “mod Vw\text{mod}\ V_w” at each node ww.) To start the recursive computation, the root node ε\varepsilon has rε=ϕ(X) mod (X−1)(X−2)⋯(X−8)r_\varepsilon=\phi(X)\bmod (X-1)(X-2)\cdots(X-8). The other important rule is for every node ww, the children of node ww will store the “left” and “right” halves of VwV_w. This helps split the problem into two halves and halves the degree of the remainders at each level.

Each path in the tree corresponds to a sequence of modular reductions applied to ϕ\phi, ultimately leading to an evaluation ϕ(j)\phi(j). For example, the red path to  mod (X−3)\bmod (X-3) gives the evaluation ϕ(3)\phi(3) and corresponds to the following sequence of modular reductions:

([(ϕ(X) mod (X−1)…(X−8)) mod (X−1)…(X−4)] mod (X−3)(X−4)) mod (X−3)\big(\left[\left(\phi(X) \bmod (X-1)\dots(X-8)\right)\bmod(X-1)\dots(X-4)\right]\bmod(X-3)(X-4)\big)\bmod(X-3)

My explanation here is in many ways inadequate. Although the figure should be of some help, you should see “Modern Computer Algebra”, Chapter 10 [^vG13ModernCh10] and our paper [^TCZplus20] for more background on polynomial multipoint evaluations.

By reasoning about the degrees of the polynomials involved in the tree, one can show that at most O(tlog⁡t)O(t\log{t}) work is being done at each level in the multipoint eval tree. Since there are roughly log⁡t\log{t} levels, this means the multipoint eval only takes O(tlog⁡2t)O(t\log^2{t}) time.

In practice, a multipoint eval requires implementing fast polynomial division using FFT. Next, we explain how to avoid this and get a considerable speed-up.

Evaluate VT’(X)V_T’(X) using the Fast Fourier Transform (FFT)

If we pick the signer IDs to be roots of unity rather than {1,2,…,n}\{1,2,\dots,n\}, we can evaluate VT’(X)V_T’(X) fast in Θ(nlog⁡n)\Theta(n\log{n}) time with a single Fast Fourier Transform (FFT). For example, let ω\omega be a primitive NNth root of unity (where NN is the smallest power of 2 that is ≥n\ge n). Then, signer ii could have ID ωi−1\omega^{i-1} rather than ii. This would slightly change the definitions of the Lagrange polynomials and the vanishing polynomials too: they would be of the form ∏j∈T(X−ωNj−1)\prod_{j\in T}(X-\omega_N^{j-1}) rather than ∏j∈T(X−j)\prod_{j\in T}(X - j).

This is actually the route we take in our paper [^TCZplus20], since a single FFT will be much faster than a polynomial multipoint evaluation which requires multiple polynomial divisions, which in turn require multiple FFTs. You can see the performance boost and scalability gained in the figure below.

Fast aggregation time for BLS threshold signatures

The xx-axis is log⁡2(t)\log_2(t) where tt is the threshold, which doubles for every tick. The yy-axis is the time to aggregate, using the quasilinear-time Lagrange algorithm, a (t,2t−1)(t, 2t-1) BLS threshold signature in seconds. As you can see, for t=211=2048t=2^{11}=2048, the time to aggregate decreases from 1 second to 0.1 seconds. We also scale better: in 1 second we can aggregate a signature with t=214≈16,000t=2^{14}\approx 16,000. Furthermore, we get a performance boost even at scales as small as t=128t=128.

Again, the code is available on GitHub here.

Ending notes

We showed how existing algorithms for polynomial interpolation can (and should) be used to speed up and scale BLS threshold signatures. In fact, these techniques can be applied to any threshold cryptosystem whose secret lies in a prime-order finite field with support for roots of unity.

References

[^GAGplus19]: SBFT: A Scalable and Decentralized Trust Infrastructure, by G. Golan Gueta and I. Abraham and S. Grossman and D. Malkhi and B. Pinkas and M. Reiter and D. Seredinschi and O. Tamir and A. Tomescu, in 2019 49th Annual IEEE/IFIP International Conference on Dependable Systems and Networks (DSN), 2019, [PDF]. [^BLS04]: Short Signatures from the Weil Pairing, by Boneh, Dan and Lynn, Ben and Shacham, Hovav, in Journal of Cryptology, 2004 [^TCZplus20]: Towards Scalable Threshold Cryptosystems, by Alin Tomescu and Robert Chen and Yiming Zheng and Ittai Abraham and Benny Pinkas and Guy Golan Gueta and Srinivas Devadas, in 2020 IEEE Symposium on Security and Privacy (SP), 2020, [PDF]. [^KL15]: Introduction to Modern Cryptography, by Jonathan Katz and Yehuda Lindell, 2007 [^GPS08]: Pairings for cryptographers, by Steven D. Galbraith and Kenneth G. Paterson and Nigel P. Smart, in Discrete Applied Mathematics, 2008 [^Bold03]: Threshold Signatures, Multisignatures and Blind Signatures Based on the Gap-Diffie-Hellman-Group Signature Scheme, by Boldyreva, Alexandra, in PKC 2003, 2002 [^Shamir79]: How to Share a Secret, by Shamir, Adi, in Commun. ACM, 1979 [^BT04]: Barycentric Lagrange Interpolation, by Berrut, J. and Trefethen, L., in SIAM Review, 2004 [^vG13ModernCh10]: Fast polynomial evaluation and interpolation, by von zur Gathen, Joachim and Gerhard, Jurgen, in Modern Computer Algebra, 2013 [^CLRS09]: Introduction to Algorithms, Third Edition, by Cormen, Thomas H. and Leiserson, Charles E. and Rivest, Ronald L. and Stein, Clifford, 2009