ABY Framework
1.0
Arithmetic Bool Yao Framework
|
#include <boolsharing.h>
Public Member Functions | |
BoolSharing (e_role role, uint32_t sharebitlen, ABYCircuit *circuit, crypto *crypt) | |
~BoolSharing () | |
void | PrepareSetupPhase (ABYSetup *setup) |
void | PerformSetupPhase (ABYSetup *setup) |
void | FinishSetupPhase (ABYSetup *setup) |
void | EvaluateLocalOperations (uint32_t level) |
void | EvaluateInteractiveOperations (uint32_t level) |
void | FinishCircuitLayer () |
void | PrepareOnlinePhase () |
void | InstantiateGate (GATE *gate) |
void | UsedGate (uint32_t gateid) |
void | GetDataToSend (vector< BYTE * > &sendbuf, vector< uint32_t > &bytesize) |
void | GetBuffersToReceive (vector< BYTE * > &rcvbuf, vector< uint32_t > &rcvbytes) |
void | EvaluateSIMDGate (uint32_t gateid) |
Circuit * | GetCircuitBuildRoutine () |
uint32_t | AssignInput (CBitVector &input) |
uint32_t | GetOutput (CBitVector &out) |
uint32_t | GetMaxCommunicationRounds () |
uint32_t | GetNumNonLinearOperations () |
void | Reset () |
vector< uint32_t > | GetNumOTs () |
const char * | sharing_type () |
void | PrintPerformanceStatistics () |
Public Member Functions inherited from Sharing | |
Sharing (e_role role, uint32_t sharebitlen, ABYCircuit *circuit, crypto *crypt) | |
Initialises the members of the class. More... | |
~Sharing () | |
Additional Inherited Members | |
Protected Member Functions inherited from Sharing | |
void | EvaluateCallbackGate (uint32_t gateid) |
Protected Attributes inherited from Sharing | |
uint32_t | m_nShareBitLen |
GATE * | m_pGates |
ABYCircuit * | m_pCircuit |
e_role | m_eRole |
uint32_t | m_nSecParamBytes |
crypto * | m_cCrypto |
BOOL SHARING - <DETAILED explanation="" please>="">
|
inline |
Constructor of the class.
|
inline |
Destructor of the class.
|
virtual |
|
virtual |
Method for evaluating the interactive operations.
level | _______________________ |
Implements Sharing.
|
virtual |
Method for evaluating the local operations.
level | _______________________ |
Implements Sharing.
|
virtual |
Method for finishing the circuit layer <Better description="" please>="">
Implements Sharing.
|
virtual |
Method for finishing the sharing setup.
setup | Object for setting up the share. |
Implements Sharing.
|
virtual |
Method for receiving the data.
rsvbuf | receiver buffer |
rcvsize | data size |
Implements Sharing.
|
inlinevirtual |
Method for _________________________________
Implements Sharing.
|
virtual |
|
inlinevirtual |
Method for finding the maximum communication rounds.
Implements Sharing.
|
inlinevirtual |
Method for finding the number of non-linear operations.
Implements Sharing.
|
virtual |
|
inlinevirtual |
|
virtual |
Method for performing the sharing setup.
setup | Object for setting up the share. |
Implements Sharing.
|
virtual |
Method for preparing the online phase <Better description="" please>="">
Implements Sharing.
|
virtual |
Method for preparing the sharing setup.
setup | Object for setting up the share. |
Implements Sharing.
|
virtual |
Method for printing the performance statistics.
Implements Sharing.
|
virtual |
Reset method
Implements Sharing.
|
inlinevirtual |
Method for knowing the sharing type used.
Implements Sharing.
|
inlinevirtual |
Method for finding the used gate with the gateid.
gateid | Id of the used gate. |
Implements Sharing.