MOTION  0.01
Framework for mixed-protocol multi-party computation
Functions
crosstabs.h File Reference
#include <span>
#include "base/party.h"
#include "secure_type/secure_unsigned_integer.h"
#include "statistics/run_time_statistics.h"
Include dependency graph for crosstabs.h:
This graph shows which files directly or indirectly include this file:

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::SecureUnsignedIntegerCreateCrossTabsCircuit (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)
 

Function Documentation

◆ CreateCrossTabsCircuit()

std::vector<encrypto::motion::SecureUnsignedInteger> CreateCrossTabsCircuit ( CrossTabsContext  context)

Constructs the cross tabs of the given data in CrossTabsContext.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ EvaluateProtocol()

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 
)
Here is the call graph for this function:

◆ GetFileInput()

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.

Here is the caller graph for this function: