MOTION
0.01
Framework for mixed-protocol multi-party computation
|
#include <arithmetic_gmw_wire.h>
Public Types | |
using | value_type = T |
Public Member Functions | |
Wire (Backend &backend, std::size_t number_of_simd) | |
Wire (std::vector< T > &&values, Backend &backend) | |
Wire (const std::vector< T > &values, Backend &backend) | |
Wire (T t, Backend &backend) | |
~Wire () final=default | |
MpcProtocol | GetProtocol () const final |
CircuitType | GetCircuitType () const final |
const std::vector< T > & | GetValues () const |
std::vector< T > & | GetMutableValues () |
std::size_t | GetBitLength () const final |
bool | IsConstant () const noexcept final |
Public Member Functions inherited from encrypto::motion::Wire | |
std::size_t | GetNumberOfSimdValues () const |
void | RegisterWaitingGate (std::size_t gate_id) |
void | SetOnlineFinished () |
const auto & | GetWaitingGatesIds () const noexcept |
const std::atomic< bool > & | IsReady () const noexcept |
const FiberCondition & | GetIsReadyCondition () const noexcept |
std::size_t | GetWireId () const |
Backend & | GetBackend () const |
void | Clear () |
Wire (const Wire &)=delete | |
Additional Inherited Members | |
Static Public Member Functions inherited from encrypto::motion::Wire | |
static std::string | PrintIds (const std::vector< std::shared_ptr< Wire >> &wires) |
Protected Member Functions inherited from encrypto::motion::Wire | |
Wire (Backend &backend, std::size_t number_of_simd) | |
virtual void | DynamicClear () |
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 | |
Backend & | backend_ |
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_ |
using encrypto::motion::proto::arithmetic_gmw::Wire< T, typename >::value_type = T |
|
inline |
|
inline |
|
inline |
|
inline |
|
finalvirtualdefault |
Reimplemented from encrypto::motion::Wire.
|
inlinefinalvirtual |
Implements encrypto::motion::Wire.
|
inlinefinalvirtual |
Implements encrypto::motion::Wire.
|
inline |
|
inlinefinalvirtual |
Implements encrypto::motion::Wire.
|
inline |
|
inlinefinalvirtualnoexcept |
Implements encrypto::motion::Wire.