diff --git a/.gitmodules b/.gitmodules index b16eba9..0ee9973 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,3 +1,3 @@ -[submodule "src/MP_SPDZ"] +[submodule "src/MP-SPDZ"] path = src/MP-SPDZ url = https://github.com/data61/MP-SPDZ diff --git a/run.sh b/run.sh new file mode 100755 index 0000000..cc4cad3 --- /dev/null +++ b/run.sh @@ -0,0 +1,6 @@ +#!/bin/sh + +MACHINE="$1" +shift +cd src/MP-SPDZ +"./$MACHINE" "$@" diff --git a/src/gale_shapley.mpc b/src/gale_shapley.mpc index 604b0bf..09e3d14 100644 --- a/src/gale_shapley.mpc +++ b/src/gale_shapley.mpc @@ -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()