C# 클래스 MpcLib.MpcProtocols.Dkms.DkmsProtocol

Implements the MPC protocol of Dani, King, Movahedi, and Saia (DKMS'12).
상속: AsyncProtocol
파일 보기 프로젝트 열기: mahdiz/mpclib

공개 프로퍼티들

프로퍼티 타입 설명
Circuit Circuit
Input Zp
NumSlots int
Prime int

보호된 프로퍼티들

프로퍼티 타입 설명
MpcSessions SessionCollector

공개 메소드들

메소드 설명
DkmsProtocol ( Circuit circuit, AsyncParty p, IList playerIds, Zp playerInput, int numSlots, StateKey stateKey ) : System
Run ( ) : void

보호된 메소드들

메소드 설명
OnMpcFinish ( StateKey stateKey ) : void

This method is invoked once a heavy-weight SMPC is finished.

OnMpcSend ( int fromId, int toId, Msg msg ) : void
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 players, DkmsKey key ) : void

메소드 상세

DkmsProtocol() 공개 메소드

public DkmsProtocol ( Circuit circuit, AsyncParty p, IList playerIds, Zp playerInput, int numSlots, StateKey stateKey ) : System
circuit Circuit
p AsyncParty
playerIds IList
playerInput Zp
numSlots int
stateKey StateKey
리턴 System

OnMpcFinish() 보호된 메소드

This method is invoked once a heavy-weight SMPC is finished.
protected OnMpcFinish ( StateKey stateKey ) : void
stateKey StateKey
리턴 void

OnMpcSend() 보호된 메소드

protected OnMpcSend ( int fromId, int toId, Msg msg ) : void
fromId int
toId int
msg MpcLib.DistributedSystem.Msg
리턴 void

Run() 공개 메소드

public Run ( ) : void
리턴 void

RunAnchorMpc() 보호된 메소드

Starts a heavy-weight SMPC instance for an anchor gate player.
protected RunAnchorMpc ( Gate anchor ) : BgwProtocol
anchor Gate
리턴 BgwProtocol

RunChildMpc() 보호된 메소드

Starts a heavy-weight SMPC instance for an SMPC child gate player.
protected RunChildMpc ( Gate anchor, Gate myGate, Zp myInput ) : BgwProtocol
anchor Gate
myGate Gate
myInput Zp
리턴 BgwProtocol

ShareSecret() 보호된 메소드

protected ShareSecret ( Zp secret, IList players, DkmsKey key ) : void
secret Zp
players IList
key DkmsKey
리턴 void

프로퍼티 상세

Circuit 공개적으로 프로퍼티

public Circuit,MpcLib.MpcProtocols.Dkms Circuit
리턴 Circuit

Input 공개적으로 프로퍼티

public Zp Input
리턴 Zp

MpcSessions 보호되어 있는 프로퍼티

protected SessionCollector MpcSessions
리턴 SessionCollector

NumSlots 공개적으로 프로퍼티

public int NumSlots
리턴 int

Prime 공개적으로 프로퍼티

public int Prime
리턴 int