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

Method check_equality

FHEOffline/DistKeyGen.cpp:190–200  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

188}
189
190void DistKeyGen::check_equality(const DistKeyGen& other)
191{
192 if (a != other.a)
193 throw runtime_error("no match at a");
194 if (b != other.b)
195 throw runtime_error("no match at b");
196 if (enc_dash != other.enc_dash)
197 throw runtime_error("no match at enc_dash");
198 if (enc != other.enc)
199 throw runtime_error("no match at enc");
200}
201
202
203/*

Callers 1

fakeMethod · 0.80

Calls 1

runtime_errorFunction · 0.85

Tested by

no test coverage detected