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
OTExtRec Class Reference
Collaboration diagram for OTExtRec:
Collaboration graph
[legend]

Classes

class  OTReceiverThread
 

Public Member Functions

 OTExtRec (uint32_t nSndVals, uint32_t nOTs, uint32_t bitlength, crypto *crypt, CSocket *sock, BYTE *keybytes, CBitVector &choices, CBitVector &ret, BYTE protocol, int nbaseOTs=-1, int nbaseseeds=-1)
 
 OTExtRec (uint32_t nSndVals, crypto *crypt, CSocket *sock, BYTE *keybytes, int nbaseOTs=-1, int nbaseseeds=-1)
 
void Init (uint32_t nSndVals, crypto *crypt, CSocket *sock, BYTE *keybytes, int nbaseOTs, int nbaseseeds)
 
BOOL receive (uint32_t numOTs, uint32_t bitlength, CBitVector &choices, CBitVector &ret, BYTE type, uint32_t numThreads, MaskingFunction *maskfct)
 
BOOL receive (uint32_t numThreads)
 
BOOL OTReceiverRoutine (uint32_t id, uint32_t myNumOTs)
 
void ReceiveAndProcess (uint32_t numThreads)
 
void BuildMatrices (CBitVector &T, CBitVector &SndBuf, uint32_t numblocks, uint32_t ctr, BYTE *ctr_buf)
 
void HashValues (CBitVector &T, CBitVector &seedbuf, uint32_t ctr, uint32_t lim)
 
BOOL verifyOT (uint32_t myNumOTs)
 

Protected Attributes

BYTE m_eOTFlav
 
uint32_t m_nSndVals
 
uint32_t m_nOTs
 
uint32_t m_nBitLength
 
uint32_t m_nCounter
 
uint32_t m_nSymSecParam
 
uint32_t m_nBaseOTs
 
cryptom_cCrypt
 
CSocketm_vSockets
 
CBitVector m_nChoices
 
CBitVector m_nRet
 
CBitVector m_vTempOTMasks
 
MaskingFunctionm_fMaskFct
 
AES_KEY_CTX * m_vKeySeedMtx
 
AES_KEY_CTX * m_kCRFKey
 

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