Documentation
¶
Index ¶
- Constants
- Variables
- func NewLocalParty(msg *big.Int, isThreshold bool, params *tss.Parameters, path string, ...) (tss.Party, error)
- func NewSignRound1Message(from *tss.PartyID, D *crypto.ECPoint, E *crypto.ECPoint) (tss.ParsedMessage, error)
- func NewSignRound2Message(from *tss.PartyID, z *big.Int) tss.ParsedMessage
- type LocalParty
- func (p *LocalParty) FirstRound() tss.Round
- func (p *LocalParty) PartyID() *tss.PartyID
- func (p *LocalParty) Start() *tss.Error
- func (p *LocalParty) StoreMessage(msg tss.ParsedMessage) (bool, *tss.Error)
- func (p *LocalParty) String() string
- func (p *LocalParty) Update(msg tss.ParsedMessage) (ok bool, err *tss.Error)
- func (p *LocalParty) UpdateFromBytes(wireBytes []byte, from *tss.PartyID, isBroadcast bool) (bool, *tss.Error)
- func (p *LocalParty) ValidateMessage(msg tss.ParsedMessage) (bool, *tss.Error)
- type SignRound1Message
- func (*SignRound1Message) Descriptor() ([]byte, []int)deprecated
- func (x *SignRound1Message) GetD() []byte
- func (x *SignRound1Message) GetE() []byte
- func (*SignRound1Message) ProtoMessage()
- func (x *SignRound1Message) ProtoReflect() protoreflect.Message
- func (x *SignRound1Message) Reset()
- func (x *SignRound1Message) String() string
- func (m *SignRound1Message) UnmarshalD() (*crypto.ECPoint, error)
- func (m *SignRound1Message) UnmarshalE() (*crypto.ECPoint, error)
- func (m *SignRound1Message) ValidateBasic() bool
- type SignRound2Message
- func (*SignRound2Message) Descriptor() ([]byte, []int)deprecated
- func (x *SignRound2Message) GetSi() []byte
- func (*SignRound2Message) ProtoMessage()
- func (x *SignRound2Message) ProtoReflect() protoreflect.Message
- func (x *SignRound2Message) Reset()
- func (x *SignRound2Message) String() string
- func (m *SignRound2Message) UnmarshalS() *big.Int
- func (m *SignRound2Message) ValidateBasic() bool
Constants ¶
View Source
const (
TaskName = "eddsa-sign"
)
Variables ¶
View Source
var File_sign_proto protoreflect.FileDescriptor
Functions ¶
func NewLocalParty ¶
func NewSignRound1Message ¶
func NewSignRound2Message ¶
Types ¶
type LocalParty ¶
func (*LocalParty) FirstRound ¶
func (p *LocalParty) FirstRound() tss.Round
func (*LocalParty) PartyID ¶
func (p *LocalParty) PartyID() *tss.PartyID
func (*LocalParty) Start ¶
func (p *LocalParty) Start() *tss.Error
func (*LocalParty) StoreMessage ¶
func (p *LocalParty) StoreMessage(msg tss.ParsedMessage) (bool, *tss.Error)
func (*LocalParty) String ¶
func (p *LocalParty) String() string
func (*LocalParty) Update ¶
func (p *LocalParty) Update(msg tss.ParsedMessage) (ok bool, err *tss.Error)
func (*LocalParty) UpdateFromBytes ¶
func (*LocalParty) ValidateMessage ¶
func (p *LocalParty) ValidateMessage(msg tss.ParsedMessage) (bool, *tss.Error)
type SignRound1Message ¶
type SignRound1Message struct { D []byte `protobuf:"bytes,1,opt,name=d,proto3" json:"d,omitempty"` E []byte `protobuf:"bytes,2,opt,name=e,proto3" json:"e,omitempty"` // contains filtered or unexported fields }
Represents a BROADCAST message sent to all parties during Round 1 of the EDDSA TSS signing protocol.
func (*SignRound1Message) Descriptor
deprecated
func (*SignRound1Message) Descriptor() ([]byte, []int)
Deprecated: Use SignRound1Message.ProtoReflect.Descriptor instead.
func (*SignRound1Message) GetD ¶
func (x *SignRound1Message) GetD() []byte
func (*SignRound1Message) GetE ¶
func (x *SignRound1Message) GetE() []byte
func (*SignRound1Message) ProtoMessage ¶
func (*SignRound1Message) ProtoMessage()
func (*SignRound1Message) ProtoReflect ¶
func (x *SignRound1Message) ProtoReflect() protoreflect.Message
func (*SignRound1Message) Reset ¶
func (x *SignRound1Message) Reset()
func (*SignRound1Message) String ¶
func (x *SignRound1Message) String() string
func (*SignRound1Message) UnmarshalD ¶
func (m *SignRound1Message) UnmarshalD() (*crypto.ECPoint, error)
func (*SignRound1Message) UnmarshalE ¶
func (m *SignRound1Message) UnmarshalE() (*crypto.ECPoint, error)
func (*SignRound1Message) ValidateBasic ¶
func (m *SignRound1Message) ValidateBasic() bool
type SignRound2Message ¶
type SignRound2Message struct { Si []byte `protobuf:"bytes,1,opt,name=si,proto3" json:"si,omitempty"` // contains filtered or unexported fields }
Represents a P2P message sent to all parties during Round 2 of the EDDSA TSS signing protocol.
func (*SignRound2Message) Descriptor
deprecated
func (*SignRound2Message) Descriptor() ([]byte, []int)
Deprecated: Use SignRound2Message.ProtoReflect.Descriptor instead.
func (*SignRound2Message) GetSi ¶
func (x *SignRound2Message) GetSi() []byte
func (*SignRound2Message) ProtoMessage ¶
func (*SignRound2Message) ProtoMessage()
func (*SignRound2Message) ProtoReflect ¶
func (x *SignRound2Message) ProtoReflect() protoreflect.Message
func (*SignRound2Message) Reset ¶
func (x *SignRound2Message) Reset()
func (*SignRound2Message) String ¶
func (x *SignRound2Message) String() string
func (*SignRound2Message) UnmarshalS ¶
func (m *SignRound2Message) UnmarshalS() *big.Int
func (*SignRound2Message) ValidateBasic ¶
func (m *SignRound2Message) ValidateBasic() bool
Click to show internal directories.
Click to hide internal directories.