MOTION
0.01
Framework for mixed-protocol multi-party computation
|
Go to the documentation of this file.
62 const std::vector<std::size_t> position_ids_;
void BitVectorSubsetImplementation(const BitVector< Allocator > &in, BitVector< Allocator > &out, std::span< const std::size_t > position_ids)
Definition: subset_gate.cpp:207
GateType gate_type_
Definition: gate.h:105
const SharePointer GetOutputAsShare()
Definition: subset_gate.cpp:397
std::vector< WirePointer > output_wires_
Definition: gate.h:100
Logger & GetLogger()
Definition: gate.cpp:100
std::shared_ptr< Wire > WirePointer
Definition: register.h:40
std::vector< WirePointer > parent_
Definition: gate.h:155
void Set(bool value) noexcept
Sets or unsets all bits in the BitVector.
Definition: bit_vector.cpp:440
void EvaluateSetup() override
Definition: subset_gate.cpp:222
Class representing a series of bits and providing single bit access.
Definition: bit_vector.h:64
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::int64_t GetId() const
Definition: gate.h:95
void IncrementEvaluatedGatesOnlineCounter()
Definition: register.cpp:125
void EvaluateOnline() override
Definition: subset_gate.cpp:286
void RegisterWaitingFor(std::size_t wire_id)
Definition: gate.cpp:36
void SetOnlineIsReady()
Definition: gate.cpp:54
Backend & backend_
Definition: gate.h:101
void ArithmeticConstantSubsetOnline(WirePointer parent_wire, WirePointer output_wire, std::span< const std::size_t > position_ids)
Definition: subset_gate.cpp:280
void SetSetupIsReady()
Definition: gate.cpp:46
void IncrementEvaluatedGatesSetupCounter()
Definition: register.cpp:114
Definition: algorithm_description.cpp:35
auto GetSize() const noexcept
Get size of BitVector.
Definition: bit_vector.h:149
std::shared_ptr< Share > SharePointer
Definition: conversion_gate.h:49
std::int64_t gate_id_
Definition: gate.h:102
std::size_t GetNumOfParties() const
Definition: configuration.h:56
MpcProtocol
Definition: typedefs.h:140
obtains a subset of SIMD values of a share at provided position ids. Repeated position ids are allowe...
Definition: subset_gate.h:43
void WaitSetup() const
Definition: gate.cpp:68
void ArithmeticGmwSubsetOnline(WirePointer parent_wire, WirePointer output_wire, std::span< const std::size_t > position_ids)
Definition: subset_gate.cpp:273
void RegisterNextWire(WirePointer wire)
Definition: register.h:78
constexpr bool kDebug
Definition: config.h:36
void ArithmeticSubsetOnlineImplementation(WirePointer parent_wire, WirePointer output_wire, std::span< const std::size_t > position_ids)
Definition: subset_gate.cpp:252
Definition: constant_wire.h:33
Definition: arithmetic_gmw_wire.h:33
Configuration & GetConfiguration()
Definition: gate.cpp:98
void Resize(std::size_t number_of_bits, bool zero_fill=false) noexcept
Resize BitVector to size number_of_bits. New bits are uninitialized by default.
Definition: bit_vector.cpp:602
std::size_t NextGateId() noexcept
Definition: register.cpp:53