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

Method OTExtension

OT/OTExtension.cpp:12–18  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10
11
12OTExtension::OTExtension(const BaseOT& baseOT, TwoPartyPlayer* player,
13 bool passive) : player(player)
14{
15 ot_role = INV_ROLE(baseOT.ot_role);
16 passive_only = passive;
17 init(baseOT.receiver_inputs, baseOT.sender_inputs, baseOT.receiver_outputs);
18}
19
20
21// test if a == b

Callers

nothing calls this directly

Calls 2

INV_ROLEFunction · 0.85
initFunction · 0.85

Tested by

no test coverage detected