1
0
Fork 0
mirror of https://github.com/samsapti/bachelor-project.git synced 2024-12-18 00:37:52 +00:00

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()