ABY Framework
1.0
Arithmetic Bool Yao Framework
|
#include <arithsharing.h>
Public Member Functions | |
ArithSharing (e_role role, uint32_t sharebitlen, ABYCircuit *circuit, crypto *crypt, e_mt_gen_alg mt_alg) | |
~ArithSharing () | |
void | Reset () |
void | PrepareSetupPhase (ABYSetup *setup) |
void | PerformSetupPhase (ABYSetup *setup) |
void | FinishSetupPhase (ABYSetup *setup) |
void | EvaluateLocalOperations (uint32_t gateid) |
void | EvaluateInteractiveOperations (uint32_t gateid) |
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) |
uint32_t | AssignInput (CBitVector &input) |
uint32_t | GetOutput (CBitVector &out) |
uint32_t | GetMaxCommunicationRounds () |
uint32_t | GetNumNonLinearOperations () |
Circuit * | GetCircuitBuildRoutine () |
const char * | sharing_type () |
void | PrintPerformanceStatistics () |
void | EvaluateSIMDGate (uint32_t gateid) |
void | EvaluateINVGate (GATE *gate) |
void | EvaluateCONVGate (GATE *gate) |
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 |
Arithemetic Sharing Class.
|
inline |
Constructor of the class.
|
inline |
Destructor of the class.
|
virtual |
void ArithSharing< T >::EvaluateCONVGate | ( | GATE * | gate | ) |
Evaluating Conversion Gate.
gate | Object of the gate to be evaluated. |
|
virtual |
Method for evaluating the interactive operations.
level | _______________________ |
Implements Sharing.
void ArithSharing< T >::EvaluateINVGate | ( | GATE * | gate | ) |
Evaluating Inversion Gate.
gate | Object of the gate to be evaluated. |
|
virtual |
Method for evaluating the local operations.
level | _______________________ |
Implements Sharing.
void ArithSharing< T >::EvaluateSIMDGate | ( | uint32_t | gateid | ) |
Evaluating SIMD Gate.
gateid | Identifier of the gate to be evaluated. |
|
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 |
|
virtual |
|
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.
|
virtual |
Method for finding the used gate with the gateid.
gateid | Id of the used gate. |
Implements Sharing.