Documentation
¶
Index ¶
- Constants
- func NewThreshDecrypt(n *onet.TreeNodeInstance) (onet.ProtocolInstance, error)
- func NewVerifyDKG(n *onet.TreeNodeInstance) (onet.ProtocolInstance, error)
- type DecryptShare
- type DecryptShareResponse
- type Partial
- type Reconstruct
- type ReconstructResponse
- type Share
- type ThreshDecrypt
- type VerifyDKG
- type VerifyRequest
- type VerifyResponse
Constants ¶
View Source
const DecryptProtoName = "threshold_decrypt"
View Source
const VerifyDKGProtoName = "threshold_verifydkg"
Variables ¶
This section is empty.
Functions ¶
func NewThreshDecrypt ¶
func NewThreshDecrypt(n *onet.TreeNodeInstance) (onet.ProtocolInstance, error)
func NewVerifyDKG ¶
func NewVerifyDKG(n *onet.TreeNodeInstance) (onet.ProtocolInstance, error)
Types ¶
type DecryptShare ¶
type DecryptShare struct {
}
type DecryptShareResponse ¶
type DecryptShareResponse struct {
}
type ReconstructResponse ¶
type ReconstructResponse struct {
InSignatures map[string]bdnproto.BdnSignature
OutSignatures map[string]bdnproto.BdnSignature
}
type ThreshDecrypt ¶
type ThreshDecrypt struct {
*onet.TreeNodeInstance
DKGID [32]byte
Poly *share.PubPoly
DecInput *base.DecryptInput
ExecReq *core.ExecutionRequest
InputHashes map[string][]byte
KP *key.Pair
Ps []kyber.Point
InputReceipts map[string]*core.OpcodeReceipt
OutputReceipts map[string]*core.OpcodeReceipt
Threshold int
Success int
Failures int
Decrypted chan bool
// contains filtered or unexported fields
}
func (*ThreshDecrypt) Start ¶
func (d *ThreshDecrypt) Start() error
type VerifyDKG ¶
type VerifyRequest ¶
type VerifyRequest struct {
ExecReq *core.ExecutionRequest
}
type VerifyResponse ¶
type VerifyResponse struct {
Signatures map[string]bdnproto.BdnSignature
}
Click to show internal directories.
Click to hide internal directories.