MOTION
0.01
Framework for mixed-protocol multi-party computation
|
Go to the documentation of this file.
32 std::span<const std::uint32_t> input_command_line,
const std::string& input_file_path,
38 std::vector<std::uint32_t>
GetFileInput(
const std::string& path);
std::vector< std::uint32_t > GetFileInput(const std::string &path)
Definition: innerproduct.cpp:121
std::unique_ptr< Party > PartyPointer
Definition: party.h:387
encrypto::motion::SecureUnsignedInteger CreateInnerProductCircuit(encrypto::motion::SecureUnsignedInteger a, encrypto::motion::SecureUnsignedInteger b)
Definition: innerproduct.cpp:102
encrypto::motion::RunTimeStatistics EvaluateProtocol(encrypto::motion::PartyPointer &party, encrypto::motion::MpcProtocol protocol, std::span< const std::uint32_t > input_command_line, const std::string &input_file_path, bool print_output)
Definition: innerproduct.cpp:35
encrypto::motion::SecureUnsignedInteger CreateInnerProductCircuit(encrypto::motion::SecureUnsignedInteger a, encrypto::motion::SecureUnsignedInteger b)
Definition: innerproduct.cpp:102
T As() const
converts the information on the wires to T in type Unsigned Integer. See the description in ShareWrap...
Definition: secure_unsigned_integer.cpp:283
std::vector< std::uint32_t > GetFileInput(const std::string &path)
Definition: innerproduct.cpp:121
Definition: run_time_statistics.h:32
Definition: secure_unsigned_integer.h:33
MpcProtocol
Definition: typedefs.h:140
SecureUnsignedInteger Out(std::size_t output_owner=std::numeric_limits< std::int64_t >::max()) const
constructs an output gate, which reconstructs the cleartext result. The default parameter for the out...
Definition: secure_unsigned_integer.cpp:272
encrypto::motion::RunTimeStatistics EvaluateProtocol(encrypto::motion::PartyPointer &party, encrypto::motion::MpcProtocol protocol, std::span< const std::uint32_t > input_command_line, const std::string &input_file_path, bool print_output)
Definition: innerproduct.cpp:35
std::vector< SecureUnsignedInteger > Unsimdify() const
decomposes this->share_->Get() into shares with exactly 1 SIMD value. See the description in ShareWra...
Definition: secure_unsigned_integer.cpp:261
std::vector< BitVector< Allocator > > ToInput(IntegralType integral_value)
Definition: bit_vector.cpp:1189