MOTION
0.01
Framework for mixed-protocol multi-party computation
|
#include <cmath>
#include <fstream>
#include <iostream>
#include <random>
#include <regex>
#include <fmt/format.h>
#include <boost/lexical_cast.hpp>
#include <boost/program_options.hpp>
#include "base/party.h"
#include "common/sha256.h"
#include "communication/communication_layer.h"
#include "communication/tcp_transport.h"
#include "statistics/analysis.h"
Functions | |
bool | CheckPartyArgumentSyntax (const std::string &party_argument) |
std::pair< program_options::variables_map, bool > | ParseProgramOptions (int ac, char *av[]) |
encrypto::motion::PartyPointer | CreateParty (const program_options::variables_map &user_options) |
int | main (int ac, char *av[]) |
const std::regex | kPartyArgumentRegex ("(\\d+),(\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}),(\\d{1,5})") |
std::tuple< std::size_t, std::string, std::uint16_t > | ParsePartyArgument (const std::string &party_argument) |
bool CheckPartyArgumentSyntax | ( | const std::string & | party_argument | ) |
encrypto::motion::PartyPointer CreateParty | ( | const program_options::variables_map & | user_options | ) |
const std::regex kPartyArgumentRegex | ( | " | \\d+, |
(\\d{1, 3}\\.\\d{1, 3}\\.\\d{1, 3}\\.\\d{1, 3}) | , | ||
(\\d{1, 5})" | |||
) |
int main | ( | int | ac, |
char * | av[] | ||
) |
std::tuple<std::size_t, std::string, std::uint16_t> ParsePartyArgument | ( | const std::string & | party_argument | ) |
std::pair<program_options::variables_map, bool> ParseProgramOptions | ( | int | ac, |
char * | av[] | ||
) |