MCPcopy Create free account
hub / github.com/data61/MP-SPDZ / SPDZ_Data_Setup_Primes

Function SPDZ_Data_Setup_Primes

Math/Setup.cpp:16–22  ·  view source on GitHub ↗

* Just setup the primes, doesn't need NTL. * Sets idx and m to be used by SHE setup if necessary */

Source from the content-addressed store, hash-verified

14 * Sets idx and m to be used by SHE setup if necessary
15 */
16bigint SPDZ_Data_Setup_Primes(int lgp)
17{
18 int idx, m;
19 bigint p;
20 SPDZ_Data_Setup_Primes(p, lgp, idx, m);
21 return p;
22}
23
24void SPDZ_Data_Setup_Primes(bigint& p,int lgp,int& idx,int& m)
25{

Callers 5

mainFunction · 0.85
generate_online_setupFunction · 0.85
init_defaultMethod · 0.85
init_defaultMethod · 0.85
SPDZ_Data_SetupMethod · 0.85

Calls 2

default_mFunction · 0.85
generate_primeFunction · 0.85

Tested by

no test coverage detected