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

#include <ot_provider.h>

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

Public Member Functions

void SendSetup () final
 
void ReceiveSetup () final
 
 OtProviderFromOtExtension (std::function< void(flatbuffers::FlatBufferBuilder &&)> send_function, OtExtensionData &data, const BaseOtData &base_ot_data, BaseProvider &, std::size_t party_id, std::shared_ptr< Logger > logger)
 
- Public Member Functions inherited from encrypto::motion::OtProvider
virtual ~OtProvider ()=default
 
 OtProvider (const OtProvider &)=delete
 
std::unique_ptr< ROtSenderRegisterSendROt (std::size_t number_of_ots=1, std::size_t bitlength=1)
 
std::unique_ptr< XcOtSenderRegisterSendXcOt (std::size_t number_of_ots=1, std::size_t bitlength=1)
 
std::unique_ptr< FixedXcOt128SenderRegisterSendFixedXcOt128 (std::size_t number_of_ots=1)
 
std::unique_ptr< XcOtBitSenderRegisterSendXcOtBit (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< GOtSenderRegisterSendGOt (std::size_t number_of_ots=1, std::size_t bitlength=1)
 
std::unique_ptr< GOt128SenderRegisterSendGOt128 (std::size_t number_of_ots=1)
 
std::unique_ptr< GOtBitSenderRegisterSendGOtBit (std::size_t number_of_ots=1)
 
std::unique_ptr< ROtReceiverRegisterReceiveROt (std::size_t number_of_ots=1, std::size_t bitlength=1)
 
std::unique_ptr< XcOtReceiverRegisterReceiveXcOt (std::size_t number_of_ots=1, std::size_t bitlength=1)
 
std::unique_ptr< FixedXcOt128ReceiverRegisterReceiveFixedXcOt128 (std::size_t number_of_ots=1)
 
std::unique_ptr< XcOtBitReceiverRegisterReceiveXcOtBit (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< GOtReceiverRegisterReceiveGOt (std::size_t number_of_ots=1, std::size_t bitlength=1)
 
std::unique_ptr< GOt128ReceiverRegisterReceiveGOt128 (std::size_t number_of_ots=1)
 
std::unique_ptr< GOtBitReceiverRegisterReceiveGOtBit (std::size_t number_of_ots=1)
 
std::size_t GetNumOtsReceiver () const
 
std::size_t GetNumOtsSender () const
 
void WaitSetup () const
 
void Clear ()
 
void Reset ()
 

Additional Inherited Members

- Protected Member Functions inherited from encrypto::motion::OtProvider
 OtProvider (std::function< void(flatbuffers::FlatBufferBuilder &&)> send_function, OtExtensionData &data, std::size_t party_id, std::shared_ptr< Logger > logger)
 
- Protected Attributes inherited from encrypto::motion::OtProvider
std::function< void(flatbuffers::FlatBufferBuilder &&)> send_function_
 
OtExtensionDatadata_
 
OtProviderReceiver receiver_provider_
 
OtProviderSender sender_provider_
 

Constructor & Destructor Documentation

◆ OtProviderFromOtExtension()

encrypto::motion::OtProviderFromOtExtension::OtProviderFromOtExtension ( std::function< void(flatbuffers::FlatBufferBuilder &&)>  send_function,
OtExtensionData data,
const BaseOtData base_ot_data,
BaseProvider motion_base_provider,
std::size_t  party_id,
std::shared_ptr< Logger logger 
)

Member Function Documentation

◆ ReceiveSetup()

void encrypto::motion::OtProviderFromOtExtension::ReceiveSetup ( )
finalvirtual

Implements encrypto::motion::OtProvider.

Here is the call graph for this function:

◆ SendSetup()

void encrypto::motion::OtProviderFromOtExtension::SendSetup ( )
finalvirtual

Implements encrypto::motion::OtProvider.

Here is the call graph for this function:

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