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

Method public_input

BMR/Register.cpp:476–483  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

474}
475
476void PRFRegister::public_input(bool value)
477{
478 ProgramParty& party = ProgramParty::s();
479 int i = party.get_id() - 1;
480 keys[value][i] = 0;
481 keys[1 - value][i] = party.get_delta();
482 set_mask(0);
483}
484
485void PRFRegister::random()
486{

Callers

nothing calls this directly

Calls 6

get_n_partiesMethod · 0.80
get_idMethod · 0.45
get_deltaMethod · 0.45
initMethod · 0.45
store_wireMethod · 0.45
load_wireMethod · 0.45

Tested by

no test coverage detected