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

#include <constant_share.h>

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

Public Member Functions

 ConstantBooleanShare (const std::vector< WirePointer > &wires)
 
 ConstantBooleanShare (std::vector< WirePointer > &&wires)
 
const std::vector< WirePointer > & GetWires () const noexcept final
 
std::vector< 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

◆ ConstantBooleanShare() [1/2]

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

◆ ConstantBooleanShare() [2/2]

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

Member Function Documentation

◆ GetBitLength()

std::size_t encrypto::motion::proto::ConstantBooleanShare::GetBitLength ( ) const
inlinefinalvirtualnoexcept

◆ GetCircuitType()

CircuitType encrypto::motion::proto::ConstantBooleanShare::GetCircuitType ( ) const
finalvirtualnoexcept

◆ GetMutableWires()

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

◆ GetNumberOfSimdValues()

std::size_t encrypto::motion::proto::ConstantBooleanShare::GetNumberOfSimdValues ( ) const
finalvirtualnoexcept

◆ GetProtocol()

MpcProtocol encrypto::motion::proto::ConstantBooleanShare::GetProtocol ( ) const
finalvirtualnoexcept

◆ GetWire()

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

◆ GetWires()

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

◆ Split()

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

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