emp-toolkit
HalfGateEva< T, rt > Class Template Reference

#include <halfgate_eva.h>

Inheritance diagram for HalfGateEva< T, rt >:
GarbleCircuit

Public Member Functions

 HalfGateEva (T *io)
 
void set_file_io (FileIO *fio)
 
bool is_public_impl (const block &b, int party)
 
block public_label_impl (bool b)
 
block and_gate (const block &a, const block &b)
 
block xor_gate (const block &a, const block &b)
 
block not_gate (const block &a)
 
void generic_to_xor (block *new_block, const block *old_block, int length)
 
- Public Member Functions inherited from GarbleCircuit
bool is_public (const block &b, int party)
 
block public_label (bool b)
 
block gc_and (const block &a, const block &b)
 
block gc_xor (const block &a, const block &b)
 
block gc_not (const block &a)
 

Public Attributes

PRP prp
 
T * io
 
Hash hash
 
bool with_file_io = false
 
FileIOfio
 
- Public Attributes inherited from GarbleCircuit
uint64_t gid = 0
 
bool(* is_public_ptr )(GarbleCircuit *gc, const block &b, int party)
 
block(* public_label_ptr )(GarbleCircuit *gc, bool b)
 
block(* gc_and_ptr )(GarbleCircuit *gc, const block &a, const block &b)
 
block(* gc_xor_ptr )(GarbleCircuit *gc, const block &a, const block &b)
 
block(* gc_not_ptr )(GarbleCircuit *gc, const block &a)
 

Additional Inherited Members

- Static Public Member Functions inherited from GarbleCircuit
static block make_delta (const block &a)
 

Constructor & Destructor Documentation

§ HalfGateEva()

template<typename T, RTCktOpt rt = on>
HalfGateEva< T, rt >::HalfGateEva ( T *  io)
inline

Member Function Documentation

§ and_gate()

template<typename T, RTCktOpt rt = on>
block HalfGateEva< T, rt >::and_gate ( const block a,
const block b 
)
inline

§ generic_to_xor()

template<typename T, RTCktOpt rt = on>
void HalfGateEva< T, rt >::generic_to_xor ( block new_block,
const block old_block,
int  length 
)
inline

§ is_public_impl()

template<typename T, RTCktOpt rt = on>
bool HalfGateEva< T, rt >::is_public_impl ( const block b,
int  party 
)
inline

§ not_gate()

template<typename T, RTCktOpt rt = on>
block HalfGateEva< T, rt >::not_gate ( const block a)
inline

§ public_label_impl()

template<typename T, RTCktOpt rt = on>
block HalfGateEva< T, rt >::public_label_impl ( bool  b)
inline

§ set_file_io()

template<typename T, RTCktOpt rt = on>
void HalfGateEva< T, rt >::set_file_io ( FileIO fio)
inline

§ xor_gate()

template<typename T, RTCktOpt rt = on>
block HalfGateEva< T, rt >::xor_gate ( const block a,
const block b 
)
inline

Member Data Documentation

§ fio

template<typename T, RTCktOpt rt = on>
FileIO* HalfGateEva< T, rt >::fio

§ hash

template<typename T, RTCktOpt rt = on>
Hash HalfGateEva< T, rt >::hash

§ io

template<typename T, RTCktOpt rt = on>
T* HalfGateEva< T, rt >::io

§ prp

template<typename T, RTCktOpt rt = on>
PRP HalfGateEva< T, rt >::prp

§ with_file_io

template<typename T, RTCktOpt rt = on>
bool HalfGateEva< T, rt >::with_file_io = false

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