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, std::uint32_t number_of_bins, std::span< const std::uint32_t > input_command_line, const std::string &input_file_path, bool print_output) |
std::vector< encrypto::motion::SecureUnsignedInteger > | CreateCrossTabsCircuit (CrossTabsContext context) |
std::tuple< std::vector< std::uint32_t >, std::vector< std::uint32_t >, std::vector< std::uint32_t > > | GetFileInput (std::size_t party_id, const std::string &path, std::uint32_t number_of_bins) |
std::vector<encrypto::motion::SecureUnsignedInteger> CreateCrossTabsCircuit | ( | CrossTabsContext | context | ) |
Constructs the cross tabs of the given data in CrossTabsContext.
encrypto::motion::RunTimeStatistics EvaluateProtocol | ( | encrypto::motion::PartyPointer & | party, |
std::uint32_t | number_of_bins, | ||
std::span< const std::uint32_t > | input_command_line, | ||
const std::string & | input_file_path, | ||
bool | print_output | ||
) |
std::tuple<std::vector<std::uint32_t>, std::vector<std::uint32_t>, std::vector<std::uint32_t> > GetFileInput | ( | std::size_t | party_id, |
const std::string & | path, | ||
std::uint32_t | number_of_bins | ||
) |
Takes inputs from file in path.