MOTION
0.01
Framework for mixed-protocol multi-party computation
|
#include <ot_provider.h>
Public Member Functions | |
virtual | ~OtProvider ()=default |
OtProvider (const OtProvider &)=delete | |
std::unique_ptr< ROtSender > | RegisterSendROt (std::size_t number_of_ots=1, std::size_t bitlength=1) |
std::unique_ptr< XcOtSender > | RegisterSendXcOt (std::size_t number_of_ots=1, std::size_t bitlength=1) |
std::unique_ptr< FixedXcOt128Sender > | RegisterSendFixedXcOt128 (std::size_t number_of_ots=1) |
std::unique_ptr< XcOtBitSender > | RegisterSendXcOtBit (std::size_t number_of_ots=1) |
template<typename T > | |
std::unique_ptr< AcOtSender< T > > | RegisterSendAcOt (std::size_t number_of_ots=1, std::size_t vector_size=1) |
std::unique_ptr< GOtSender > | RegisterSendGOt (std::size_t number_of_ots=1, std::size_t bitlength=1) |
std::unique_ptr< GOt128Sender > | RegisterSendGOt128 (std::size_t number_of_ots=1) |
std::unique_ptr< GOtBitSender > | RegisterSendGOtBit (std::size_t number_of_ots=1) |
std::unique_ptr< ROtReceiver > | RegisterReceiveROt (std::size_t number_of_ots=1, std::size_t bitlength=1) |
std::unique_ptr< XcOtReceiver > | RegisterReceiveXcOt (std::size_t number_of_ots=1, std::size_t bitlength=1) |
std::unique_ptr< FixedXcOt128Receiver > | RegisterReceiveFixedXcOt128 (std::size_t number_of_ots=1) |
std::unique_ptr< XcOtBitReceiver > | RegisterReceiveXcOtBit (std::size_t number_of_ots=1) |
template<typename T > | |
std::unique_ptr< AcOtReceiver< T > > | RegisterReceiveAcOt (std::size_t number_of_ots=1, std::size_t vector_size=1) |
std::unique_ptr< GOtReceiver > | RegisterReceiveGOt (std::size_t number_of_ots=1, std::size_t bitlength=1) |
std::unique_ptr< GOt128Receiver > | RegisterReceiveGOt128 (std::size_t number_of_ots=1) |
std::unique_ptr< GOtBitReceiver > | RegisterReceiveGOtBit (std::size_t number_of_ots=1) |
std::size_t | GetNumOtsReceiver () const |
std::size_t | GetNumOtsSender () const |
virtual void | SendSetup ()=0 |
virtual void | ReceiveSetup ()=0 |
void | WaitSetup () const |
void | Clear () |
void | Reset () |
Protected Member Functions | |
OtProvider (std::function< void(flatbuffers::FlatBufferBuilder &&)> send_function, OtExtensionData &data, std::size_t party_id, std::shared_ptr< Logger > logger) | |
Protected Attributes | |
std::function< void(flatbuffers::FlatBufferBuilder &&)> | send_function_ |
OtExtensionData & | data_ |
OtProviderReceiver | receiver_provider_ |
OtProviderSender | sender_provider_ |
|
virtualdefault |
|
delete |
|
protected |
|
inline |
|
inline |
|
inline |
|
pure virtual |
Implemented in encrypto::motion::OtProviderFromOtExtension.
template std::unique_ptr< AcOtReceiver< __uint128_t > > encrypto::motion::OtProvider::RegisterReceiveAcOt | ( | std::size_t | number_of_ots = 1 , |
std::size_t | vector_size = 1 |
||
) |
std::unique_ptr< FixedXcOt128Receiver > encrypto::motion::OtProvider::RegisterReceiveFixedXcOt128 | ( | std::size_t | number_of_ots = 1 | ) |
std::unique_ptr< GOtReceiver > encrypto::motion::OtProvider::RegisterReceiveGOt | ( | std::size_t | number_of_ots = 1 , |
std::size_t | bitlength = 1 |
||
) |
std::unique_ptr< GOt128Receiver > encrypto::motion::OtProvider::RegisterReceiveGOt128 | ( | std::size_t | number_of_ots = 1 | ) |
std::unique_ptr< GOtBitReceiver > encrypto::motion::OtProvider::RegisterReceiveGOtBit | ( | std::size_t | number_of_ots = 1 | ) |
std::unique_ptr< ROtReceiver > encrypto::motion::OtProvider::RegisterReceiveROt | ( | std::size_t | number_of_ots = 1 , |
std::size_t | bitlength = 1 |
||
) |
std::unique_ptr< XcOtReceiver > encrypto::motion::OtProvider::RegisterReceiveXcOt | ( | std::size_t | number_of_ots = 1 , |
std::size_t | bitlength = 1 |
||
) |
std::unique_ptr< XcOtBitReceiver > encrypto::motion::OtProvider::RegisterReceiveXcOtBit | ( | std::size_t | number_of_ots = 1 | ) |
template std::unique_ptr< AcOtSender< __uint128_t > > encrypto::motion::OtProvider::RegisterSendAcOt | ( | std::size_t | number_of_ots = 1 , |
std::size_t | vector_size = 1 |
||
) |
std::unique_ptr< FixedXcOt128Sender > encrypto::motion::OtProvider::RegisterSendFixedXcOt128 | ( | std::size_t | number_of_ots = 1 | ) |
std::unique_ptr< GOtSender > encrypto::motion::OtProvider::RegisterSendGOt | ( | std::size_t | number_of_ots = 1 , |
std::size_t | bitlength = 1 |
||
) |
std::unique_ptr< GOt128Sender > encrypto::motion::OtProvider::RegisterSendGOt128 | ( | std::size_t | number_of_ots = 1 | ) |
std::unique_ptr< GOtBitSender > encrypto::motion::OtProvider::RegisterSendGOtBit | ( | std::size_t | number_of_ots = 1 | ) |
std::unique_ptr< ROtSender > encrypto::motion::OtProvider::RegisterSendROt | ( | std::size_t | number_of_ots = 1 , |
std::size_t | bitlength = 1 |
||
) |
std::unique_ptr< XcOtSender > encrypto::motion::OtProvider::RegisterSendXcOt | ( | std::size_t | number_of_ots = 1 , |
std::size_t | bitlength = 1 |
||
) |
std::unique_ptr< XcOtBitSender > encrypto::motion::OtProvider::RegisterSendXcOtBit | ( | std::size_t | number_of_ots = 1 | ) |
|
inline |
|
pure virtual |
Implemented in encrypto::motion::OtProviderFromOtExtension.
void encrypto::motion::OtProvider::WaitSetup | ( | ) | const |
|
protected |
|
protected |
|
protected |
|
protected |