MOTION  0.01
Framework for mixed-protocol multi-party computation
Public Member Functions | List of all members
encrypto::motion::proto::ConstantArithmeticMultiplicationGate< T, typename > Class Template Referencefinal

#include <constant_gate.h>

Inheritance diagram for encrypto::motion::proto::ConstantArithmeticMultiplicationGate< T, typename >:
Inheritance graph
[legend]
Collaboration diagram for encrypto::motion::proto::ConstantArithmeticMultiplicationGate< T, typename >:
Collaboration graph
[legend]

Public Member Functions

 ConstantArithmeticMultiplicationGate (const ConstantArithmeticWirePointer< T > &a, const arithmetic_gmw::WirePointer< T > &b)
 
 ConstantArithmeticMultiplicationGate (const arithmetic_gmw::WirePointer< T > &a, const ConstantArithmeticWirePointer< T > &b)
 
 ~ConstantArithmeticMultiplicationGate () final=default
 
void EvaluateSetup () final override
 
void EvaluateOnline () final override
 
arithmetic_gmw::SharePointer< T > GetOutputAsArithmeticShare ()
 
 ConstantArithmeticMultiplicationGate ()=delete
 
 ConstantArithmeticMultiplicationGate (Gate &)=delete
 
- Public Member Functions inherited from encrypto::motion::TwoGate
 ~TwoGate () override=default
 
- Public Member Functions inherited from encrypto::motion::Gate
virtual ~Gate ()=default
 
const std::vector< WirePointer > & GetOutputWires () const
 
void Clear ()
 
void RegisterWaitingFor (std::size_t wire_id)
 
void SignalDependencyIsReady ()
 
bool AreDependenciesReady ()
 
void SetSetupIsReady ()
 
void SetOnlineIsReady ()
 
void WaitSetup () const
 
void WaitOnline () const
 
bool SetupIsReady () const
 
std::int64_t GetId () const
 
 Gate (Gate &)=delete
 

Additional Inherited Members

- Protected Member Functions inherited from encrypto::motion::TwoGate
 TwoGate (Backend &backend)
 
- Protected Member Functions inherited from encrypto::motion::Gate
 Gate (Backend &backend)
 
RegisterGetRegister ()
 
ConfigurationGetConfiguration ()
 
LoggerGetLogger ()
 
BaseProviderGetBaseProvider ()
 
MtProviderGetMtProvider ()
 
SpProviderGetSpProvider ()
 
SbProviderGetSbProvider ()
 
communication::CommunicationLayerGetCommunicationLayer ()
 
OtProviderGetOtProvider (const std::size_t i)
 
- Protected Attributes inherited from encrypto::motion::TwoGate
std::vector< WirePointerparent_a_
 
std::vector< WirePointerparent_b_
 
- Protected Attributes inherited from encrypto::motion::Gate
std::vector< WirePointeroutput_wires_
 
Backendbackend_
 
std::int64_t gate_id_ = -1
 
std::unordered_set< std::size_t > wire_dependencies_
 
GateType gate_type_ = GateType::kInvalid
 
std::atomic< bool > setup_is_ready_ = false
 
std::atomic< bool > online_is_ready_ = false
 
std::atomic< bool > requires_online_interaction_ = false
 
std::atomic< bool > added_to_active_queue_ = false
 
FiberCondition setup_is_ready_condition_
 
FiberCondition online_is_ready_condition_
 
std::atomic< std::size_t > number_of_ready_dependencies_ = 0
 
bool own_output_wires_ {true}
 

Constructor & Destructor Documentation

◆ ConstantArithmeticMultiplicationGate() [1/4]

template<typename T , typename = std::enable_if_t<std::is_unsigned_v<T>>>
encrypto::motion::proto::ConstantArithmeticMultiplicationGate< T, typename >::ConstantArithmeticMultiplicationGate ( const ConstantArithmeticWirePointer< T > &  a,
const arithmetic_gmw::WirePointer< T > &  b 
)
inline

◆ ConstantArithmeticMultiplicationGate() [2/4]

template<typename T , typename = std::enable_if_t<std::is_unsigned_v<T>>>
encrypto::motion::proto::ConstantArithmeticMultiplicationGate< T, typename >::ConstantArithmeticMultiplicationGate ( const arithmetic_gmw::WirePointer< T > &  a,
const ConstantArithmeticWirePointer< T > &  b 
)
inline
Here is the call graph for this function:

◆ ~ConstantArithmeticMultiplicationGate()

template<typename T , typename = std::enable_if_t<std::is_unsigned_v<T>>>
encrypto::motion::proto::ConstantArithmeticMultiplicationGate< T, typename >::~ConstantArithmeticMultiplicationGate ( )
finaldefault

◆ ConstantArithmeticMultiplicationGate() [3/4]

template<typename T , typename = std::enable_if_t<std::is_unsigned_v<T>>>
encrypto::motion::proto::ConstantArithmeticMultiplicationGate< T, typename >::ConstantArithmeticMultiplicationGate ( )
delete

◆ ConstantArithmeticMultiplicationGate() [4/4]

template<typename T , typename = std::enable_if_t<std::is_unsigned_v<T>>>
encrypto::motion::proto::ConstantArithmeticMultiplicationGate< T, typename >::ConstantArithmeticMultiplicationGate ( Gate )
delete

Member Function Documentation

◆ EvaluateOnline()

template<typename T , typename = std::enable_if_t<std::is_unsigned_v<T>>>
void encrypto::motion::proto::ConstantArithmeticMultiplicationGate< T, typename >::EvaluateOnline ( )
inlinefinaloverridevirtual

Implements encrypto::motion::Gate.

Here is the call graph for this function:

◆ EvaluateSetup()

template<typename T , typename = std::enable_if_t<std::is_unsigned_v<T>>>
void encrypto::motion::proto::ConstantArithmeticMultiplicationGate< T, typename >::EvaluateSetup ( )
inlinefinaloverridevirtual

Implements encrypto::motion::Gate.

Here is the call graph for this function:

◆ GetOutputAsArithmeticShare()

template<typename T , typename = std::enable_if_t<std::is_unsigned_v<T>>>
arithmetic_gmw::SharePointer<T> encrypto::motion::proto::ConstantArithmeticMultiplicationGate< T, typename >::GetOutputAsArithmeticShare ( )
inline

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