Expand description
Types which are common to both v1 and v2
Modules§
- test_
helpers - Helper functions for tests
Structs§
- Check
Private Shares - An implementation of p256k1’s MultiMult trait that allows fast checking of DKG private shares We convert a set of checked polynomial evaluations into a single giant multimult These evaluations take the form of s * G == \Sum{k=0}{T+1}(a_k * x^k) where the a vals are the coeffs of the polys There is 1 share per poly, N polys, and each poly is degree T-1 (so T coeffs) First we evaluate each poly, then we subtract each s * G
- Nonce
- A composite private nonce used as a random commitment in the protocol
- Poly
Commitment - A commitment to a polynonial, with a Schnorr proof of ownership bound to the ID
- Public
Nonce - A commitment to the private nonce
- Signature
- An aggregated group signature
- Signature
Share - A share of the party signature with related values
- Tuple
Proof - A Chaum-Pedersen proof that (G, A=aG, B=bG, K=(a*b)*G) is a DH tuple
Functions§
- check_
public_ shares - Check that the PolyCommitment is properly signed and has the correct degree polynomial
- validate_
key_ id - Check that the passed
key_idis valid - validate_
signer_ id - Check that the passed
signer_idis valid
Type Aliases§
- Merkle
Root - A merkle root is a 256 bit hash