This commit is contained in:
Edward Chen
2022-07-26 18:19:30 -04:00
parent faf7cc4d64
commit 3347bca5ce
6 changed files with 18 additions and 48 deletions

View File

@@ -31,6 +31,8 @@ if __name__ == "__main__":
cryptonets_tests + \
histogram_tests
tests = ts
# TODO: add support unsigned + int promotion
# unsigned_arithmetic_tests + \

View File

@@ -1,8 +1,8 @@
ts = [
[
"Array index test",
"2pc_array_index",
"./scripts/aby_tests/test_inputs/add.txt",
"Multiply two numbers - 1",
"2pc_mult",
"./scripts/aby_tests/test_inputs/mult_1.txt",
],
]

View File

@@ -37,6 +37,8 @@ function mpc_test_bool {
}
# mpc_test 2 ./examples/C/mpc/playground.c
# mpc_test 2 ./examples/C/mpc/benchmarks/cryptonets/cryptonets.c
mpc_test_2 2 ./examples/C/mpc/benchmarks/histogram/histogram.c
# # build mpc arithmetic tests
# mpc_test 2 ./examples/C/mpc/unit_tests/arithmetic_tests/2pc_add.c
@@ -126,7 +128,7 @@ function mpc_test_bool {
# mpc_test 2 ./examples/C/mpc/benchmarks/db/db_join2.c
# mpc_test 2 ./examples/C/mpc/benchmarks/db/db_merge.c
# mpc_test 2 ./examples/C/mpc/benchmarks/mnist/mnist.c
mpc_test 2 ./examples/C/mpc/benchmarks/cryptonets/cryptonets.c
# mpc_test 2 ./examples/C/mpc/benchmarks/cryptonets/cryptonets.c
# # build OPA benchmarks
# mpc_test_2 2 ./examples/C/mpc/benchmarks/histogram/histogram.c