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

Method KeyGen

FHE/FHE_Keys.cpp:60–65  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

58}
59
60void FHE_PK::KeyGen(Rq_Element& sk, PRNG& G, int noise_boost)
61{
62 Rq_Element a(*this);
63 a.randomize(G);
64 partial_key_gen(sk, a, G, noise_boost);
65}
66
67void FHE_PK::partial_key_gen(const Rq_Element& sk, const Rq_Element& a, PRNG& G,
68 int noise_boost)

Callers 3

fakeMethod · 0.80
insecure_debug_keysMethod · 0.80
KeyGenFunction · 0.80

Calls 1

randomizeMethod · 0.45

Tested by

no test coverage detected