Add shell script to run programs

This commit is contained in:
Sam A. 2023-03-29 17:16:38 +02:00
parent c5a2fb604c
commit f6af68f1c3
Signed by: samsapti
GPG Key ID: CBBBE7371E81C4EA
3 changed files with 12 additions and 1 deletions

2
.gitmodules vendored
View File

@ -1,3 +1,3 @@
[submodule "src/MP_SPDZ"]
[submodule "src/MP-SPDZ"]
path = src/MP-SPDZ
url = https://github.com/data61/MP-SPDZ

6
run.sh Executable file
View File

@ -0,0 +1,6 @@
#!/bin/sh
MACHINE="$1"
shift
cd src/MP-SPDZ
"./$MACHINE" "$@"

View File

@ -146,3 +146,8 @@ class Matchmaker:
self.int_type = int_type
self.basic_type = int_type.basic_type
print('match', self.oram_type)
mm = Matchmaker(5, oram_type=OptimalORAM)
mm.init_easy()
mm.match()