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

#include <ot_flavors.h>

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

Public Member Functions

 GOtBitReceiver (std::size_t ot_id, std::size_t number_of_ots, OtExtensionReceiverData &data, const std::function< void(flatbuffers::FlatBufferBuilder &&)> &send_function)
 
void ComputeOutputs ()
 
const BitVectorGetOutputs () const
 
- Public Member Functions inherited from encrypto::motion::BasicOtReceiver
void WaitSetup () const
 
void SetChoices (BitVector<> &&choices)
 
void SetChoices (const BitVector<> &choices)
 
const BitVectorGetChoices () const
 
bool AreChoicesSet () const
 
void SendCorrections ()
 
- 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::BasicOtReceiver
 BasicOtReceiver (std::size_t ot_id, std::size_t number_of_ots, std::size_t bitlength, OtProtocol p, const std::function< void(flatbuffers::FlatBufferBuilder &&)> &Send, OtExtensionReceiverData &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::BasicOtReceiver
OtExtensionReceiverDatadata_
 
BitVector choices_
 
bool corrections_sent_ = false
 
- 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

◆ GOtBitReceiver()

encrypto::motion::GOtBitReceiver::GOtBitReceiver ( std::size_t  ot_id,
std::size_t  number_of_ots,
OtExtensionReceiverData data,
const std::function< void(flatbuffers::FlatBufferBuilder &&)> &  send_function 
)
Here is the call graph for this function:

Member Function Documentation

◆ ComputeOutputs()

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

◆ GetOutputs()

const BitVector& encrypto::motion::GOtBitReceiver::GetOutputs ( ) const
inline

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