emp-toolkit
CheckIO Class Reference

#include <check_io_channel.h>

Inheritance diagram for CheckIO:
IOChannel< CheckIO >

Public Member Functions

 CheckIO (NetIO *netio)
 
 ~CheckIO ()
 
bool get_check_result ()
 
void recv_data_impl (void *data, int len)
 
void send_data_impl (const void *data, int len)
 
- Public Member Functions inherited from IOChannel< CheckIO >
void send_data (const void *data, int nbyte)
 
void recv_data (void *data, int nbyte)
 
 ~IOChannel ()
 
void set_key (const block *b)
 
void send_data_enc (const void *data, int len)
 
void send_block_enc (const block *data, int len)
 
void send_bn_enc (const bn_t *bn, size_t num)
 
void recv_data_enc (void *data, int len)
 
void recv_block_enc (block *data, int len)
 
void send_eb_enc (const eb_t *eb, size_t num)
 
void recv_eb_enc (eb_t *eb, size_t num)
 
void recv_bn_enc (bn_t *bn, size_t num)
 
void send_block (const block *data, int nblock)
 
void recv_block (block *data, int nblock)
 
void send_eb (const eb_t *eb, size_t num)
 
void recv_eb (eb_t *eb, size_t num)
 
void send_bn (const bn_t *bn, size_t num)
 
void recv_bn (bn_t *bn, size_t num)
 

Public Attributes

NetIOnetio
 
bool check_result = true
 
char * buffer = nullptr
 
char * net_buffer = nullptr
 
int check_size = 0
 
- Public Attributes inherited from IOChannel< CheckIO >
PRGprg
 

Constructor & Destructor Documentation

§ CheckIO()

CheckIO::CheckIO ( NetIO netio)
inline

§ ~CheckIO()

CheckIO::~CheckIO ( )
inline

Member Function Documentation

§ get_check_result()

bool CheckIO::get_check_result ( )
inline

§ recv_data_impl()

void CheckIO::recv_data_impl ( void *  data,
int  len 
)
inline

§ send_data_impl()

void CheckIO::send_data_impl ( const void *  data,
int  len 
)
inline

Member Data Documentation

§ buffer

char* CheckIO::buffer = nullptr

§ check_result

bool CheckIO::check_result = true

§ check_size

int CheckIO::check_size = 0

§ net_buffer

char* CheckIO::net_buffer = nullptr

§ netio

NetIO* CheckIO::netio

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