emp-toolkit
PrivacyFreeGen< T > Class Template Reference

#include <privacy_free_gen.h>

Inheritance diagram for PrivacyFreeGen< T >:
GarbleCircuit

Public Member Functions

 PrivacyFreeGen (T *io)
 
bool is_public_impl (const block &b, int party)
 
bool isDelta (const block &b)
 
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 privacy_free_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
 
T * io
 
block constant [2]
 
- 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

§ PrivacyFreeGen()

template<typename T>
PrivacyFreeGen< T >::PrivacyFreeGen ( T *  io)
inline

Member Function Documentation

§ gen_and()

template<typename T>
block PrivacyFreeGen< T >::gen_and ( const block a,
const block b 
)
inline

§ gen_not()

template<typename T>
block PrivacyFreeGen< T >::gen_not ( const block a)
inline

§ gen_xor()

template<typename T>
block PrivacyFreeGen< T >::gen_xor ( const block a,
const block b 
)
inline

§ is_public_impl()

template<typename T>
bool PrivacyFreeGen< T >::is_public_impl ( const block b,
int  party 
)
inline

§ isDelta()

template<typename T>
bool PrivacyFreeGen< T >::isDelta ( const block b)
inline

§ privacy_free_to_xor()

template<typename T>
void PrivacyFreeGen< T >::privacy_free_to_xor ( const block new_b0,
const block b0,
const block b1,
int  length 
)
inline

§ public_label_impl()

template<typename T>
block PrivacyFreeGen< T >::public_label_impl ( bool  b)
inline

§ set_delta()

template<typename T>
void PrivacyFreeGen< T >::set_delta ( const block _delta)
inline

Member Data Documentation

§ constant

template<typename T>
block PrivacyFreeGen< T >::constant[2]

§ delta

template<typename T>
block PrivacyFreeGen< T >::delta

§ io

template<typename T>
T* PrivacyFreeGen< T >::io

§ prp

template<typename T>
PRP PrivacyFreeGen< T >::prp

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