MOTION
0.01
Framework for mixed-protocol multi-party computation
|
Go to the documentation of this file.
34 class CommunicationLayer;
49 std::size_t bitlength);
51 std::size_t bitlength);
53 std::size_t number_blocks);
55 std::size_t gate_id, std::size_t number_blocks);
60 std::size_t number_of_parties_;
61 std::vector<std::unique_ptr<Data>> data_;
const Block128 & GetGlobalOffset() const
Definition: bmr_provider.h:46
~Provider()
Definition: bmr_provider.cpp:70
Definition: reusable_future.h:129
const encrypto::motion::communication::Message * GetMessage(const void *buf)
Definition: message_generated.h:146
Definition: bmr_provider.h:42
ReusableFiberFuture< BitVector<> > RegisterForInputPublicValues(std::size_t input_owner, std::size_t gate_id, std::size_t bitlength)
Definition: bmr_provider.cpp:76
void MessageReceived(const std::uint8_t *message, const DataType type, const std::size_t i)
Definition: bmr_data.cpp:30
Provider(communication::CommunicationLayer &communication_layer)
Definition: bmr_provider.cpp:49
void RegisterMessageHandler(MessageHandlerFunction, const std::vector< MessageType > &message_types)
Definition: communication_layer.cpp:393
void ReceivedMessage(std::size_t, std::vector< std::uint8_t > &&message) override
Definition: bmr_provider.cpp:19
std::vector< ReusableFiberFuture< Block128Vector > > RegisterForGarbledRows(std::size_t gate_id, std::size_t number_blocks)
Definition: bmr_provider.cpp:109
@ kInputStep0
Definition: bmr_data.h:39
const encrypto::motion::communication::BmrMessage * GetBmrMessage(const void *buf)
Definition: bmr_message_generated.h:80
Block of aligned 128 bit / 16 B.
Definition: block.h:34
std::size_t GetMyId() const
Definition: communication_layer.h:66
Definition: bmr_data.h:41
Definition: message_handler.h:38
Definition: communication_layer.h:58
@ kAndGate
Definition: bmr_data.h:39
Definition: bmr_provider.cpp:10
MessageHandler(Data &data)
Definition: bmr_provider.cpp:12
@ kInputStep1
Definition: bmr_data.h:39
void DeregisterMessageHandler(const std::vector< MessageType > &message_types)
Definition: communication_layer.cpp:414
std::vector< ReusableFiberFuture< Block128Vector > > RegisterForInputKeys(std::size_t gate_id, std::size_t number_blocks)
Definition: bmr_provider.cpp:96