Свойство | Тип | Описание | |
---|---|---|---|
BadPlayers | HashSet |
||
CallerProtocol | |||
MyInputShares | IList |
Свойство | Тип | Описание | |
---|---|---|---|
ConstructRxPolynomial | IList |
||
CreateWantedPolynomials | bool | ||
GetMultStepCoeffsForCheaters | IList |
||
GetNumberOfComplaints | int | ||
IsMultStepPolynomialLegal | bool | ||
IsMultStepShareLegal | bool | ||
IsNewPublicDataContradictOld | bool | ||
IsPolynomialLegal | bool | ||
IsPublicDataContradictPrivate | bool | ||
IsRecvShareLegal | bool | ||
ReceiveVerifications | void | ||
RemoveCheaterPlayer | void | ||
SendVerifications | void | ||
ShareSimple | void | ||
ShareSimple | void | ||
UpdateRecvShare | void |
Метод | Описание | |
---|---|---|
ByzantineBgwProtocol ( AsyncParty e, |
||
ReductionRandomizationStep ( Zp a, Zp b, Zp ab ) : Zp |
Implementation according to GRR.
|
|
Run ( ) : void | ||
RunReductionRandomization ( Zp ab ) : void |
Implementation according to Ran Canetti
|
Метод | Описание | |
---|---|---|
CompareCoordianteList ( List |
||
FilterPlayers ( IList |
||
GetRecombinedResult ( IList |
||
GetVerifShareMessages ( IList |
||
HandleDealer ( IList |
||
HandleNotDealer ( bool isOrigPolyLegal, IList |
||
IsSecretPolynomialsLegal ( |
Checks if the received polynomials are not null, from the right size and have no null elements */
|
Метод | Описание | |
---|---|---|
ConstructRxPolynomial ( |
||
CreateWantedPolynomials ( IList |
||
GetMultStepCoeffsForCheaters ( int j ) : IList |
||
GetNumberOfComplaints ( IList |
||
IsMultStepPolynomialLegal ( |
||
IsMultStepShareLegal ( |
||
IsNewPublicDataContradictOld ( IList |
||
IsPolynomialLegal ( IList |
||
IsPublicDataContradictPrivate ( |
||
IsRecvShareLegal ( |
||
ReceiveVerifications ( List |
||
RemoveCheaterPlayer ( int playerToVerify ) : void | ||
SendVerifications ( IEnumerable |
||
ShareSimple ( IList |
||
ShareSimple ( Zp sharedSecrets, Stage targetStage ) : void | ||
UpdateRecvShare ( IList |
public ByzantineBgwProtocol ( AsyncParty e, |
||
e | AsyncParty | |
circuit | ||
playerIds | ReadOnlyCollection |
|
playerInput | Zp | |
stateKey | StateKey | |
Результат | System |
protected CompareCoordianteList ( List |
||
f_iValues | List |
|
g_jValues | IList |
|
Результат | IList |
protected FilterPlayers ( IList |
||
players | IList |
|
Результат | void |
protected GetRecombinedResult ( IList |
||
recvList | IList |
|
prime | int | |
Результат | Zp |
protected GetVerifShareMessages ( IList |
||
zPs | IList |
|
playerToVerify | int | |
receivedGoodPoly | bool | |
Результат | IList |
protected HandleDealer ( IList |
||
shareMySecrets | IList |
|
recvSecretShare_i | Zp | |
Результат | void |
protected HandleNotDealer ( bool isOrigPolyLegal, IList |
||
isOrigPolyLegal | bool | |
wrongCoordinatesList | IList |
|
playerToVerify | int | |
recvSecretShare_i | Zp | |
secretPoly_i | ||
Результат | void |
protected IsSecretPolynomialsLegal ( |
||
secretPolynomial | ||
Результат | bool |
public ReductionRandomizationStep ( Zp a, Zp b, Zp ab ) : Zp | ||
a | Zp | |
b | Zp | |
ab | Zp | |
Результат | Zp |
public RunReductionRandomization ( Zp ab ) : void | ||
ab | Zp | |
Результат | void |
protected ByzantineBgwProtocol,MpcLib.MpcProtocols.Bgw CallerProtocol | ||
Результат |