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

#include <secure_unsigned_integer.h>

Public Member Functions

 SecureUnsignedInteger ()=default
 
 SecureUnsignedInteger (const SecureUnsignedInteger &other)
 
 SecureUnsignedInteger (SecureUnsignedInteger &&other)
 
 SecureUnsignedInteger (const ShareWrapper &other)
 
 SecureUnsignedInteger (ShareWrapper &&other)
 
 SecureUnsignedInteger (const SharePointer &other)
 
 SecureUnsignedInteger (SharePointer &&other)
 
SecureUnsignedIntegeroperator= (const SecureUnsignedInteger &other)
 
SecureUnsignedIntegeroperator= (SecureUnsignedInteger &&other)
 
ShareWrapperGet ()
 
const ShareWrapperGet () const
 
ShareWrapperoperator-> ()
 
const ShareWrapperoperator-> () const
 
SecureUnsignedInteger operator+ (const SecureUnsignedInteger &other) const
 
SecureUnsignedIntegeroperator+= (const SecureUnsignedInteger &other)
 
SecureUnsignedInteger operator- (const SecureUnsignedInteger &other) const
 
SecureUnsignedIntegeroperator-= (const SecureUnsignedInteger &other)
 
SecureUnsignedInteger operator* (const SecureUnsignedInteger &other) const
 
SecureUnsignedIntegeroperator*= (const SecureUnsignedInteger &other)
 
SecureUnsignedInteger operator/ (const SecureUnsignedInteger &other) const
 
SecureUnsignedIntegeroperator/= (const SecureUnsignedInteger &other)
 
ShareWrapper operator> (const SecureUnsignedInteger &other) const
 
ShareWrapper operator== (const SecureUnsignedInteger &other) const
 
std::vector< SecureUnsignedIntegerUnsimdify () const
 decomposes this->share_->Get() into shares with exactly 1 SIMD value. See the description in ShareWrapper::Unsimdify for reference. More...
 
SecureUnsignedInteger Out (std::size_t output_owner=std::numeric_limits< std::int64_t >::max()) const
 constructs an output gate, which reconstructs the cleartext result. The default parameter for the output owner corresponds to all parties being the output owners. Uses ShareWrapper::Out. More...
 
template<typename T >
As () const
 converts the information on the wires to T in type Unsigned Integer. See the description in ShareWrapper::As for reference. More...
 

Constructor & Destructor Documentation

◆ SecureUnsignedInteger() [1/7]

encrypto::motion::SecureUnsignedInteger::SecureUnsignedInteger ( )
default
Here is the caller graph for this function:

◆ SecureUnsignedInteger() [2/7]

encrypto::motion::SecureUnsignedInteger::SecureUnsignedInteger ( const SecureUnsignedInteger other)
inline

◆ SecureUnsignedInteger() [3/7]

encrypto::motion::SecureUnsignedInteger::SecureUnsignedInteger ( SecureUnsignedInteger &&  other)
inline

◆ SecureUnsignedInteger() [4/7]

encrypto::motion::SecureUnsignedInteger::SecureUnsignedInteger ( const ShareWrapper other)
inline

◆ SecureUnsignedInteger() [5/7]

encrypto::motion::SecureUnsignedInteger::SecureUnsignedInteger ( ShareWrapper &&  other)
inline
Here is the call graph for this function:

◆ SecureUnsignedInteger() [6/7]

encrypto::motion::SecureUnsignedInteger::SecureUnsignedInteger ( const SharePointer other)

◆ SecureUnsignedInteger() [7/7]

encrypto::motion::SecureUnsignedInteger::SecureUnsignedInteger ( SharePointer &&  other)

Member Function Documentation

◆ As()

template<typename T >
template std::vector< std::uint64_t > encrypto::motion::SecureUnsignedInteger::As ( ) const

converts the information on the wires to T in type Unsigned Integer. See the description in ShareWrapper::As for reference.

Here is the caller graph for this function:

◆ Get() [1/2]

ShareWrapper& encrypto::motion::SecureUnsignedInteger::Get ( )
inline
Here is the caller graph for this function:

◆ Get() [2/2]

const ShareWrapper& encrypto::motion::SecureUnsignedInteger::Get ( ) const
inline

◆ operator*()

SecureUnsignedInteger encrypto::motion::SecureUnsignedInteger::operator* ( const SecureUnsignedInteger other) const
Here is the call graph for this function:

◆ operator*=()

SecureUnsignedInteger& encrypto::motion::SecureUnsignedInteger::operator*= ( const SecureUnsignedInteger other)
inline

◆ operator+()

SecureUnsignedInteger encrypto::motion::SecureUnsignedInteger::operator+ ( const SecureUnsignedInteger other) const
Here is the call graph for this function:

◆ operator+=()

SecureUnsignedInteger& encrypto::motion::SecureUnsignedInteger::operator+= ( const SecureUnsignedInteger other)
inline

◆ operator-()

SecureUnsignedInteger encrypto::motion::SecureUnsignedInteger::operator- ( const SecureUnsignedInteger other) const
Here is the call graph for this function:

◆ operator-=()

SecureUnsignedInteger& encrypto::motion::SecureUnsignedInteger::operator-= ( const SecureUnsignedInteger other)
inline

◆ operator->() [1/2]

ShareWrapper& encrypto::motion::SecureUnsignedInteger::operator-> ( )
inline

◆ operator->() [2/2]

const ShareWrapper& encrypto::motion::SecureUnsignedInteger::operator-> ( ) const
inline

◆ operator/()

SecureUnsignedInteger encrypto::motion::SecureUnsignedInteger::operator/ ( const SecureUnsignedInteger other) const
Here is the call graph for this function:

◆ operator/=()

SecureUnsignedInteger& encrypto::motion::SecureUnsignedInteger::operator/= ( const SecureUnsignedInteger other)
inline

◆ operator=() [1/2]

SecureUnsignedInteger& encrypto::motion::SecureUnsignedInteger::operator= ( const SecureUnsignedInteger other)
inline

◆ operator=() [2/2]

SecureUnsignedInteger& encrypto::motion::SecureUnsignedInteger::operator= ( SecureUnsignedInteger &&  other)
inline

◆ operator==()

ShareWrapper encrypto::motion::SecureUnsignedInteger::operator== ( const SecureUnsignedInteger other) const
Here is the call graph for this function:

◆ operator>()

ShareWrapper encrypto::motion::SecureUnsignedInteger::operator> ( const SecureUnsignedInteger other) const
Here is the call graph for this function:

◆ Out()

SecureUnsignedInteger encrypto::motion::SecureUnsignedInteger::Out ( std::size_t  output_owner = std::numeric_limits<std::int64_t>::max()) const

constructs an output gate, which reconstructs the cleartext result. The default parameter for the output owner corresponds to all parties being the output owners. Uses ShareWrapper::Out.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Unsimdify()

std::vector< SecureUnsignedInteger > encrypto::motion::SecureUnsignedInteger::Unsimdify ( ) const

decomposes this->share_->Get() into shares with exactly 1 SIMD value. See the description in ShareWrapper::Unsimdify for reference.

Here is the caller graph for this function:

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