|
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/benchmark_integers.h"#include "communication/communication_layer.h"#include "communication/tcp_transport.h"#include "statistics/analysis.h"#include "utility/typedefs.h"
Classes | |
| struct | Combination |
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) |
| std::vector< Combination > | GenerateAllCombinations () |
| 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) |
Variables | |
| constexpr std::size_t | kIllegalProtocol {100} |
| constexpr std::size_t | kIllegalOperationType {100} |
| bool CheckPartyArgumentSyntax | ( | const std::string & | party_argument | ) |


| encrypto::motion::PartyPointer CreateParty | ( | const program_options::variables_map & | user_options | ) |


| std::vector<Combination> GenerateAllCombinations | ( | ) |

| 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[] | ||
| ) |


| constexpr std::size_t kIllegalOperationType {100} |
|
constexpr |
1.8.17