ABY Framework  1.0
Arithmetic Bool Yao Framework
 All Classes Files Functions Variables Enumerations Enumerator Macros
Classes | Public Member Functions | Protected Attributes | List of all members
OTExtSnd Class Reference
Collaboration diagram for OTExtSnd:
Collaboration graph
[legend]

Classes

class  OTSenderThread
 

Public Member Functions

 OTExtSnd (uint32_t nSndVals, uint32_t nOTs, uint32_t bitlength, crypto *crypt, CSocket *sock, CBitVector &U, BYTE *keybytes, CBitVector &x0, CBitVector &x1, BYTE type, int nbaseOTs=-1, int nchecks=-1, int nbaseseeds=-1)
 
 OTExtSnd (uint32_t nSndVals, crypto *crypt, CSocket *sock, CBitVector &U, BYTE *keybytes, int nbaseOTs=-1, int nchecks=-1, int nbaseseeds=-1)
 
void Init (uint32_t nSndVals, crypto *crypt, CSocket *sock, CBitVector &U, BYTE *keybytes, int nbaseOTs, int nchecks, int nbaseseeds)
 
BOOL send (uint32_t numOTs, uint32_t bitlength, CBitVector &s0, CBitVector &s1, BYTE type, uint32_t numThreads, MaskingFunction *maskfct)
 
BOOL send (uint32_t numThreads)
 
BOOL OTSenderRoutine (uint32_t id, uint32_t myNumOTs)
 
void BuildQMatrix (CBitVector &T, CBitVector &RcvBuf, uint32_t blocksize, BYTE *ctr)
 
void ProcessAndEnqueue (CBitVector *snd_buf, uint32_t id, uint32_t progress, uint32_t processedOTs)
 
void SendBlocks (uint32_t numThreads)
 
void MaskInputs (CBitVector &Q, CBitVector *seedbuf, CBitVector *snd_buf, uint32_t ctr, uint32_t processedOTs)
 
BOOL verifyOT (uint32_t myNumOTs)
 

Protected Attributes

BYTE m_bProtocol
 
uint32_t m_nSndVals
 
uint32_t m_nOTs
 
uint32_t m_nBitLength
 
uint32_t m_nCounter
 
uint32_t m_nBlocks
 
uint32_t m_nSymSecParam
 
uint32_t m_nBaseOTs
 
cryptom_cCrypt
 
CSocketm_vSockets
 
CBitVector m_vU
 
CBitVectorm_vValues
 
MaskingFunctionm_fMaskFct
 
AES_KEY_CTX * m_vKeySeeds
 
OTBlockm_sBlockHead
 
OTBlockm_sBlockTail
 
CLockm_lSendLock
 
BYTE * m_vSeed
 
AES_KEY_CTX * m_kCRFKey
 

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