MOTION  0.01
Framework for mixed-protocol multi-party computation
Public Member Functions | List of all members
encrypto::motion::proto::boolean_gmw::Share Class Referencefinal

#include <boolean_gmw_share.h>

Inheritance diagram for encrypto::motion::proto::boolean_gmw::Share:
Inheritance graph
[legend]
Collaboration diagram for encrypto::motion::proto::boolean_gmw::Share:
Collaboration graph
[legend]

Public Member Functions

 Share (const std::vector< motion::WirePointer > &wires)
 
 Share (std::vector< motion::WirePointer > &&wires)
 
const std::vector< motion::WirePointer > & GetWires () const noexcept final
 
std::vector< motion::WirePointer > & GetMutableWires () noexcept final
 
std::size_t GetNumberOfSimdValues () const noexcept final
 
MpcProtocol GetProtocol () const noexcept final
 
CircuitType GetCircuitType () const noexcept final
 
std::size_t GetBitLength () const noexcept final
 
std::vector< std::shared_ptr< motion::Share > > Split () const noexcept final
 
std::shared_ptr< motion::ShareGetWire (std::size_t i) const final
 
- Public Member Functions inherited from encrypto::motion::BooleanShare
 ~BooleanShare () override=default
 
 BooleanShare (BooleanShare &)=delete
 
- Public Member Functions inherited from encrypto::motion::Share
virtual ~Share ()=default
 
BackendGetBackend () const
 
std::shared_ptr< RegisterGetRegister ()
 
 Share (Share &)=delete
 
 Share (const Share &)=delete
 
bool IsConstant () const noexcept
 

Additional Inherited Members

- Static Public Member Functions inherited from encrypto::motion::Share
static std::shared_ptr< ShareConcatenate (const std::vector< std::shared_ptr< Share >> &v)
 
- Protected Member Functions inherited from encrypto::motion::BooleanShare
 BooleanShare (Backend &backend)
 
- Protected Member Functions inherited from encrypto::motion::Share
 Share (Backend &backend)
 
- Protected Attributes inherited from encrypto::motion::Share
Backendbackend_
 
std::vector< WirePointerwires_
 

Constructor & Destructor Documentation

◆ Share() [1/2]

encrypto::motion::proto::boolean_gmw::Share::Share ( const std::vector< motion::WirePointer > &  wires)

◆ Share() [2/2]

encrypto::motion::proto::boolean_gmw::Share::Share ( std::vector< motion::WirePointer > &&  wires)

Member Function Documentation

◆ GetBitLength()

std::size_t encrypto::motion::proto::boolean_gmw::Share::GetBitLength ( ) const
inlinefinalvirtualnoexcept

◆ GetCircuitType()

CircuitType encrypto::motion::proto::boolean_gmw::Share::GetCircuitType ( ) const
finalvirtualnoexcept

◆ GetMutableWires()

std::vector<motion::WirePointer>& encrypto::motion::proto::boolean_gmw::Share::GetMutableWires ( )
inlinefinalvirtualnoexcept

◆ GetNumberOfSimdValues()

std::size_t encrypto::motion::proto::boolean_gmw::Share::GetNumberOfSimdValues ( ) const
finalvirtualnoexcept

◆ GetProtocol()

MpcProtocol encrypto::motion::proto::boolean_gmw::Share::GetProtocol ( ) const
finalvirtualnoexcept

◆ GetWire()

std::shared_ptr< motion::Share > encrypto::motion::proto::boolean_gmw::Share::GetWire ( std::size_t  i) const
finalvirtual

◆ GetWires()

const std::vector<motion::WirePointer>& encrypto::motion::proto::boolean_gmw::Share::GetWires ( ) const
inlinefinalvirtualnoexcept

◆ Split()

std::vector< std::shared_ptr< motion::Share > > encrypto::motion::proto::boolean_gmw::Share::Split ( ) const
finalvirtualnoexcept

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