Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Keygen ¶
func Keygen(group curve.Curve, selfID party.ID, participants []party.ID, threshold int, pl *pool.Pool) protocol.StartFunc
Keygen generates a new shared ECDSA key over the curve defined by `group`. After a successful execution, all participants posses a unique share of this key, as well as auxiliary parameters required during signing.
For better performance, a `pool.Pool` can be provided in order to parallelize certain steps of the protocol. Returns *cmp.Config if successful.
Types ¶
type Config ¶
Config represents the stored state of a party who participated in a successful `Keygen` protocol. It contains secret key material and should be safely stored.
func EmptyConfig ¶
EmptyConfig creates an empty Config with a fixed group, ready for unmarshalling.
This needs to be used for unmarshalling, otherwise the points on the curve can't be decoded.