#include <yaoclientsharing.h>
|
| YaoClientSharing (e_role role, uint32_t sharebitlen, ABYCircuit *circuit, crypto *crypt) |
|
| ~YaoClientSharing () |
|
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 | EvaluateConversionGate (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) |
|
const char * | sharing_type () |
|
| YaoSharing (e_role role, uint32_t sharebitlen, ABYCircuit *circuit, crypto *crypt) |
|
| ~YaoSharing () |
|
uint32_t | GetMaxCommunicationRounds () |
|
uint32_t | GetNumNonLinearOperations () |
|
Circuit * | GetCircuitBuildRoutine () |
|
void | PrintPerformanceStatistics () |
|
void | EvaluateSIMDGate (uint32_t gateid) |
|
| Sharing (e_role role, uint32_t sharebitlen, ABYCircuit *circuit, crypto *crypt) |
| Initialises the members of the class. More...
|
|
| ~Sharing () |
|
Yao Client Sharing class.
YaoClientSharing::YaoClientSharing |
( |
e_role |
role, |
|
|
uint32_t |
sharebitlen, |
|
|
ABYCircuit * |
circuit, |
|
|
crypto * |
crypt |
|
) |
| |
|
inline |
Constructor of the class.
YaoClientSharing::~YaoClientSharing |
( |
| ) |
|
|
inline |
uint32_t YaoClientSharing::AssignInput |
( |
CBitVector & |
input | ) |
|
|
virtual |
Method for assigning the input
- Parameters
-
Implements YaoSharing.
void YaoClientSharing::EvaluateInteractiveOperations |
( |
uint32_t |
level | ) |
|
|
virtual |
Method for evaluating the interactive operations.
- Parameters
-
level | _______________________ |
Implements Sharing.
void YaoClientSharing::EvaluateLocalOperations |
( |
uint32_t |
level | ) |
|
|
virtual |
Method for evaluating the local operations.
- Parameters
-
level | _______________________ |
Implements YaoSharing.
void YaoClientSharing::FinishCircuitLayer |
( |
| ) |
|
|
virtual |
Method for finishing the circuit layer <Better description="" please>="">
Implements YaoSharing.
void YaoClientSharing::FinishSetupPhase |
( |
ABYSetup * |
setup | ) |
|
|
virtual |
Method for finishing the sharing setup.
- Parameters
-
setup | Object for setting up the share. |
Implements YaoSharing.
void YaoClientSharing::GetBuffersToReceive |
( |
vector< BYTE * > & |
rcvbuf, |
|
|
vector< uint32_t > & |
rcvbytes |
|
) |
| |
|
virtual |
Method for receiving the data.
- Parameters
-
rsvbuf | receiver buffer |
rcvsize | data size |
Implements YaoSharing.
void YaoClientSharing::GetDataToSend |
( |
vector< BYTE * > & |
sendbuf, |
|
|
vector< uint32_t > & |
bytesize |
|
) |
| |
|
virtual |
Method for sending the data.
- Parameters
-
sendbuf | sender buffer |
bytesize | data size |
Implements YaoSharing.
uint32_t YaoClientSharing::GetOutput |
( |
CBitVector & |
out | ) |
|
|
virtual |
Method for getting the output
- Parameters
-
Implements YaoSharing.
void YaoClientSharing::InstantiateGate |
( |
GATE * |
gate | ) |
|
|
virtual |
Method for Instantiating a gate
- Parameters
-
Implements YaoSharing.
void YaoClientSharing::PerformSetupPhase |
( |
ABYSetup * |
setup | ) |
|
|
virtual |
Method for performing the sharing setup.
- Parameters
-
setup | Object for setting up the share. |
Implements YaoSharing.
void YaoClientSharing::PrepareOnlinePhase |
( |
| ) |
|
|
virtual |
Method for preparing the online phase <Better description="" please>="">
Implements YaoSharing.
void YaoClientSharing::PrepareSetupPhase |
( |
ABYSetup * |
setup | ) |
|
|
virtual |
Method for preparing the sharing setup.
- Parameters
-
setup | Object for setting up the share. |
Implements YaoSharing.
void YaoClientSharing::Reset |
( |
| ) |
|
|
virtual |
const char* YaoClientSharing::sharing_type |
( |
| ) |
|
|
inlinevirtual |
Method for knowing the sharing type used.
Implements Sharing.
void YaoClientSharing::UsedGate |
( |
uint32_t |
gateid | ) |
|
|
virtual |
Method for finding the used gate with the gateid.
- Parameters
-
gateid | Id of the used gate. |
Implements YaoSharing.
The documentation for this class was generated from the following files: