Semi-honest computation based on threshold semi-homomorphic encryption.

This commit is contained in:
Marcel Keller
2022-02-17 13:21:19 +11:00
parent 61d40b7d83
commit 0f7020d791
129 changed files with 1973 additions and 539 deletions

View File

@@ -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();
}