emp-toolkit
IV Class Reference

#include <iv.h>

Public Member Functions

 ~IV ()
 
 IV (NetIO *io, int party, int n1, int _n2, int n3)
 
bool evalgAlice (void *f)
 
bool evalgBob (void *f, bool *output)
 
bool checkf1Bob (void *f)
 
bool checkf1Alice (bool *b, void *f)
 
bool checkf2Alice (void *f)
 
bool checkf2Bob (bool *b, void *f)
 

Public Attributes

const bool is_check = true
 
const bool is_evaluate = false
 
Elgamalelgamal
 
NetIOio
 
int party
 
int n1
 
int n2
 
int n3
 
PRG prg
 
PRP prp
 
MOTExtensionot
 
Commitment commitment
 
const int ssp = 40
 
blockseed = nullptr
 
blockkey = nullptr
 
blockkey_seed = nullptr
 
blockhcot_seed = nullptr
 
blockY0 = nullptr
 
blockY1 = nullptr
 
blockseed_Y0 = nullptr
 
blockseed_Y1 = nullptr
 
bool * choose = nullptr
 
PRG ** prgs = nullptr
 
blockdeltas = nullptr
 
bool * input1
 
bool * input2
 
XorTreexortree
 

Constructor & Destructor Documentation

§ ~IV()

IV::~IV ( )
inline

§ IV()

IV::IV ( NetIO io,
int  party,
int  n1,
int  _n2,
int  n3 
)
inline

Member Function Documentation

§ checkf1Alice()

bool IV::checkf1Alice ( bool *  b,
void *  f 
)
inline

§ checkf1Bob()

bool IV::checkf1Bob ( void *  f)
inline

§ checkf2Alice()

bool IV::checkf2Alice ( void *  f)
inline

§ checkf2Bob()

bool IV::checkf2Bob ( bool *  b,
void *  f 
)
inline

§ evalgAlice()

bool IV::evalgAlice ( void *  f)
inline

§ evalgBob()

bool IV::evalgBob ( void *  f,
bool *  output 
)
inline

Member Data Documentation

§ choose

bool* IV::choose = nullptr

§ commitment

Commitment IV::commitment

§ deltas

block* IV::deltas = nullptr

§ elgamal

Elgamal* IV::elgamal

§ hcot_seed

block * IV::hcot_seed = nullptr

§ input1

bool* IV::input1

§ input2

bool* IV::input2

§ io

NetIO* IV::io

§ is_check

const bool IV::is_check = true

§ is_evaluate

const bool IV::is_evaluate = false

§ key

block * IV::key = nullptr

§ key_seed

block * IV::key_seed = nullptr

§ n1

int IV::n1

§ n2

int IV::n2

§ n3

int IV::n3

§ ot

MOTExtension* IV::ot

§ party

int IV::party

§ prg

PRG IV::prg

§ prgs

PRG** IV::prgs = nullptr

§ prp

PRP IV::prp

§ seed

block* IV::seed = nullptr

§ seed_Y0

block* IV::seed_Y0 = nullptr

§ seed_Y1

block* IV::seed_Y1 = nullptr

§ ssp

const int IV::ssp = 40

§ xortree

XorTree* IV::xortree

§ Y0

block* IV::Y0 = nullptr

§ Y1

block* IV::Y1 = nullptr

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