emp-toolkit
OTNP Class Reference

#include <np.h>

Inheritance diagram for OTNP:
OT< OTNP >

Public Member Functions

 OTNP (NetIO *io)
 
void send_impl (const block *data0, const block *data1, int length)
 
void recv_impl (block *data, const bool *b, int length)
 
- Public Member Functions inherited from OT< OTNP >
 OT (NetIO *nio)
 
void send (const block *data0, const block *data1, int length)
 
void recv (block *data, const bool *b, int length)
 

Public Attributes

int cnt
 
eb_t g
 
eb_t C
 
const eb_t * gTbl
 
bn_t q
 
PRG prg
 
- Public Attributes inherited from OT< OTNP >
NetIOio
 

Constructor & Destructor Documentation

§ OTNP()

OTNP::OTNP ( NetIO io)
inline

Member Function Documentation

§ recv_impl()

void OTNP::recv_impl ( block data,
const bool *  b,
int  length 
)
inline

§ send_impl()

void OTNP::send_impl ( const block data0,
const block data1,
int  length 
)
inline

Member Data Documentation

§ C

eb_t OTNP::C

§ cnt

int OTNP::cnt

§ g

eb_t OTNP::g

§ gTbl

const eb_t* OTNP::gTbl

§ prg

PRG OTNP::prg

§ q

bn_t OTNP::q

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