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

#include <ot_flavors.h>

Inheritance diagram for encrypto::motion::XcOtBitSender:
Inheritance graph
[legend]
Collaboration diagram for encrypto::motion::XcOtBitSender:
Collaboration graph
[legend]

Public Member Functions

 XcOtBitSender (std::size_t ot_id, std::size_t number_of_ots, OtExtensionSenderData &data, const std::function< void(flatbuffers::FlatBufferBuilder &&)> &send_function)
 
void SetCorrelations (BitVector<> &&correlations)
 
void SetCorrelations (const BitVector<> &correlations)
 
const BitVectorGetCorrelations () const
 
void ComputeOutputs ()
 
BitVectorGetOutputs ()
 
void SendMessages () const
 
- Public Member Functions inherited from encrypto::motion::BasicOtSender
void WaitSetup () const
 
- Public Member Functions inherited from encrypto::motion::OtVector
 OtVector ()=delete
 
std::size_t GetOtId () const noexcept
 
std::size_t GetNumOts () const noexcept
 
std::size_t GetBitlen () const noexcept
 
OtProtocol GetProtocol () const noexcept
 

Additional Inherited Members

- Protected Member Functions inherited from encrypto::motion::BasicOtSender
 BasicOtSender (std::size_t ot_id, std::size_t number_of_ots, std::size_t bitlength, OtProtocol p, const std::function< void(flatbuffers::FlatBufferBuilder &&)> &send_function, OtExtensionSenderData &data)
 
- Protected Member Functions inherited from encrypto::motion::OtVector
 OtVector (const std::size_t ot_id, const std::size_t number_of_ots, const std::size_t bitlength, const OtProtocol p, const std::function< void(flatbuffers::FlatBufferBuilder &&)> &send_function)
 
- Protected Attributes inherited from encrypto::motion::BasicOtSender
OtExtensionSenderDatadata_
 
- Protected Attributes inherited from encrypto::motion::OtVector
const std::size_t ot_id_
 
const std::size_t number_of_ots_
 
const std::size_t bitlen_
 
const OtProtocol p_
 
std::function< void(flatbuffers::FlatBufferBuilder &&)> send_function_
 

Constructor & Destructor Documentation

◆ XcOtBitSender()

encrypto::motion::XcOtBitSender::XcOtBitSender ( std::size_t  ot_id,
std::size_t  number_of_ots,
OtExtensionSenderData data,
const std::function< void(flatbuffers::FlatBufferBuilder &&)> &  send_function 
)

Member Function Documentation

◆ ComputeOutputs()

void encrypto::motion::XcOtBitSender::ComputeOutputs ( )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetCorrelations()

const BitVector& encrypto::motion::XcOtBitSender::GetCorrelations ( ) const
inline

◆ GetOutputs()

BitVector& encrypto::motion::XcOtBitSender::GetOutputs ( )
inline
Here is the caller graph for this function:

◆ SendMessages()

void encrypto::motion::XcOtBitSender::SendMessages ( ) const
Here is the call graph for this function:

◆ SetCorrelations() [1/2]

void encrypto::motion::XcOtBitSender::SetCorrelations ( BitVector<> &&  correlations)
inline
Here is the caller graph for this function:

◆ SetCorrelations() [2/2]

void encrypto::motion::XcOtBitSender::SetCorrelations ( const BitVector<> &  correlations)
inline
Here is the call graph for this function:

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