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

#include <ot_provider.h>

Public Member Functions

 OtProviderSender (OtExtensionSenderData &data, std::size_t party_id, std::shared_ptr< Logger > logger)
 
 ~OtProviderSender ()=default
 
 OtProviderSender (const OtProviderSender &)=delete
 
std::unique_ptr< ROtSenderRegisterROt (std::size_t number_of_ots, std::size_t bitlength, const std::function< void(flatbuffers::FlatBufferBuilder &&)> &send_function)
 
std::unique_ptr< XcOtSenderRegisterXcOt (std::size_t number_of_ots, std::size_t bitlength, const std::function< void(flatbuffers::FlatBufferBuilder &&)> &send_function)
 
std::unique_ptr< FixedXcOt128SenderRegisterFixedXcOt128s (const std::size_t number_of_ots, const std::function< void(flatbuffers::FlatBufferBuilder &&)> &send_function)
 
std::unique_ptr< XcOtBitSenderRegisterXcOtBits (const std::size_t number_of_ots, const std::function< void(flatbuffers::FlatBufferBuilder &&)> &send_function)
 
template<typename T >
std::unique_ptr< AcOtSender< T > > RegisterAcOt (std::size_t number_of_ots, std::size_t vector_size, const std::function< void(flatbuffers::FlatBufferBuilder &&)> &send_function)
 
std::unique_ptr< GOtSenderRegisterGOt (std::size_t number_of_ots, std::size_t bitlength, const std::function< void(flatbuffers::FlatBufferBuilder &&)> &send_function)
 
std::unique_ptr< GOt128SenderRegisterGOt128 (const std::size_t number_of_ots, const std::function< void(flatbuffers::FlatBufferBuilder &&)> &send_function)
 
std::unique_ptr< GOtBitSenderRegisterGOtBit (const std::size_t number_of_ots, const std::function< void(flatbuffers::FlatBufferBuilder &&)> &send_function)
 
auto GetNumOts () const
 
void Clear ()
 
void Reset ()
 

Constructor & Destructor Documentation

◆ OtProviderSender() [1/2]

encrypto::motion::OtProviderSender::OtProviderSender ( OtExtensionSenderData data,
std::size_t  party_id,
std::shared_ptr< Logger logger 
)
inline

◆ ~OtProviderSender()

encrypto::motion::OtProviderSender::~OtProviderSender ( )
default

◆ OtProviderSender() [2/2]

encrypto::motion::OtProviderSender::OtProviderSender ( const OtProviderSender )
delete

Member Function Documentation

◆ Clear()

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

◆ GetNumOts()

auto encrypto::motion::OtProviderSender::GetNumOts ( ) const
inline
Here is the caller graph for this function:

◆ RegisterAcOt()

template<typename T >
template std::unique_ptr< AcOtSender< __uint128_t > > encrypto::motion::OtProviderSender::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< FixedXcOt128Sender > encrypto::motion::OtProviderSender::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< GOtSender > encrypto::motion::OtProviderSender::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< GOt128Sender > encrypto::motion::OtProviderSender::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< GOtBitSender > encrypto::motion::OtProviderSender::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< ROtSender > encrypto::motion::OtProviderSender::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< XcOtSender > encrypto::motion::OtProviderSender::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< XcOtBitSender > encrypto::motion::OtProviderSender::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::OtProviderSender::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: