C# Class MpcLib.DistributedSystem.Anonymity.Maskz.MaskzNetwork

Inheritance: DkmsNetwork
Exibir arquivo Open project: mahdiz/mpclib

Public Methods

Method Description
Init ( int numPlayers, int numQuorums, int numSlots, int quorumSize, QuorumBuildingMethod qbMethod, AdversaryModel model, Zp inputs, int prime ) : void
MaskzNetwork ( EventSimulator s, int seed ) : System

Protected Methods

Method Description
CreateByzantineCircuit ( int numPlayers, int numQuorums, int numSlots, int quorumSize, int prime ) : MpcProtocols.Dkms.Circuit
CreateGateTree ( MpcProtocols root, int numLeaves, Zp quorumIndex, bool topToBottom ) : void
CreateHbcCircuit ( int numPlayers, int numQuorums, int numSlots, int quorumSize, int prime ) : Circuit
GetGatesAndLeaves ( Gate root, bool topToBottom, List gates ) : IEnumerable

Method Details

CreateByzantineCircuit() protected static method

protected static CreateByzantineCircuit ( int numPlayers, int numQuorums, int numSlots, int quorumSize, int prime ) : MpcProtocols.Dkms.Circuit
numPlayers int
numQuorums int
numSlots int
quorumSize int
prime int
return MpcProtocols.Dkms.Circuit

CreateGateTree() protected static method

protected static CreateGateTree ( MpcProtocols root, int numLeaves, Zp quorumIndex, bool topToBottom ) : void
root MpcProtocols
numLeaves int
quorumIndex Zp
topToBottom bool
return void

CreateHbcCircuit() protected static method

protected static CreateHbcCircuit ( int numPlayers, int numQuorums, int numSlots, int quorumSize, int prime ) : Circuit
numPlayers int
numQuorums int
numSlots int
quorumSize int
prime int
return MpcLib.MpcProtocols.Dkms.Circuit

GetGatesAndLeaves() protected static method

protected static GetGatesAndLeaves ( Gate root, bool topToBottom, List gates ) : IEnumerable
root Gate
topToBottom bool
gates List
return IEnumerable

Init() public method

public Init ( int numPlayers, int numQuorums, int numSlots, int quorumSize, QuorumBuildingMethod qbMethod, AdversaryModel model, Zp inputs, int prime ) : void
numPlayers int
numQuorums int
numSlots int
quorumSize int
qbMethod QuorumBuildingMethod
model AdversaryModel
inputs Zp
prime int
return void

MaskzNetwork() public method

public MaskzNetwork ( EventSimulator s, int seed ) : System
s EventSimulator
seed int
return System