Crate dkg_musig

Source
Expand description

§Distributed Key Generation - MuSig

This implements the MuSig key aggregation protocol for the dkg crate’s types.

This crate was originally part of (in some form) the dkg crate, which was audited by Cypher Stack in March 2023, culminating in commit 669d2dbffc1dafb82a09d9419ea182667115df06. Any subsequent changes have not undergone auditing.

Structs§

Participant
The ID of a participant, defined as a non-zero u16.
ThresholdKeys
Threshold keys usable for signing.
ThresholdParams
Parameters for a multisig.
ThresholdView
View of keys, interpolated and with the expected linear combination taken for usage.

Enums§

DkgError
Errors encountered when working with threshold keys.
Interpolation
A method of interpolation.
MusigError
Errors encountered when working with threshold keys.

Functions§

musig
A n-of-n non-interactive DKG which does not guarantee the usability of the resulting key.
musig_key
The group key resulting from using this library’s MuSig key aggregation.
musig_key_vartime
The group key resulting from using this library’s MuSig key aggregation.