emp-toolkit
OTIterated< OTExtension > Class Template Reference

#include <iterated.h>

Inheritance diagram for OTIterated< OTExtension >:
OT< OTIterated< OTExtension > >

Public Member Functions

 OTIterated (NetIO *io, bool is_sender, int buffer_size=1<< 10)
 
 ~OTIterated ()
 
void fill ()
 
void send_impl (const block *data0, const block *data1, int length)
 
void recv_impl (block *data, const bool *b, int length)
 
void send_cot (block *data0, block delta, int length)
 
void recv_cot (block *data, const bool *b, int length)
 
void send_rot (block *data0, block *data1, int length)
 
void recv_rot (block *data, const bool *b, int length)
 
- Public Member Functions inherited from OT< OTIterated< OTExtension > >
 OT (NetIO *nio)
 
void send (const block *data0, const block *data1, int length)
 
void recv (block *data, const bool *b, int length)
 

Public Attributes

OTExtension * seed_ot
 
OTExtension * ot
 
blockk0 = nullptr
 
blockk1 = nullptr
 
bool * sel = nullptr
 
bool is_sender
 
int buffer_size
 
int size = 0
 
PRG prg
 
- Public Attributes inherited from OT< OTIterated< OTExtension > >
NetIOio
 

Constructor & Destructor Documentation

§ OTIterated()

template<typename OTExtension >
OTIterated< OTExtension >::OTIterated ( NetIO io,
bool  is_sender,
int  buffer_size = 1<<10 
)
inline

§ ~OTIterated()

template<typename OTExtension >
OTIterated< OTExtension >::~OTIterated ( )
inline

Member Function Documentation

§ fill()

template<typename OTExtension >
void OTIterated< OTExtension >::fill ( )
inline

§ recv_cot()

template<typename OTExtension >
void OTIterated< OTExtension >::recv_cot ( block data,
const bool *  b,
int  length 
)
inline

§ recv_impl()

template<typename OTExtension >
void OTIterated< OTExtension >::recv_impl ( block data,
const bool *  b,
int  length 
)
inline

§ recv_rot()

template<typename OTExtension >
void OTIterated< OTExtension >::recv_rot ( block data,
const bool *  b,
int  length 
)
inline

§ send_cot()

template<typename OTExtension >
void OTIterated< OTExtension >::send_cot ( block data0,
block  delta,
int  length 
)
inline

§ send_impl()

template<typename OTExtension >
void OTIterated< OTExtension >::send_impl ( const block data0,
const block data1,
int  length 
)
inline

§ send_rot()

template<typename OTExtension >
void OTIterated< OTExtension >::send_rot ( block data0,
block data1,
int  length 
)
inline

Member Data Documentation

§ buffer_size

template<typename OTExtension >
int OTIterated< OTExtension >::buffer_size

§ is_sender

template<typename OTExtension >
bool OTIterated< OTExtension >::is_sender

§ k0

template<typename OTExtension >
block* OTIterated< OTExtension >::k0 = nullptr

§ k1

template<typename OTExtension >
block * OTIterated< OTExtension >::k1 = nullptr

§ ot

template<typename OTExtension >
OTExtension* OTIterated< OTExtension >::ot

§ prg

template<typename OTExtension >
PRG OTIterated< OTExtension >::prg

§ seed_ot

template<typename OTExtension >
OTExtension* OTIterated< OTExtension >::seed_ot

§ sel

template<typename OTExtension >
bool* OTIterated< OTExtension >::sel = nullptr

§ size

template<typename OTExtension >
int OTIterated< OTExtension >::size = 0

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