MOTION
0.01
Framework for mixed-protocol multi-party computation
|
obtains a subset of SIMD values of a share at provided position ids. Repeated position ids are allowed, meaning that the number of SIMD values of the output share may be greater than the number of SIMD values of the parent share. Each of the position ids must be smaller than the number of SIMD values of the parent share. More...
#include <subset_gate.h>
Public Member Functions | |
SubsetGate (const SharePointer &parent, std::span< const std::size_t > position_ids) | |
SubsetGate (const SharePointer &parent, std::vector< std::size_t > &&position_ids) | |
~SubsetGate ()=default | |
void | EvaluateSetup () override |
void | EvaluateOnline () override |
const SharePointer | GetOutputAsShare () |
SubsetGate ()=delete | |
SubsetGate (const Gate &)=delete | |
Public Member Functions inherited from encrypto::motion::OneGate | |
~OneGate () override=default | |
OneGate (OneGate &)=delete | |
Public Member Functions inherited from encrypto::motion::Gate | |
virtual | ~Gate ()=default |
const std::vector< WirePointer > & | GetOutputWires () const |
void | Clear () |
void | RegisterWaitingFor (std::size_t wire_id) |
void | SignalDependencyIsReady () |
bool | AreDependenciesReady () |
void | SetSetupIsReady () |
void | SetOnlineIsReady () |
void | WaitSetup () const |
void | WaitOnline () const |
bool | SetupIsReady () const |
std::int64_t | GetId () const |
Gate (Gate &)=delete | |
obtains a subset of SIMD values of a share at provided position ids. Repeated position ids are allowed, meaning that the number of SIMD values of the output share may be greater than the number of SIMD values of the parent share. Each of the position ids must be smaller than the number of SIMD values of the parent share.
encrypto::motion::SubsetGate::SubsetGate | ( | const SharePointer & | parent, |
std::span< const std::size_t > | position_ids | ||
) |
encrypto::motion::SubsetGate::SubsetGate | ( | const SharePointer & | parent, |
std::vector< std::size_t > && | position_ids | ||
) |
|
default |
|
delete |
|
delete |
|
overridevirtual |
|
overridevirtual |
const SharePointer encrypto::motion::SubsetGate::GetOutputAsShare | ( | ) |