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

Method unpack

FHE/Ring.cpp:24–36  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

22}
23
24void Ring::unpack(octetStream& o)
25{
26 o.get(mm);
27 if (((mm - 1) & mm) != 0)
28 {
29 o.get(phim);
30 o.get(pi);
31 o.get(pi_inv);
32 o.get(poly);
33 }
34 else if (mm != 0)
35 init(*this, mm);
36}
37
38bool Ring::operator !=(const Ring& other) const
39{

Callers 1

addMethod · 0.45

Calls 2

initFunction · 0.85
getMethod · 0.45

Tested by

no test coverage detected