Expand description
§Distributed Key Generation - PedPoP
This implements the PedPoP distributed key generation protocol for the
dkg crate’s types.
This crate was originally part of the dkg crate, which was
audited by Cypher Stack in March 2023, culminating in commit
669d2dbffc1dafb82a09d9419ea182667115df06. Any subsequent changes have not undergone auditing.
Structs§
- Additional
Blame Machine - A machine capable of handling an arbitrary amount of additional blame proofs.
- Blame
Machine - A machine capable of handling blame proofs.
- Commitments
- The commitments message, intended to be broadcast to all other parties.
- Encrypted
Message - An encrypted message, with a per-message encryption key enabling revealing specific messages without side effects.
- Encryption
KeyMessage - Wraps a message with a key to use for encryption in the future.
- Encryption
KeyProof - A proof that the provided encryption key is a legitimately derived shared key for some message.
- KeyGen
Machine - State machine to begin the key generation protocol.
- KeyMachine
- Advancement of the the secret share state machine.
- Participant
- The ID of a participant, defined as a non-zero u16.
- Secret
Share - The secret share message, to be sent to the party it’s intended for over an authenticated channel.
- Secret
Share Machine - Advancement of the key generation state machine.
- Threshold
Keys - Threshold keys usable for signing.
- Threshold
Params - Parameters for a multisig.
- Threshold
View - 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.
- PedPoP
Error - Errors possible during key generation.