MOTION  0.01
Framework for mixed-protocol multi-party computation
Functions
innerproduct.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 innerproduct.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, 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)
 

Function Documentation

◆ CreateInnerProductCircuit()

Constructs the inner product of the two given inputs.

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,
encrypto::motion::MpcProtocol  protocol,
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::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.