ABY Framework  1.0
Arithmetic Bool Yao Framework
 All Classes Files Functions Variables Enumerations Enumerator Macros
Public Member Functions | List of all members
boolshare Class Reference

#include <circuit.h>

Inheritance diagram for boolshare:
Inheritance graph
[legend]
Collaboration diagram for boolshare:
Collaboration graph
[legend]

Public Member Functions

 boolshare (uint32_t sharelen, Circuit *circ)
 
 boolshare (vector< uint32_t > gates, Circuit *circ)
 
 ~boolshare ()
 
uint8_t * get_clear_value ()
 
void get_clear_value_vec (uint32_t **vec, uint32_t *bitlen, uint32_t *nvals)
 
- Public Member Functions inherited from share
 share (uint32_t sharelen, Circuit *circ)
 
 share (vector< uint32_t > gates, Circuit *circ)
 
void init (Circuit *circ, uint32_t maxbitlen=32)
 
 ~share ()
 
vector< uint32_t > & get_gates ()
 
uint32_t get_gate (uint32_t shareid)
 
void set_gate (uint32_t shareid, uint32_t gateid)
 
void resize (uint32_t sharelen)
 
void set_gates (vector< uint32_t > shares)
 
uint32_t size ()
 
uint32_t max_size ()
 
uint32_t set_max_size (uint32_t maxsize)
 
e_circuit get_circuit_type ()
 
e_sharing get_share_type ()
 
template<class T >
get_clear_value ()
 

Additional Inherited Members

- Protected Attributes inherited from share
vector< uint32_t > m_ngateids
 
Circuitm_ccirc
 
uint32_t m_nmaxbitlen
 

Detailed Description

Boolean Share Class

Constructor & Destructor Documentation

boolshare::boolshare ( uint32_t  sharelen,
Circuit circ 
)
inline

Constructor overloaded with shared length and circuit.

boolshare::boolshare ( vector< uint32_t >  gates,
Circuit circ 
)
inline

Constructor overloaded with gates and circuit.

boolshare::~boolshare ( )
inline

Initialise Function

Parameters
circCiruit object.
maxbitlenMaximum Bit Length.Destructor

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