emp-toolkit
PrivacyFreeEva< T > Class Template Reference

#include <privacy_free_eva.h>

Inheritance diagram for PrivacyFreeEva< T >:
GarbleCircuit

Public Member Functions

 PrivacyFreeEva (T *io)
 
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 privacy_free_to_xor (block *new_block, const block *old_block, const bool *b, 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
 
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

§ PrivacyFreeEva()

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

Member Function Documentation

§ and_gate()

template<typename T>
block PrivacyFreeEva< T >::and_gate ( const block a,
const block b 
)
inline

§ is_public_impl()

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

§ not_gate()

template<typename T>
block PrivacyFreeEva< T >::not_gate ( const block a)
inline

§ privacy_free_to_xor()

template<typename T>
void PrivacyFreeEva< T >::privacy_free_to_xor ( block new_block,
const block old_block,
const bool *  b,
int  length 
)
inline

§ public_label_impl()

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

§ xor_gate()

template<typename T>
block PrivacyFreeEva< T >::xor_gate ( const block a,
const block b 
)
inline

Member Data Documentation

§ constant

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

§ io

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

§ prp

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

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