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

Function INV_ROLE

OT/BaseOT.cpp:37–45  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

35}
36
37OT_ROLE INV_ROLE(OT_ROLE role)
38{
39 if (role == RECEIVER)
40 return SENDER;
41 if (role == SENDER)
42 return RECEIVER;
43 else
44 return BOTH;
45}
46
47void send_if_ot_sender(TwoPartyPlayer* P, vector<octetStream>& os, OT_ROLE role)
48{

Callers 4

OTMachineMethod · 0.85
setupMethod · 0.85
multiplyForBitsMethod · 0.85
OTExtensionMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected