19 #ifndef MAINS_ABYTEST_H_
20 #define MAINS_ABYTEST_H_
25 #include "../abycore/util/typedefs.h"
26 #include "../abycore/util/crypto/crypto.h"
27 #include "../abycore/aby/abyparty.h"
28 #include "../abycore/util/timer.h"
29 #include "../abycore/util/parse_options.h"
30 #include "../abycore/sharing/sharing.h"
31 #include "../examples/psi_scs/common/sort_compare_shuffle.h"
32 #include "../examples/psi_phasing/common/phasing_circuit.h"
33 #include "../examples/aes/common/aescircuit.h"
34 #include "../examples/min-euclidean-dist/common/min-euclidean-dist-circuit.h"
43 bool run_tests(
e_role role,
char* address,
seclvl seclvl, uint32_t bitlen, uint32_t nvals, uint32_t nthreads,
e_mt_gen_alg mt_alg, int32_t testop,
bool verbose);
45 int32_t read_test_options(int32_t* argcp,
char*** argvp,
e_role* role, uint32_t* bitlen, uint32_t* nreps, uint32_t* secparam,
string* address, uint16_t* port, int32_t* test_op,
48 int32_t test_standard_ops(
test_ops_t* test_ops,
ABYParty* party, uint32_t bitlen, uint32_t num_test_runs,
49 uint32_t nops,
e_role role,
bool verbose);
51 int32_t test_vector_ops(
test_ops_t* test_ops,
ABYParty* party, uint32_t nvals, uint32_t bitlen,
52 uint32_t num_test_runs, uint32_t nops,
e_role role,
bool verbose);
Definition: abyparty.h:52
e_mt_gen_alg
Enumeration which defines the method that is used for arithmetic multiplication triple generation...
Definition: constants.h:55
e_role
Defines the role of the party or the source / target for certain operations (e.g., input/output)
Definition: constants.h:139
Definition: typedefs.h:79
e_sharing
Enumeration which defines the different sharing which are there in the framework. ...
Definition: constants.h:124
e_operation
Enumeration which defines all the operations which are there in the framework.
Definition: constants.h:91