Property | Type | Description | |
---|---|---|---|
Circuit | |||
Input | Zp | ||
NumSlots | int | ||
Prime | int |
Property | Type | Description | |
---|---|---|---|
MpcSessions | SessionCollector |
Method | Description | |
---|---|---|
DkmsProtocol ( |
||
Run ( ) : void |
Method | Description | |
---|---|---|
OnMpcFinish ( StateKey stateKey ) : void |
This method is invoked once a heavy-weight SMPC is finished.
|
|
OnMpcSend ( int fromId, int toId, |
||
RunAnchorMpc ( Gate anchor ) : BgwProtocol |
Starts a heavy-weight SMPC instance for an anchor gate player.
|
|
RunChildMpc ( Gate anchor, Gate myGate, Zp myInput ) : BgwProtocol |
Starts a heavy-weight SMPC instance for an SMPC child gate player.
|
|
ShareSecret ( Zp secret, IList |
public DkmsProtocol ( |
||
circuit | ||
p | AsyncParty | |
playerIds | IList |
|
playerInput | Zp | |
numSlots | int | |
stateKey | StateKey | |
return | System |
protected OnMpcFinish ( StateKey stateKey ) : void | ||
stateKey | StateKey | |
return | void |
protected OnMpcSend ( int fromId, int toId, |
||
fromId | int | |
toId | int | |
msg | ||
return | void |
protected RunAnchorMpc ( Gate anchor ) : BgwProtocol | ||
anchor | Gate | |
return | BgwProtocol |
protected RunChildMpc ( Gate anchor, Gate myGate, Zp myInput ) : BgwProtocol | ||
anchor | Gate | |
myGate | Gate | |
myInput | Zp | |
return | BgwProtocol |
protected ShareSecret ( Zp secret, IList |
||
secret | Zp | |
players | IList |
|
key | ||
return | void |