Documentation ¶
Index ¶
Constants ¶
View Source
const BufferSize = 1_048_576
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Keygen ¶
type Keygen struct {
// contains filtered or unexported fields
}
func (*Keygen) Initialize ¶
func (k *Keygen) Initialize()
func (*Keygen) ProcessLoop ¶
func (k *Keygen) ProcessLoop()
type KeygenSimple ¶
type KeygenSimple struct {
// contains filtered or unexported fields
}
func NewKeygenSimple ¶
func NewKeygenSimple(i int, t int, n int) *KeygenSimple
func (*KeygenSimple) Free ¶
func (k *KeygenSimple) Free()
func (*KeygenSimple) Init ¶
func (k *KeygenSimple) Init() []string
func (*KeygenSimple) Output ¶
func (k *KeygenSimple) Output() *string
type OfflineStage ¶
type OfflineStage struct {
// contains filtered or unexported fields
}
func NewOfflineStage ¶
func (*OfflineStage) Free ¶
func (k *OfflineStage) Free()
func (*OfflineStage) Initialize ¶
func (k *OfflineStage) Initialize()
func (*OfflineStage) Output ¶
func (k *OfflineStage) Output() *SignManual
func (*OfflineStage) ProcessLoop ¶
func (k *OfflineStage) ProcessLoop()
type OfflineStageSimple ¶
type OfflineStageSimple struct {
// contains filtered or unexported fields
}
func NewOfflineStageSimple ¶
func (*OfflineStageSimple) Free ¶
func (k *OfflineStageSimple) Free()
func (*OfflineStageSimple) Handle ¶
func (k *OfflineStageSimple) Handle(msg string) (bool, []string, error)
func (*OfflineStageSimple) Init ¶
func (k *OfflineStageSimple) Init() []string
func (*OfflineStageSimple) Output ¶
func (k *OfflineStageSimple) Output() *SignManual
type PMArray ¶
type PMArray []ProtocolMessage
type ProtocolMessage ¶
type ProtocolMessage struct { Sender int `json:"sender"` Receiver interface{} `json:"receiver"` Body struct { Round1 interface{} `json:"Round1,omitempty"` Round2 interface{} `json:"Round2,omitempty"` Round3 interface{} `json:"Round3,omitempty"` Round4 interface{} `json:"Round4,omitempty"` M1 interface{} `json:"M1,omitempty"` M2 interface{} `json:"M2,omitempty"` M3 interface{} `json:"M3,omitempty"` M4 interface{} `json:"M4,omitempty"` M5 interface{} `json:"M5,omitempty"` M6 interface{} `json:"M6,omitempty"` } `json:"body"` }
type SignManual ¶
type SignManual struct {
// contains filtered or unexported fields
}
func NewSignManual ¶
func NewSignManual(i int, n int, state unsafe.Pointer) *SignManual
func (*SignManual) Complete ¶
func (k *SignManual) Complete(partialSigs []string) *string
func (*SignManual) Free ¶
func (k *SignManual) Free()
func (*SignManual) GetPartialSignature ¶
func (k *SignManual) GetPartialSignature() *string
Source Files ¶
Click to show internal directories.
Click to hide internal directories.