Versions in this module Expand all Collapse all v1 v1.7.1 Mar 11, 2022 Changes in this version + func ConvertAliceDkgOutputToV1(params *v0.Params, dkgResult []byte) (*protocol.Message, error) + func ConvertBobDkgOutputToV1(params *v0.Params, dkgResult []byte) (*protocol.Message, error) + func DecodeAliceDkgResult(m *protocol.Message) (*dkg.AliceOutput, error) + func DecodeBobDkgResult(m *protocol.Message) (*dkg.BobOutput, error) + func DecodeSignature(m *protocol.Message) (*curves.EcdsaSignature, error) + func EncodeAliceDkgOutput(result *dkg.AliceOutput, version uint) (*protocol.Message, error) + func EncodeBobDkgOutput(result *dkg.BobOutput, version uint) (*protocol.Message, error) + type AliceDkg struct + func NewAliceDkg(curve *curves.Curve, version uint) *AliceDkg + func (a *AliceDkg) Result(version uint) (*protocol.Message, error) + func (p *AliceDkg) Next(input *protocol.Message) (*protocol.Message, error) + type AliceSign struct + func NewAliceSign(curve *curves.Curve, message []byte, dkgResultMessage *protocol.Message, ...) (*AliceSign, error) + func (a *AliceSign) Result(_ uint) (*protocol.Message, error) + func (p *AliceSign) Next(input *protocol.Message) (*protocol.Message, error) + type BobDkg struct + func NewBobDkg(curve *curves.Curve, version uint) *BobDkg + func (b *BobDkg) Result(version uint) (*protocol.Message, error) + func (p *BobDkg) Next(input *protocol.Message) (*protocol.Message, error) + type BobSign struct + func NewBobSign(curve *curves.Curve, message []byte, dkgResultMessage *protocol.Message, ...) (*BobSign, error) + func (b *BobSign) Result(version uint) (*protocol.Message, error) + func (p *BobSign) Next(input *protocol.Message) (*protocol.Message, error)