Documentation ¶
Overview ¶
Run a NonceDKG and sign the supplied hash.
This is a simplified implementation. Later the DKG part can be run in advance, while waiting for transactions.
The general workflow is the following:
- Start it upon activation of a step (last stateOutput is approved).
- Exchange the underlying messages until: 2.1. ACSS Intermediate output is received.
- Then wait for the ACS and then the VM to complete: 3.1. pass the ACS result to the nonce-dkg (to complete the nonces). 3.2. pass the VM output as a message to sign (its hash).
- Exchange messages until the signature is produced.
- Output the signature.
TODO: Make sure no two signatures are ever produced by the nonce-dkg for the same
base TX. That would reveal the permanent private key of the committee.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type DSS ¶
type SecretShare ¶
type SecretShare struct {
// contains filtered or unexported fields
}
func NewSecretShare ¶
func NewSecretShare(priShare *share.PriShare, commits []kyber.Point) *SecretShare
func (*SecretShare) Commitments ¶
func (s *SecretShare) Commitments() []kyber.Point
Commitments returns the coefficients of the public polynomial.
func (*SecretShare) PriShare ¶
func (s *SecretShare) PriShare() *share.PriShare
PriShare returns the private share.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.