Expand description
Key share of Threshold Signature Scheme (TSS)
TSS protocols often share the same structure of key share. Having a separate crate with definition of the key share struct help reusing the code, keeping different implementations compatible and interopable.
The crate provides DirtyCoreKeyShare that contains data such as: secret share, other signers commitments,
public key and etc.
DirtyCoreKeyShare may contain any data, not necessarily consistent. TSS protocol implementations typically
don’t want to handle inconsistent key shares and would rather assume that it’s valid. Valid<T>
is a type-guard stating that the value T it holds was validated. So, Valid<DirtyCoreKeyShare> (or
CoreKeyShare type alias) can be used to express that only valid key shares are accepted.
Modules§
- trusted_
dealer spof - Trusted dealer
Structs§
- Dirty
Core KeyShare - Dirty (unvalidated) core key share
- Dirty
KeyInfo - Public Key Info
- Invalid
Core Share - Error indicating that key share is not valid
- Reconstruct
Error spof - Error indicating that key reconstruction failed
- Valid
- Validated value
- Validate
Error - Validation error
- VssSetup
- Secret sharing setup of a key
Enums§
- HdError
- Error related to HD key derivation
Traits§
- Validate
- Represents a type that can be validated
- Validate
From Parts - Represents a type that can be constructed and validated from
Parts
Functions§
- reconstruct_
secret_ key spof - Reconstructs a secret key from set of at least
min_signerskey shares
Type Aliases§
- Core
KeyShare - Core key share
- KeyInfo
- Public Key Info