ABY Framework  1.0
Arithmetic Bool Yao Framework
 All Classes Files Functions Variables Enumerations Enumerator Macros
Public Member Functions | List of all members
ABYCircuit Class Reference

Public Member Functions

 ABYCircuit (uint32_t maxgates)
 
void Cleanup ()
 
void Reset ()
 
GATEGates ()
 
uint32_t PutPrimitiveGate (e_gatetype type, uint32_t inleft, uint32_t inright, uint32_t rounds)
 
uint32_t PutNonLinearVectorGate (e_gatetype type, uint32_t choiceinput, uint32_t vectorinput, uint32_t rounds)
 
uint32_t PutCombinerGate (vector< uint32_t > &input)
 
vector< uint32_t > PutSplitterGate (uint32_t input)
 
uint32_t PutCombineAtPosGate (vector< uint32_t > &input, uint32_t pos)
 
uint32_t PutSubsetGate (uint32_t input, uint32_t *posids, uint32_t nvals)
 
uint32_t PutRepeaterGate (uint32_t input, uint32_t nvals)
 
vector< uint32_t > PutRepeaterGate (vector< uint32_t > input, uint32_t nvals)
 
uint32_t PutPermutationGate ()
 
uint32_t PutOUTGate (uint32_t in, e_role dst, uint32_t rounds)
 
vector< uint32_t > PutOUTGate (vector< uint32_t > in, e_role dst, uint32_t rounds)
 
uint32_t PutINGate (e_sharing context, uint32_t nvals, uint32_t sharebitlen, e_role src, uint32_t rounds)
 
uint32_t PutConstantGate (e_sharing context, UGATE_T val, uint32_t nvals, uint32_t sharebitlen)
 
uint32_t PutINVGate (uint32_t in)
 
uint32_t PutCONVGate (vector< uint32_t > &in, uint32_t nrounds, e_sharing dst, uint32_t sharebitlen)
 
uint32_t PutCallbackGate (vector< uint32_t > in, uint32_t rounds, void(*callback)(GATE *, void *), void *infos, uint32_t nvals)
 
uint32_t GetGateHead ()
 
uint32_t GetMaxVectorSize ()
 
void FinishCircuitGeneration ()
 

The documentation for this class was generated from the following files: