MOTION
0.01
Framework for mixed-protocol multi-party computation
|
Go to the documentation of this file.
42 constexpr std::array
kProviderName{
"AMT",
"BMT",
"GOT",
"XCOT",
"ACOT",
"ROT",
"SB",
"SP"};
47 std::size_t batch_size,
Provider provider,
48 std::size_t bit_size = 0);
bool CheckPartyArgumentSyntax(const std::string &party_argument)
Definition: benchmark_integers_main.cpp:129
std::string to_string(Provider p)
Definition: benchmark_providers.h:44
@ kSb
Definition: benchmark_providers.h:38
void Add(const communication::TransportStatistics &statistics)
Definition: analysis.cpp:125
@ kROt
Definition: benchmark_providers.h:37
constexpr std::size_t kIllegalOperationType
Definition: benchmark_integers_main.cpp:50
std::pair< program_options::variables_map, bool > ParseProgramOptions(int ac, char *av[])
Definition: benchmark_integers_main.cpp:145
Definition: analysis.h:43
std::size_t bit_size
Definition: benchmark_main.cpp:60
int main(int ac, char *av[])
Definition: benchmark_main.cpp:112
std::size_t bit_size_
Definition: benchmark_integers_main.cpp:60
static Block128 MakeZero()
Create a zero-initialized Block128.
Definition: block.h:63
std::unique_ptr< Party > PartyPointer
Definition: party.h:387
encrypto::motion::IntegerOperationType operation_type_
Definition: benchmark_integers_main.cpp:62
@ kBmt
Definition: benchmark_providers.h:33
encrypto::motion::MpcProtocol protocol_
Definition: benchmark_integers_main.cpp:61
@ kAcOt
Definition: benchmark_providers.h:36
int main(int ac, char *av[])
Definition: benchmark_integers_main.cpp:88
IntegerOperationType
Definition: typedefs.h:113
Vector of 128 bit / 16 B blocks.
Definition: block.h:168
std::pair< program_options::variables_map, bool > ParseProgramOptions(int ac, char *av[])
Definition: benchmark_main.cpp:166
constexpr std::size_t kIllegalProtocol
Definition: benchmark_integers_main.cpp:50
encrypto::motion::MpcProtocol protocol
Definition: benchmark_main.cpp:61
std::size_t number_of_simd_
Definition: benchmark_integers_main.cpp:63
constexpr std::array kProviderName
Definition: benchmark_providers.h:42
Definition: tcp_transport.h:69
@ kAmt
Definition: benchmark_providers.h:32
Combination(std::size_t bit_size, encrypto::motion::MpcProtocol protocol, encrypto::motion::IntegerOperationType operation_type, std::size_t number_of_simd)
Definition: benchmark_integers_main.cpp:53
encrypto::motion::PartyPointer CreateParty(const program_options::variables_map &user_options)
Definition: benchmark_integers_main.cpp:212
bool CheckPartyArgumentSyntax(const std::string &party_argument)
Definition: benchmark_main.cpp:150
Provider
Definition: benchmark_providers.h:31
std::tuple< std::size_t, std::string, std::uint16_t > ParsePartyArgument(const std::string &party_argument)
Definition: benchmark_integers_main.cpp:134
std::size_t number_of_simd
Definition: benchmark_main.cpp:63
std::vector< Combination > GenerateAllCombinations()
Definition: benchmark_integers_main.cpp:66
encrypto::motion::PartyPointer CreateParty(const program_options::variables_map &user_options)
Definition: benchmark_main.cpp:233
std::vector< TcpConnectionConfiguration > TcpPartiesConfiguration
Definition: tcp_transport.h:62
Definition: benchmark_main.cpp:52
constexpr std::size_t kIllegalProtocol
Definition: benchmark_main.cpp:50
PrimitiveOperationType
Definition: typedefs.h:37
Combination(std::size_t bit_size, encrypto::motion::MpcProtocol protocol, encrypto::motion::PrimitiveOperationType operation_type, std::size_t number_of_simd)
Definition: benchmark_main.cpp:53
help
Definition: geninput.py:150
@ kGOt
Definition: benchmark_providers.h:34
Definition: run_time_statistics.h:32
std::string PrintStatistics(const std::string &experiment_name, const AccumulatedRunTimeStatistics &execution_statistics, const AccumulatedCommunicationStatistics &communication_statistics)
Definition: analysis.cpp:176
encrypto::motion::RunTimeStatistics EvaluateProtocol(encrypto::motion::PartyPointer &party, std::size_t number_of_simd, encrypto::motion::MpcProtocol protocol, bool check)
Definition: aes128.cpp:56
constexpr std::size_t kIllegalOperationType
Definition: benchmark_main.cpp:50
MpcProtocol
Definition: typedefs.h:140
@ kSp
Definition: benchmark_providers.h:39
const std::regex kPartyArgumentRegex("(\\d+),(\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}),(\\d{1,5})")
const std::regex kPartyArgumentRegex("(\\d+),(\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}),(\\d{1,5})")
static Block128 MakeRandom()
Create a random-initialized Block128.
Definition: block.h:70
encrypto::motion::RunTimeStatistics BenchmarkProvider(encrypto::motion::PartyPointer &party, std::size_t batch_size, Provider provider, std::size_t bit_size)
Definition: benchmark_providers.cpp:37
encrypto::motion::RunTimeStatistics BenchmarkProvider(encrypto::motion::PartyPointer &party, std::size_t batch_size, Provider provider, std::size_t bit_size=0)
Definition: benchmark_providers.cpp:37
std::string to_string(std::vector< T > values)
Returns a string representation of the std::vector values.
Definition: helpers.h:455
Definition: analysis.h:65
void Add(const RunTimeStatistics &statistics)
Definition: analysis.cpp:43
encrypto::motion::PrimitiveOperationType operation_type
Definition: benchmark_main.cpp:62
@ kXcOt
Definition: benchmark_providers.h:35
std::tuple< std::size_t, std::string, std::uint16_t > ParsePartyArgument(const std::string &party_argument)
Definition: benchmark_main.cpp:155
std::vector< Combination > GenerateAllCombinations()
Definition: benchmark_main.cpp:66
std::vector< std::unique_ptr< Transport > > SetupConnections()
Definition: tcp_transport.cpp:203