mirror of
https://github.com/onsonr/sonr.git
synced 2025-03-10 13:07:09 +00:00
23 lines
1.1 KiB
Go
23 lines
1.1 KiB
Go
|
package mpc
|
||
|
|
||
|
import (
|
||
|
"github.com/onsonr/sonr/crypto/core/curves"
|
||
|
"github.com/onsonr/sonr/crypto/core/protocol"
|
||
|
"github.com/onsonr/sonr/crypto/tecdsa/dklsv1/dkg"
|
||
|
)
|
||
|
|
||
|
// ╭───────────────────────────────────────────────────────────╮
|
||
|
// │ Exported Generics │
|
||
|
// ╰───────────────────────────────────────────────────────────╯
|
||
|
|
||
|
type (
|
||
|
AliceOut *dkg.AliceOutput
|
||
|
BobOut *dkg.BobOutput
|
||
|
Point curves.Point
|
||
|
Role string // Role is the type for the role
|
||
|
Message *protocol.Message // Message is the protocol.Message that is used for MPC
|
||
|
Signature *curves.EcdsaSignature // Signature is the type for the signature
|
||
|
RefreshFunc interface{ protocol.Iterator } // RefreshFunc is the type for the refresh function
|
||
|
SignFunc interface{ protocol.Iterator } // SignFunc is the type for the sign function
|
||
|
)
|