MOTION
0.01
Framework for mixed-protocol multi-party computation
|
Go to the documentation of this file.
31 const std::uint32_t input_command_line,
32 const std::string& input_file_path,
33 const std::string& input_file_shared_path,
38 const std::uint32_t input_command_line,
39 const std::string& input_file_path);
43 const std::string& input_file_shared_path);
std::uint32_t GetFileInput(const std::string &path)
Definition: mult3.cpp:166
std::vector< std::uint32_t > GetFileSharedInput(const std::string &path)
Definition: mult3.cpp:181
std::unique_ptr< Party > PartyPointer
Definition: party.h:387
encrypto::motion::SecureUnsignedInteger CreateMult3Circuit(encrypto::motion::SecureUnsignedInteger a, encrypto::motion::SecureUnsignedInteger b, encrypto::motion::SecureUnsignedInteger c)
Definition: mult3.cpp:157
encrypto::motion::SecureUnsignedInteger ComputeSharedInput(encrypto::motion::PartyPointer &party, encrypto::motion::MpcProtocol protocol, const std::string &input_file_shared_path)
Definition: mult3.cpp:119
std::vector< std::uint32_t > GetFileSharedInput(const std::string &path)
Definition: mult3.cpp:181
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
encrypto::motion::SecureUnsignedInteger ComputeInput(encrypto::motion::PartyPointer &party, encrypto::motion::MpcProtocol protocol, const std::uint32_t input_command_line, const std::string &input_file_path)
Definition: mult3.cpp:68
encrypto::motion::SecureUnsignedInteger ComputeInput(encrypto::motion::PartyPointer &party, encrypto::motion::MpcProtocol protocol, const std::uint32_t input_command_line, const std::string &input_file_path)
Definition: mult3.cpp:68
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, const std::uint32_t input_command_line, const std::string &input_file_path, const std::string &input_file_shared_path, bool print_output)
Definition: mult3.cpp:32
std::uint32_t GetFileInput(const std::string &path)
Definition: innerproduct.cpp:121
encrypto::motion::SecureUnsignedInteger CreateMult3Circuit(encrypto::motion::SecureUnsignedInteger a, encrypto::motion::SecureUnsignedInteger b, encrypto::motion::SecureUnsignedInteger c)
Definition: mult3.cpp:157
encrypto::motion::SecureUnsignedInteger ComputeSharedInput(encrypto::motion::PartyPointer &party, encrypto::motion::MpcProtocol protocol, const std::string &input_file_shared_path)
Definition: mult3.cpp:119
encrypto::motion::RunTimeStatistics EvaluateProtocol(encrypto::motion::PartyPointer &party, encrypto::motion::MpcProtocol protocol, const std::uint32_t input_command_line, const std::string &input_file_path, const std::string &input_file_shared_path, bool print_output)
Definition: mult3.cpp:32
std::vector< BitVector< Allocator > > ToInput(IntegralType integral_value)
Definition: bit_vector.cpp:1189