Functionality to call high-level code from C++.

This commit is contained in:
Marcel Keller
2024-11-21 12:18:10 +11:00
parent e7554ccbfd
commit 91321ff8cd
245 changed files with 3875 additions and 1139 deletions

View File

@@ -12,7 +12,7 @@ int main(int argc, char** argv)
if (argc > 1)
lgp = atoi(argv[1]);
if (argc > 2)
cout << generate_prime(lgp, 1 << atoi(argv[2])) << endl;
cout << generate_prime(lgp, 1 << abs(atoi(argv[2])), atoi(argv[2]) <= 0) << endl;
else
cout << SPDZ_Data_Setup_Primes(lgp) << endl;
}