MOTION
0.01
Framework for mixed-protocol multi-party computation
|
Go to the documentation of this file.
91 std::vector<ReusableFiberFuture<BitVector<>>> received_public_values_;
92 std::vector<ReusableFiberFuture<Block128Vector>> received_public_keys_;
const Block128 & GetGlobalOffset() const
Definition: bmr_provider.h:46
void EvaluateSetup() final override
Definition: conversion_gate.cpp:84
std::shared_ptr< Share > SharePointer
Definition: bmr_share.h:52
const proto::bmr::SharePointer GetOutputAsBmrShare() const
Definition: conversion_gate.cpp:445
Definition: share_wrapper.h:44
GateType gate_type_
Definition: gate.h:105
void RegisterNextInputGate(GatePointer gate)
Definition: register.cpp:82
void EvaluateSetup() final override
Definition: conversion_gate.cpp:388
const SharePointer GetOutputAsShare() const
Definition: conversion_gate.cpp:131
communication::CommunicationLayer & GetCommunicationLayer()
Definition: gate.cpp:92
std::vector< WirePointer > output_wires_
Definition: gate.h:100
const auto & GetData() const noexcept
Get const reference to content of BitVector.
Definition: bit_vector.h:152
~BmrToBooleanGmwGate() final=default
Logger & GetLogger()
Definition: gate.cpp:100
~ArithmeticGmwToBmrGate() final=default
BooleanGmwToBmrGate()=delete
flatbuffers::FlatBufferBuilder BuildBmrInput0Message(const std::size_t id, const std::vector< std::uint8_t > &payload)
Definition: bmr_message.cpp:45
std::vector< WirePointer > parent_
Definition: gate.h:155
std::size_t ByteSize() const
Get size of the Block128Vector content in bytes.
Definition: block.h:228
Vector of 128 bit / 16 B blocks.
Definition: block.h:168
Definition: conversion_gate.h:53
void LogDebug(const std::string &message)
Definition: logger.cpp:142
std::atomic< bool > requires_online_interaction_
Definition: gate.h:108
Register & GetRegister()
Definition: gate.cpp:96
std::shared_ptr< Share > SharePointer
Definition: backend.h:46
void IncrementEvaluatedGatesOnlineCounter()
Definition: register.cpp:125
proto::bmr::Provider & GetBmrProvider()
Definition: backend.h:293
void RegisterWaitingFor(std::size_t wire_id)
Definition: gate.cpp:36
void SetOnlineIsReady()
Definition: gate.cpp:54
Backend & backend_
Definition: gate.h:101
void SetSetupIsReady()
Definition: gate.cpp:46
void IncrementEvaluatedGatesSetupCounter()
Definition: register.cpp:114
Block128 * data()
Get pointer to the first Block128.
Definition: block.h:219
Definition: algorithm_description.cpp:35
const proto::bmr::SharePointer GetOutputAsBmrShare() const
Definition: conversion_gate.cpp:313
std::shared_ptr< Share > SharePointer
Definition: conversion_gate.h:49
std::int64_t gate_id_
Definition: gate.h:102
void EvaluateOnline() final override
Definition: conversion_gate.cpp:398
const SharePointer GetOutputAsShare() const
Definition: conversion_gate.cpp:319
Definition: conversion_gate.h:95
flatbuffers::FlatBufferBuilder BuildBmrInput1Message(const std::size_t id, const std::vector< std::uint8_t > &payload)
Definition: bmr_message.cpp:55
ArithmeticGmwToBmrGate()=delete
~BooleanGmwToBmrGate() final=default
bool own_output_wires_
Definition: gate.h:128
const SharePointer GetOutputAsShare() const
Definition: conversion_gate.cpp:451
Definition: conversion_gate.h:72
Definition: reusable_future.h:123
void Append(bool bit) noexcept
Appends a bit to BitVector.
Definition: bit_vector.cpp:621
const proto::boolean_gmw::SharePointer GetOutputAsGmwShare() const
Definition: conversion_gate.cpp:125
void EvaluateOnline() final override
Definition: conversion_gate.cpp:201
void EvaluateOnline() final override
Definition: conversion_gate.cpp:89
void WaitSetup() const
Definition: gate.cpp:68
void RegisterNextWire(WirePointer wire)
Definition: register.h:78
constexpr bool kDebug
Definition: config.h:36
BitVector Subset(std::size_t from, std::size_t to) const
Returns a new BitVector containing the bits of this BitVector between positions from and to.
Definition: bit_vector.cpp:806
void EvaluateSetup() final override
Definition: conversion_gate.cpp:180
std::vector< BitVector< Allocator > > ToInput(IntegralType integral_value)
Definition: bit_vector.cpp:1189
Block128 & at(std::size_t index)
Access Block128 at index. Throws an exception if index is out of bounds.
Definition: block.h:215
std::size_t NextGateId() noexcept
Definition: register.cpp:53
BmrToBooleanGmwGate()=delete