MOTION  0.01
Framework for mixed-protocol multi-party computation
Public Member Functions | Protected Member Functions | List of all members
encrypto::motion::BooleanWire Class Reference

#include <wire.h>

Inheritance diagram for encrypto::motion::BooleanWire:
Inheritance graph
[legend]
Collaboration diagram for encrypto::motion::BooleanWire:
Collaboration graph
[legend]

Public Member Functions

 ~BooleanWire () override=default
 
CircuitType GetCircuitType () const final
 
 BooleanWire (BooleanWire &)=delete
 
- Public Member Functions inherited from encrypto::motion::Wire
std::size_t GetNumberOfSimdValues () const
 
virtual enum MpcProtocol GetProtocol () const =0
 
virtual ~Wire ()
 
void RegisterWaitingGate (std::size_t gate_id)
 
void SetOnlineFinished ()
 
const auto & GetWaitingGatesIds () const noexcept
 
const std::atomic< bool > & IsReady () const noexcept
 
const FiberConditionGetIsReadyCondition () const noexcept
 
std::size_t GetWireId () const
 
BackendGetBackend () const
 
virtual std::size_t GetBitLength () const =0
 
void Clear ()
 
virtual bool IsConstant () const noexcept=0
 
 Wire (const Wire &)=delete
 

Protected Member Functions

 BooleanWire (Backend &backend, std::size_t number_of_simd)
 
- Protected Member Functions inherited from encrypto::motion::Wire
 Wire (Backend &backend, std::size_t number_of_simd)
 
virtual void DynamicClear ()
 

Additional Inherited Members

- Static Public Member Functions inherited from encrypto::motion::Wire
static std::string PrintIds (const std::vector< std::shared_ptr< Wire >> &wires)
 
- Static Protected Member Functions inherited from encrypto::motion::Wire
static void SignalReadyToDependency (std::size_t gate_id, Backend &backend)
 
- Protected Attributes inherited from encrypto::motion::Wire
Backendbackend_
 
std::size_t n_simd_ = 0
 Number of values that are logically processed in parallel. More...
 
std::atomic< bool > is_done_ = false
 
FiberCondition is_done_condition_
 
std::int64_t wire_id_ = -1
 
std::unordered_set< std::size_t > waiting_gate_ids_
 

Constructor & Destructor Documentation

◆ ~BooleanWire()

encrypto::motion::BooleanWire::~BooleanWire ( )
overridedefault

◆ BooleanWire() [1/2]

encrypto::motion::BooleanWire::BooleanWire ( BooleanWire )
delete

◆ BooleanWire() [2/2]

encrypto::motion::BooleanWire::BooleanWire ( Backend backend,
std::size_t  number_of_simd 
)
inlineprotected

Member Function Documentation

◆ GetCircuitType()

CircuitType encrypto::motion::BooleanWire::GetCircuitType ( ) const
inlinefinalvirtual

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