Skip to content

Commit

Permalink
created run script for facilitating protocol with arbitrary length ve…
Browse files Browse the repository at this point in the history
…ctors
  • Loading branch information
mitchnegus committed Mar 19, 2021
1 parent 9daa351 commit 57bd33d
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 0 deletions.
File renamed without changes.
File renamed without changes.
3 changes: 3 additions & 0 deletions test/oblivc/euclidean/3d_evaluator.dat
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
0
0
0
3 changes: 3 additions & 0 deletions test/oblivc/euclidean/3d_generator.dat
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
3
4
5
12 changes: 12 additions & 0 deletions test/oblivc/euclidean/run_protocol.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#!/bin/bash

# Prepare the prefix, if given
if [ $1 ]; then
prefix="$1_"
else
prefix=""
fi

# Run the protocol executable
./a.out localhost:1234 1 ${prefix}generator.dat &
./a.out localhost:1234 2 ${prefix}evaluator.dat

0 comments on commit 57bd33d

Please sign in to comment.