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

Method finalize

FHEOffline/DistKeyGen.cpp:183–188  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

181}
182
183void DistKeyGen::finalize(FHE_PK& pk, FHE_SK& sk)
184{
185 pk.assign(a, b, enc.c1(), enc.c0());
186 secret.lower_level();
187 sk.assign(secret);
188}
189
190void DistKeyGen::check_equality(const DistKeyGen& other)
191{

Callers 3

generate_inputsMethod · 0.45
fakeMethod · 0.45
Run_Gen_ProtocolFunction · 0.45

Calls 2

lower_levelMethod · 0.80
assignMethod · 0.45

Tested by

no test coverage detected