mirror of
https://github.com/data61/MP-SPDZ.git
synced 2026-01-09 13:37:58 -05:00
Semi-honest computation based on threshold semi-homomorphic encryption.
This commit is contained in:
@@ -110,7 +110,7 @@ void run(char** argv, int prime_length)
|
||||
c = protocol.finalize_dotprod(n);
|
||||
|
||||
// protocol check before revealing results
|
||||
protocol.check();
|
||||
set.check();
|
||||
|
||||
output.init_open(P);
|
||||
output.prepare_open(c);
|
||||
@@ -120,5 +120,5 @@ void run(char** argv, int prime_length)
|
||||
cout << "result: " << result << endl;
|
||||
|
||||
// result check after opening
|
||||
output.Check(P);
|
||||
set.check();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user