emp-toolkit
HashIO Class Reference

#include <hash_io_channel.h>

Inheritance diagram for HashIO:
IOChannel< HashIO >

Public Member Functions

 HashIO (NetIO *_netio)
 
void send_data_impl (const void *data, int len)
 
void recv_data_impl (void *data, int len)
 
void get_digest (char *dgst)
 
- Public Member Functions inherited from IOChannel< HashIO >
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

Hash h
 
NetIOnetio
 
- Public Attributes inherited from IOChannel< HashIO >
PRGprg
 

Constructor & Destructor Documentation

§ HashIO()

HashIO::HashIO ( NetIO _netio)
inline

Member Function Documentation

§ get_digest()

void HashIO::get_digest ( char *  dgst)
inline

§ recv_data_impl()

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

§ send_data_impl()

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

Member Data Documentation

§ h

Hash HashIO::h

§ netio

NetIO* HashIO::netio

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