pb

package
v1.21.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 1, 2024 License: MIT Imports: 5 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_pkg_tecdsa_dkg_gen_pb_message_proto protoreflect.FileDescriptor
View Source
var File_pkg_tecdsa_dkg_gen_pb_preparams_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type EphemeralPublicKeyMessage

type EphemeralPublicKeyMessage struct {
	SenderID            uint32            `protobuf:"varint,1,opt,name=senderID,proto3" json:"senderID,omitempty"`
	EphemeralPublicKeys map[uint32][]byte `` /* 180-byte string literal not displayed */
	SessionID           string            `protobuf:"bytes,3,opt,name=sessionID,proto3" json:"sessionID,omitempty"`
	// contains filtered or unexported fields
}

func (*EphemeralPublicKeyMessage) Descriptor deprecated

func (*EphemeralPublicKeyMessage) Descriptor() ([]byte, []int)

Deprecated: Use EphemeralPublicKeyMessage.ProtoReflect.Descriptor instead.

func (*EphemeralPublicKeyMessage) GetEphemeralPublicKeys

func (x *EphemeralPublicKeyMessage) GetEphemeralPublicKeys() map[uint32][]byte

func (*EphemeralPublicKeyMessage) GetSenderID

func (x *EphemeralPublicKeyMessage) GetSenderID() uint32

func (*EphemeralPublicKeyMessage) GetSessionID

func (x *EphemeralPublicKeyMessage) GetSessionID() string

func (*EphemeralPublicKeyMessage) ProtoMessage

func (*EphemeralPublicKeyMessage) ProtoMessage()

func (*EphemeralPublicKeyMessage) ProtoReflect

func (*EphemeralPublicKeyMessage) Reset

func (x *EphemeralPublicKeyMessage) Reset()

func (*EphemeralPublicKeyMessage) String

func (x *EphemeralPublicKeyMessage) String() string

type PreParams

type PreParams struct {
	Data              *PreParams_LocalPreParams `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	CreationTimestamp *timestamppb.Timestamp    `protobuf:"bytes,2,opt,name=creationTimestamp,proto3" json:"creationTimestamp,omitempty"`
	// contains filtered or unexported fields
}

func (*PreParams) Descriptor deprecated

func (*PreParams) Descriptor() ([]byte, []int)

Deprecated: Use PreParams.ProtoReflect.Descriptor instead.

func (*PreParams) GetCreationTimestamp

func (x *PreParams) GetCreationTimestamp() *timestamppb.Timestamp

func (*PreParams) GetData

func (x *PreParams) GetData() *PreParams_LocalPreParams

func (*PreParams) ProtoMessage

func (*PreParams) ProtoMessage()

func (*PreParams) ProtoReflect

func (x *PreParams) ProtoReflect() protoreflect.Message

func (*PreParams) Reset

func (x *PreParams) Reset()

func (*PreParams) String

func (x *PreParams) String() string

type PreParams_LocalPreParams

type PreParams_LocalPreParams struct {
	PaillierSK *PreParams_PrivateKey `protobuf:"bytes,1,opt,name=paillierSK,proto3" json:"paillierSK,omitempty"`
	NTilde     []byte                `protobuf:"bytes,2,opt,name=nTilde,proto3" json:"nTilde,omitempty"`
	H1I        []byte                `protobuf:"bytes,3,opt,name=h1i,proto3" json:"h1i,omitempty"`
	H2I        []byte                `protobuf:"bytes,4,opt,name=h2i,proto3" json:"h2i,omitempty"`
	Alpha      []byte                `protobuf:"bytes,5,opt,name=alpha,proto3" json:"alpha,omitempty"`
	Beta       []byte                `protobuf:"bytes,6,opt,name=beta,proto3" json:"beta,omitempty"`
	P          []byte                `protobuf:"bytes,7,opt,name=p,proto3" json:"p,omitempty"`
	Q          []byte                `protobuf:"bytes,8,opt,name=q,proto3" json:"q,omitempty"`
	// contains filtered or unexported fields
}

func (*PreParams_LocalPreParams) Descriptor deprecated

func (*PreParams_LocalPreParams) Descriptor() ([]byte, []int)

Deprecated: Use PreParams_LocalPreParams.ProtoReflect.Descriptor instead.

func (*PreParams_LocalPreParams) GetAlpha

func (x *PreParams_LocalPreParams) GetAlpha() []byte

func (*PreParams_LocalPreParams) GetBeta

func (x *PreParams_LocalPreParams) GetBeta() []byte

func (*PreParams_LocalPreParams) GetH1I

func (x *PreParams_LocalPreParams) GetH1I() []byte

func (*PreParams_LocalPreParams) GetH2I

func (x *PreParams_LocalPreParams) GetH2I() []byte

func (*PreParams_LocalPreParams) GetNTilde

func (x *PreParams_LocalPreParams) GetNTilde() []byte

func (*PreParams_LocalPreParams) GetP

func (x *PreParams_LocalPreParams) GetP() []byte

func (*PreParams_LocalPreParams) GetPaillierSK

func (x *PreParams_LocalPreParams) GetPaillierSK() *PreParams_PrivateKey

func (*PreParams_LocalPreParams) GetQ

func (x *PreParams_LocalPreParams) GetQ() []byte

func (*PreParams_LocalPreParams) ProtoMessage

func (*PreParams_LocalPreParams) ProtoMessage()

func (*PreParams_LocalPreParams) ProtoReflect

func (x *PreParams_LocalPreParams) ProtoReflect() protoreflect.Message

func (*PreParams_LocalPreParams) Reset

func (x *PreParams_LocalPreParams) Reset()

func (*PreParams_LocalPreParams) String

func (x *PreParams_LocalPreParams) String() string

type PreParams_PrivateKey

type PreParams_PrivateKey struct {
	PublicKey *PreParams_PublicKey `protobuf:"bytes,1,opt,name=publicKey,proto3" json:"publicKey,omitempty"`
	LambdaN   []byte               `protobuf:"bytes,2,opt,name=lambdaN,proto3" json:"lambdaN,omitempty"`
	PhiN      []byte               `protobuf:"bytes,3,opt,name=phiN,proto3" json:"phiN,omitempty"`
	// contains filtered or unexported fields
}

func (*PreParams_PrivateKey) Descriptor deprecated

func (*PreParams_PrivateKey) Descriptor() ([]byte, []int)

Deprecated: Use PreParams_PrivateKey.ProtoReflect.Descriptor instead.

func (*PreParams_PrivateKey) GetLambdaN

func (x *PreParams_PrivateKey) GetLambdaN() []byte

func (*PreParams_PrivateKey) GetPhiN

func (x *PreParams_PrivateKey) GetPhiN() []byte

func (*PreParams_PrivateKey) GetPublicKey

func (x *PreParams_PrivateKey) GetPublicKey() *PreParams_PublicKey

func (*PreParams_PrivateKey) ProtoMessage

func (*PreParams_PrivateKey) ProtoMessage()

func (*PreParams_PrivateKey) ProtoReflect

func (x *PreParams_PrivateKey) ProtoReflect() protoreflect.Message

func (*PreParams_PrivateKey) Reset

func (x *PreParams_PrivateKey) Reset()

func (*PreParams_PrivateKey) String

func (x *PreParams_PrivateKey) String() string

type PreParams_PublicKey

type PreParams_PublicKey struct {
	N []byte `protobuf:"bytes,1,opt,name=n,proto3" json:"n,omitempty"`
	// contains filtered or unexported fields
}

func (*PreParams_PublicKey) Descriptor deprecated

func (*PreParams_PublicKey) Descriptor() ([]byte, []int)

Deprecated: Use PreParams_PublicKey.ProtoReflect.Descriptor instead.

func (*PreParams_PublicKey) GetN

func (x *PreParams_PublicKey) GetN() []byte

func (*PreParams_PublicKey) ProtoMessage

func (*PreParams_PublicKey) ProtoMessage()

func (*PreParams_PublicKey) ProtoReflect

func (x *PreParams_PublicKey) ProtoReflect() protoreflect.Message

func (*PreParams_PublicKey) Reset

func (x *PreParams_PublicKey) Reset()

func (*PreParams_PublicKey) String

func (x *PreParams_PublicKey) String() string

type ResultSignatureMessage

type ResultSignatureMessage struct {
	SenderID   uint32 `protobuf:"varint,1,opt,name=senderID,proto3" json:"senderID,omitempty"`
	ResultHash []byte `protobuf:"bytes,2,opt,name=resultHash,proto3" json:"resultHash,omitempty"`
	Signature  []byte `protobuf:"bytes,3,opt,name=signature,proto3" json:"signature,omitempty"`
	PublicKey  []byte `protobuf:"bytes,4,opt,name=publicKey,proto3" json:"publicKey,omitempty"`
	SessionID  string `protobuf:"bytes,5,opt,name=sessionID,proto3" json:"sessionID,omitempty"`
	// contains filtered or unexported fields
}

func (*ResultSignatureMessage) Descriptor deprecated

func (*ResultSignatureMessage) Descriptor() ([]byte, []int)

Deprecated: Use ResultSignatureMessage.ProtoReflect.Descriptor instead.

func (*ResultSignatureMessage) GetPublicKey

func (x *ResultSignatureMessage) GetPublicKey() []byte

func (*ResultSignatureMessage) GetResultHash

func (x *ResultSignatureMessage) GetResultHash() []byte

func (*ResultSignatureMessage) GetSenderID

func (x *ResultSignatureMessage) GetSenderID() uint32

func (*ResultSignatureMessage) GetSessionID

func (x *ResultSignatureMessage) GetSessionID() string

func (*ResultSignatureMessage) GetSignature

func (x *ResultSignatureMessage) GetSignature() []byte

func (*ResultSignatureMessage) ProtoMessage

func (*ResultSignatureMessage) ProtoMessage()

func (*ResultSignatureMessage) ProtoReflect

func (x *ResultSignatureMessage) ProtoReflect() protoreflect.Message

func (*ResultSignatureMessage) Reset

func (x *ResultSignatureMessage) Reset()

func (*ResultSignatureMessage) String

func (x *ResultSignatureMessage) String() string

type TSSFinalizationMessage

type TSSFinalizationMessage struct {
	SenderID  uint32 `protobuf:"varint,1,opt,name=senderID,proto3" json:"senderID,omitempty"`
	SessionID string `protobuf:"bytes,2,opt,name=sessionID,proto3" json:"sessionID,omitempty"`
	// contains filtered or unexported fields
}

func (*TSSFinalizationMessage) Descriptor deprecated

func (*TSSFinalizationMessage) Descriptor() ([]byte, []int)

Deprecated: Use TSSFinalizationMessage.ProtoReflect.Descriptor instead.

func (*TSSFinalizationMessage) GetSenderID

func (x *TSSFinalizationMessage) GetSenderID() uint32

func (*TSSFinalizationMessage) GetSessionID

func (x *TSSFinalizationMessage) GetSessionID() string

func (*TSSFinalizationMessage) ProtoMessage

func (*TSSFinalizationMessage) ProtoMessage()

func (*TSSFinalizationMessage) ProtoReflect

func (x *TSSFinalizationMessage) ProtoReflect() protoreflect.Message

func (*TSSFinalizationMessage) Reset

func (x *TSSFinalizationMessage) Reset()

func (*TSSFinalizationMessage) String

func (x *TSSFinalizationMessage) String() string

type TSSRoundOneMessage

type TSSRoundOneMessage struct {
	SenderID         uint32 `protobuf:"varint,1,opt,name=senderID,proto3" json:"senderID,omitempty"`
	BroadcastPayload []byte `protobuf:"bytes,2,opt,name=broadcastPayload,proto3" json:"broadcastPayload,omitempty"`
	SessionID        string `protobuf:"bytes,3,opt,name=sessionID,proto3" json:"sessionID,omitempty"`
	// contains filtered or unexported fields
}

func (*TSSRoundOneMessage) Descriptor deprecated

func (*TSSRoundOneMessage) Descriptor() ([]byte, []int)

Deprecated: Use TSSRoundOneMessage.ProtoReflect.Descriptor instead.

func (*TSSRoundOneMessage) GetBroadcastPayload

func (x *TSSRoundOneMessage) GetBroadcastPayload() []byte

func (*TSSRoundOneMessage) GetSenderID

func (x *TSSRoundOneMessage) GetSenderID() uint32

func (*TSSRoundOneMessage) GetSessionID

func (x *TSSRoundOneMessage) GetSessionID() string

func (*TSSRoundOneMessage) ProtoMessage

func (*TSSRoundOneMessage) ProtoMessage()

func (*TSSRoundOneMessage) ProtoReflect

func (x *TSSRoundOneMessage) ProtoReflect() protoreflect.Message

func (*TSSRoundOneMessage) Reset

func (x *TSSRoundOneMessage) Reset()

func (*TSSRoundOneMessage) String

func (x *TSSRoundOneMessage) String() string

type TSSRoundThreeMessage

type TSSRoundThreeMessage struct {
	SenderID         uint32 `protobuf:"varint,1,opt,name=senderID,proto3" json:"senderID,omitempty"`
	BroadcastPayload []byte `protobuf:"bytes,2,opt,name=broadcastPayload,proto3" json:"broadcastPayload,omitempty"`
	SessionID        string `protobuf:"bytes,3,opt,name=sessionID,proto3" json:"sessionID,omitempty"`
	// contains filtered or unexported fields
}

func (*TSSRoundThreeMessage) Descriptor deprecated

func (*TSSRoundThreeMessage) Descriptor() ([]byte, []int)

Deprecated: Use TSSRoundThreeMessage.ProtoReflect.Descriptor instead.

func (*TSSRoundThreeMessage) GetBroadcastPayload

func (x *TSSRoundThreeMessage) GetBroadcastPayload() []byte

func (*TSSRoundThreeMessage) GetSenderID

func (x *TSSRoundThreeMessage) GetSenderID() uint32

func (*TSSRoundThreeMessage) GetSessionID

func (x *TSSRoundThreeMessage) GetSessionID() string

func (*TSSRoundThreeMessage) ProtoMessage

func (*TSSRoundThreeMessage) ProtoMessage()

func (*TSSRoundThreeMessage) ProtoReflect

func (x *TSSRoundThreeMessage) ProtoReflect() protoreflect.Message

func (*TSSRoundThreeMessage) Reset

func (x *TSSRoundThreeMessage) Reset()

func (*TSSRoundThreeMessage) String

func (x *TSSRoundThreeMessage) String() string

type TSSRoundTwoMessage

type TSSRoundTwoMessage struct {
	SenderID         uint32            `protobuf:"varint,1,opt,name=senderID,proto3" json:"senderID,omitempty"`
	BroadcastPayload []byte            `protobuf:"bytes,2,opt,name=broadcastPayload,proto3" json:"broadcastPayload,omitempty"`
	PeersPayload     map[uint32][]byte `` /* 166-byte string literal not displayed */
	SessionID        string            `protobuf:"bytes,4,opt,name=sessionID,proto3" json:"sessionID,omitempty"`
	// contains filtered or unexported fields
}

func (*TSSRoundTwoMessage) Descriptor deprecated

func (*TSSRoundTwoMessage) Descriptor() ([]byte, []int)

Deprecated: Use TSSRoundTwoMessage.ProtoReflect.Descriptor instead.

func (*TSSRoundTwoMessage) GetBroadcastPayload

func (x *TSSRoundTwoMessage) GetBroadcastPayload() []byte

func (*TSSRoundTwoMessage) GetPeersPayload

func (x *TSSRoundTwoMessage) GetPeersPayload() map[uint32][]byte

func (*TSSRoundTwoMessage) GetSenderID

func (x *TSSRoundTwoMessage) GetSenderID() uint32

func (*TSSRoundTwoMessage) GetSessionID

func (x *TSSRoundTwoMessage) GetSessionID() string

func (*TSSRoundTwoMessage) ProtoMessage

func (*TSSRoundTwoMessage) ProtoMessage()

func (*TSSRoundTwoMessage) ProtoReflect

func (x *TSSRoundTwoMessage) ProtoReflect() protoreflect.Message

func (*TSSRoundTwoMessage) Reset

func (x *TSSRoundTwoMessage) Reset()

func (*TSSRoundTwoMessage) String

func (x *TSSRoundTwoMessage) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL