Documentation ¶
Index ¶
- func CmpKeygen(id party.ID, ids party.IDSlice, n crypto.Network, threshold int, ...) (*cmp.Config, error)
- func CmpRefresh(c *cmp.Config, n crypto.Network, wg *sync.WaitGroup, pl *pool.Pool) (*cmp.Config, error)
- func CmpSign(c *cmp.Config, m []byte, signers party.IDSlice, n crypto.Network, ...) (*crypto.MPCECDSASignature, error)
- func CmpVerify(c *cmp.Config, m []byte, sig *crypto.MPCECDSASignature) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CmpKeygen ¶
func CmpKeygen(id party.ID, ids party.IDSlice, n crypto.Network, threshold int, wg *sync.WaitGroup, pl *pool.Pool) (*cmp.Config, error)
It creates a new handler for the keygen protocol, runs the handler loop, and returns the result
func CmpRefresh ¶
func CmpRefresh(c *cmp.Config, n crypto.Network, wg *sync.WaitGroup, pl *pool.Pool) (*cmp.Config, error)
It creates a new handler for the refresh protocol, runs the handler loop, and returns the result
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.