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

Function generate_prime

Math/Setup.cpp:74–79  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

72}
73
74bigint generate_prime(int lgp, int m, bool force_degree)
75{
76 bigint p;
77 generate_prime(p, lgp, m, force_degree);
78 return p;
79}
80
81void generate_prime(bigint& p, int lgp, int m, bool force_degree)
82{

Callers 4

mainFunction · 0.85
SPDZ_Data_Setup_PrimesFunction · 0.85
generate_semi_setupFunction · 0.85

Calls 6

probPrimeFunction · 0.85
runtime_errorFunction · 0.85
maxFunction · 0.85
default_mFunction · 0.85
numBitsFunction · 0.85
to_stringFunction · 0.70

Tested by

no test coverage detected