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

Method compute_b

FHEOffline/DistKeyGen.cpp:129–135  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

127}
128
129void DistKeyGen::compute_b()
130{
131 mul(b, a, secret);
132 mul(e, e, p);
133 add(b, b, e);
134 pk.check_noise(b - a * secret);
135}
136
137void DistKeyGen::compute_enc_dash(const vector<Rq_Element>& bs)
138{

Callers 2

fakeMethod · 0.80
Run_Gen_ProtocolFunction · 0.80

Calls 3

check_noiseMethod · 0.80
mulFunction · 0.50
addFunction · 0.50

Tested by

no test coverage detected