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

#include <ot_provider.h>

Public Member Functions

 OtProviderReceiver (OtExtensionReceiverData &data, std::size_t party_id, std::shared_ptr< Logger > logger)
 
 ~OtProviderReceiver ()=default
 
 OtProviderReceiver (const OtProviderReceiver &)=delete
 
std::unique_ptr< ROtReceiverRegisterROt (std::size_t number_of_ots, std::size_t bitlength, const std::function< void(flatbuffers::FlatBufferBuilder &&)> &send_function)
 
std::unique_ptr< XcOtReceiverRegisterXcOt (std::size_t number_of_ots, std::size_t bitlength, const std::function< void(flatbuffers::FlatBufferBuilder &&)> &send_function)
 
std::unique_ptr< FixedXcOt128ReceiverRegisterFixedXcOt128s (const std::size_t number_of_ots, const std::function< void(flatbuffers::FlatBufferBuilder &&)> &send_function)
 
std::unique_ptr< XcOtBitReceiverRegisterXcOtBits (const std::size_t number_of_ots, const std::function< void(flatbuffers::FlatBufferBuilder &&)> &send_function)
 
template<typename T >
std::unique_ptr< AcOtReceiver< T > > RegisterAcOt (std::size_t number_of_ots, std::size_t vector_size, const std::function< void(flatbuffers::FlatBufferBuilder &&)> &send_function)
 
std::unique_ptr< GOtReceiverRegisterGOt (std::size_t number_of_ots, std::size_t bitlength, const std::function< void(flatbuffers::FlatBufferBuilder &&)> &send_function)
 
std::unique_ptr< GOt128ReceiverRegisterGOt128 (const std::size_t number_of_ots, const std::function< void(flatbuffers::FlatBufferBuilder &&)> &send_function)
 
std::unique_ptr< GOtBitReceiverRegisterGOtBit (const std::size_t number_of_ots, const std::function< void(flatbuffers::FlatBufferBuilder &&)> &send_function)
 
std::size_t GetNumOts () const
 
void Clear ()
 
void Reset ()
 

Constructor & Destructor Documentation

◆ OtProviderReceiver() [1/2]

encrypto::motion::OtProviderReceiver::OtProviderReceiver ( OtExtensionReceiverData data,
std::size_t  party_id,
std::shared_ptr< Logger logger 
)
inline

◆ ~OtProviderReceiver()

encrypto::motion::OtProviderReceiver::~OtProviderReceiver ( )
default

◆ OtProviderReceiver() [2/2]

encrypto::motion::OtProviderReceiver::OtProviderReceiver ( const OtProviderReceiver )
delete

Member Function Documentation

◆ Clear()

void encrypto::motion::OtProviderReceiver::Clear ( )
Here is the caller graph for this function:

◆ GetNumOts()

std::size_t encrypto::motion::OtProviderReceiver::GetNumOts ( ) const
inline
Here is the caller graph for this function:

◆ RegisterAcOt()

template<typename T >
template std::unique_ptr< AcOtReceiver< __uint128_t > > encrypto::motion::OtProviderReceiver::RegisterAcOt ( std::size_t  number_of_ots,
std::size_t  vector_size,
const std::function< void(flatbuffers::FlatBufferBuilder &&)> &  send_function 
)
Here is the caller graph for this function:

◆ RegisterFixedXcOt128s()

std::unique_ptr< FixedXcOt128Receiver > encrypto::motion::OtProviderReceiver::RegisterFixedXcOt128s ( const std::size_t  number_of_ots,
const std::function< void(flatbuffers::FlatBufferBuilder &&)> &  send_function 
)
Here is the caller graph for this function:

◆ RegisterGOt()

std::unique_ptr< GOtReceiver > encrypto::motion::OtProviderReceiver::RegisterGOt ( std::size_t  number_of_ots,
std::size_t  bitlength,
const std::function< void(flatbuffers::FlatBufferBuilder &&)> &  send_function 
)
Here is the caller graph for this function:

◆ RegisterGOt128()

std::unique_ptr< GOt128Receiver > encrypto::motion::OtProviderReceiver::RegisterGOt128 ( const std::size_t  number_of_ots,
const std::function< void(flatbuffers::FlatBufferBuilder &&)> &  send_function 
)
Here is the caller graph for this function:

◆ RegisterGOtBit()

std::unique_ptr< GOtBitReceiver > encrypto::motion::OtProviderReceiver::RegisterGOtBit ( const std::size_t  number_of_ots,
const std::function< void(flatbuffers::FlatBufferBuilder &&)> &  send_function 
)
Here is the caller graph for this function:

◆ RegisterROt()

std::unique_ptr< ROtReceiver > encrypto::motion::OtProviderReceiver::RegisterROt ( std::size_t  number_of_ots,
std::size_t  bitlength,
const std::function< void(flatbuffers::FlatBufferBuilder &&)> &  send_function 
)
Here is the caller graph for this function:

◆ RegisterXcOt()

std::unique_ptr< XcOtReceiver > encrypto::motion::OtProviderReceiver::RegisterXcOt ( std::size_t  number_of_ots,
std::size_t  bitlength,
const std::function< void(flatbuffers::FlatBufferBuilder &&)> &  send_function 
)
Here is the caller graph for this function:

◆ RegisterXcOtBits()

std::unique_ptr< XcOtBitReceiver > encrypto::motion::OtProviderReceiver::RegisterXcOtBits ( const std::size_t  number_of_ots,
const std::function< void(flatbuffers::FlatBufferBuilder &&)> &  send_function 
)
Here is the caller graph for this function:

◆ Reset()

void encrypto::motion::OtProviderReceiver::Reset ( )
Here is the call graph for this function:
Here is the caller graph for this function:

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