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

#include <ot_flavors.h>

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

Public Member Functions

 FixedXcOt128Receiver (std::size_t ot_id, std::size_t number_of_ots, OtExtensionReceiverData &data, const std::function< void(flatbuffers::FlatBufferBuilder &&)> &send_function)
 
void ComputeOutputs ()
 
const Block128VectorGetOutputs () 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

◆ FixedXcOt128Receiver()

encrypto::motion::FixedXcOt128Receiver::FixedXcOt128Receiver ( 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::FixedXcOt128Receiver::ComputeOutputs ( )

◆ GetOutputs()

const Block128Vector& encrypto::motion::FixedXcOt128Receiver::GetOutputs ( ) const
inline

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