MOTION
0.01
Framework for mixed-protocol multi-party computation
|
#include "crosstabs.h"
#include <fstream>
#include <span>
#include "protocols/arithmetic_gmw/arithmetic_gmw_wire.h"
#include "protocols/bmr/bmr_wire.h"
#include "protocols/boolean_gmw/boolean_gmw_wire.h"
#include "protocols/share_wrapper.h"
#include "secure_type/secure_unsigned_integer.h"
#include "statistics/analysis.h"
#include "statistics/run_time_statistics.h"
#include "utility/bit_vector.h"
#include "utility/config.h"
Classes | |
struct | Attributes |
struct | CrossTabsContext |
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) |
Variables | |
struct Attributes | party_0 |
struct Attributes | party_1 |
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.
struct Attributes party_0 |
struct Attributes party_1 |