emp-toolkit
HcOT Class Reference

#include <hcot.h>

Public Member Functions

 HcOT (bool is_sender, NetIO *_io, int _k, int l, block *seed=nullptr)
 
 ~HcOT ()
 
void send (eb_tpl *L)
 
void recv (eb_t *L, bool *b)
 
void open (eb_tpl *Xs, const eb_t *old_X, block seed, bool *b, int index)
 

Public Attributes

bn_t y
 
bn_t alpha0
 
bn_t alpha1
 
eb_t g [2][EB_TABLE_MAX]
 
eb_t h [2][EB_TABLE_MAX]
 
bn_t * r = nullptr
 
NetIOio
 
bool sender
 
PRG prg
 
bn_t q
 
int K
 
PRG ** prgs = nullptr
 
int length
 
eb_tplY = nullptr
 

Constructor & Destructor Documentation

§ HcOT()

HcOT::HcOT ( bool  is_sender,
NetIO _io,
int  _k,
int  l,
block seed = nullptr 
)
inline

§ ~HcOT()

HcOT::~HcOT ( )
inline

Member Function Documentation

§ open()

void HcOT::open ( eb_tpl Xs,
const eb_t *  old_X,
block  seed,
bool *  b,
int  index 
)
inline

§ recv()

void HcOT::recv ( eb_t *  L,
bool *  b 
)
inline

§ send()

void HcOT::send ( eb_tpl L)
inline

Member Data Documentation

§ alpha0

bn_t HcOT::alpha0

§ alpha1

bn_t HcOT::alpha1

§ g

eb_t HcOT::g[2][EB_TABLE_MAX]

§ h

eb_t HcOT::h[2][EB_TABLE_MAX]

§ io

NetIO* HcOT::io

§ K

int HcOT::K

§ length

int HcOT::length

§ prg

PRG HcOT::prg

§ prgs

PRG** HcOT::prgs = nullptr

§ q

bn_t HcOT::q

§ r

bn_t* HcOT::r = nullptr

§ sender

bool HcOT::sender

§ y

bn_t HcOT::y

§ Y

eb_tpl* HcOT::Y = nullptr

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