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:
parent
c5a2fb604c
commit
f6af68f1c3
2
.gitmodules
vendored
2
.gitmodules
vendored
|
@ -1,3 +1,3 @@
|
||||||
[submodule "src/MP_SPDZ"]
|
[submodule "src/MP-SPDZ"]
|
||||||
path = src/MP-SPDZ
|
path = src/MP-SPDZ
|
||||||
url = https://github.com/data61/MP-SPDZ
|
url = https://github.com/data61/MP-SPDZ
|
||||||
|
|
6
run.sh
Executable file
6
run.sh
Executable file
|
@ -0,0 +1,6 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
MACHINE="$1"
|
||||||
|
shift
|
||||||
|
cd src/MP-SPDZ
|
||||||
|
"./$MACHINE" "$@"
|
|
@ -146,3 +146,8 @@ class Matchmaker:
|
||||||
self.int_type = int_type
|
self.int_type = int_type
|
||||||
self.basic_type = int_type.basic_type
|
self.basic_type = int_type.basic_type
|
||||||
print('match', self.oram_type)
|
print('match', self.oram_type)
|
||||||
|
|
||||||
|
|
||||||
|
mm = Matchmaker(5, oram_type=OptimalORAM)
|
||||||
|
mm.init_easy()
|
||||||
|
mm.match()
|
||||||
|
|
Loading…
Reference in a new issue