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

#include <ot_flavors.h>

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

Public Member Functions

 ROtSender (std::size_t ot_id, std::size_t number_of_ots, std::size_t bitlength, OtExtensionSenderData &data, const std::function< void(flatbuffers::FlatBufferBuilder &&)> &send_function)
 
void WaitSetup () const
 
void ComputeOutputs ()
 
std::span< const BitVector<> > GetOutputs () const
 
void SendMessages () 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::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::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

◆ ROtSender()

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

Member Function Documentation

◆ ComputeOutputs()

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

◆ GetOutputs()

std::span<const BitVector<> > encrypto::motion::ROtSender::GetOutputs ( ) const
inline

◆ SendMessages()

void encrypto::motion::ROtSender::SendMessages ( ) const

◆ WaitSetup()

void encrypto::motion::ROtSender::WaitSetup ( ) const
Here is the caller graph for this function:

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