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

#include <halfgate_gen.h>

Inheritance diagram for HalfGateGen< T, rt >:
GarbleCircuit

Public Member Functions

 HalfGateGen (T *io)
 
bool is_public_impl (const block &b, int party)
 
void set_delta (const block &_delta)
 
block public_label_impl (bool b)
 
block gen_and (const block &a, const block &b)
 
block gen_xor (const block &a, const block &b)
 
block gen_not (const block &a)
 
void generic_to_xor (const block *new_b0, const block *b0, const block *b1, 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

block delta
 
PRP prp
 
block seed
 
T * io
 
Hash hash
 
bool with_file_io = false
 
- 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

§ HalfGateGen()

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

Member Function Documentation

§ gen_and()

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

§ gen_not()

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

§ gen_xor()

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

§ generic_to_xor()

template<typename T, RTCktOpt rt = on>
void HalfGateGen< T, rt >::generic_to_xor ( const block new_b0,
const block b0,
const block b1,
int  length 
)
inline

§ is_public_impl()

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

§ public_label_impl()

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

§ set_delta()

template<typename T, RTCktOpt rt = on>
void HalfGateGen< T, rt >::set_delta ( const block _delta)
inline

Member Data Documentation

§ delta

template<typename T, RTCktOpt rt = on>
block HalfGateGen< T, rt >::delta

§ hash

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

§ io

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

§ prp

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

§ seed

template<typename T, RTCktOpt rt = on>
block HalfGateGen< T, rt >::seed

§ with_file_io

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

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