MOTION
0.01
Framework for mixed-protocol multi-party computation
|
#include <span>
#include "base/party.h"
#include "secure_type/secure_unsigned_integer.h"
#include "statistics/run_time_statistics.h"
Go to the source code of this file.
Functions | |
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) |
encrypto::motion::SecureUnsignedInteger | CreateInnerProductCircuit (encrypto::motion::SecureUnsignedInteger a, encrypto::motion::SecureUnsignedInteger b) |
std::vector< std::uint32_t > | GetFileInput (const std::string &path) |
encrypto::motion::SecureUnsignedInteger CreateInnerProductCircuit | ( | encrypto::motion::SecureUnsignedInteger | a, |
encrypto::motion::SecureUnsignedInteger | b | ||
) |
Constructs the inner product of the two given inputs.
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 | ||
) |
std::vector<std::uint32_t> GetFileInput | ( | const std::string & | path | ) |
Takes input as vector of integers from file in path.
Takes input as an integer from file in path.