#include <yaoserversharing.h>
|
| YaoServerSharing (e_role role, uint32_t sharebitlen, ABYCircuit *circuit, crypto *crypt) |
|
| ~YaoServerSharing () |
|
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 | SendConversionValues (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 Server Sharing class.
YaoServerSharing::YaoServerSharing |
( |
e_role |
role, |
|
|
uint32_t |
sharebitlen, |
|
|
ABYCircuit * |
circuit, |
|
|
crypto * |
crypt |
|
) |
| |
|
inline |
Constructor of the class.
YaoServerSharing::~YaoServerSharing |
( |
| ) |
|
|
inline |
uint32_t YaoServerSharing::AssignInput |
( |
CBitVector & |
input | ) |
|
|
virtual |
Method for assigning the input
- Parameters
-
Implements YaoSharing.
void YaoServerSharing::EvaluateInteractiveOperations |
( |
uint32_t |
level | ) |
|
|
virtual |
Method for evaluating the interactive operations.
- Parameters
-
level | _______________________ |
Implements Sharing.
void YaoServerSharing::EvaluateLocalOperations |
( |
uint32_t |
level | ) |
|
|
virtual |
Method for evaluating the local operations.
- Parameters
-
level | _______________________ |
Implements YaoSharing.
void YaoServerSharing::FinishCircuitLayer |
( |
| ) |
|
|
virtual |
Method for finishing the circuit layer <Better description="" please>="">
Implements YaoSharing.
void YaoServerSharing::FinishSetupPhase |
( |
ABYSetup * |
setup | ) |
|
|
virtual |
Method for finishing the sharing setup.
- Parameters
-
setup | Object for setting up the share. |
Implements YaoSharing.
void YaoServerSharing::GetBuffersToReceive |
( |
vector< BYTE * > & |
rcvbuf, |
|
|
vector< uint32_t > & |
rcvbytes |
|
) |
| |
|
virtual |
Method for receiving the data.
- Parameters
-
rsvbuf | receiver buffer |
rcvsize | data size |
Implements YaoSharing.
void YaoServerSharing::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 YaoServerSharing::GetOutput |
( |
CBitVector & |
out | ) |
|
|
virtual |
Method for getting the output
- Parameters
-
Implements YaoSharing.
void YaoServerSharing::InstantiateGate |
( |
GATE * |
gate | ) |
|
|
virtual |
Method for Instantiating a gate
- Parameters
-
Implements YaoSharing.
void YaoServerSharing::PerformSetupPhase |
( |
ABYSetup * |
setup | ) |
|
|
virtual |
Method for performing the sharing setup.
- Parameters
-
setup | Object for setting up the share. |
Implements YaoSharing.
void YaoServerSharing::PrepareOnlinePhase |
( |
| ) |
|
|
virtual |
Method for preparing the online phase <Better description="" please>="">
Implements YaoSharing.
void YaoServerSharing::PrepareSetupPhase |
( |
ABYSetup * |
setup | ) |
|
|
virtual |
Method for preparing the sharing setup.
- Parameters
-
setup | Object for setting up the share. |
Implements YaoSharing.
void YaoServerSharing::Reset |
( |
| ) |
|
|
virtual |
const char* YaoServerSharing::sharing_type |
( |
| ) |
|
|
inlinevirtual |
Method for knowing the sharing type used.
Implements Sharing.
void YaoServerSharing::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: