Lines Matching refs:participants

41 	for (size_t i = 0; i < participants.size(); i++)  in MPC_ProveBitCommitment()
45 *participants[i]->out << bit << std::endl << std::flush; in MPC_ProveBitCommitment()
47 *participants[i]->in, *participants[i]->out); in MPC_ProveBitCommitment()
63 for (size_t i = 0; i < participants.size(); i++) in MPC_ProveBitCommitment_Hoogh()
67 *participants[i]->out << bit << std::endl << std::flush; in MPC_ProveBitCommitment_Hoogh()
69 *participants[i]->in, *participants[i]->out); in MPC_ProveBitCommitment_Hoogh()
79 *participants[from]->in >> bit; in MPC_VerifyBitCommitment()
81 if (!participants[from]->in->good()) in MPC_VerifyBitCommitment()
86 *participants[from]->in, *participants[from]->out)) in MPC_VerifyBitCommitment()
95 *participants[from]->in >> bit; in MPC_VerifyBitCommitment_Hoogh()
97 if (!participants[from]->in->good()) in MPC_VerifyBitCommitment_Hoogh()
102 *participants[from]->in, *participants[from]->out)) in MPC_VerifyBitCommitment_Hoogh()
114 for (size_t i = 0; i < participants.size(); i++) in MPC_OpenCardCommitment()
122 for (size_t j = 0; j < participants.size(); j++) in MPC_OpenCardCommitment()
125 *participants[j]->out << proof.str() << std::flush; in MPC_OpenCardCommitment()
131 *participants[i]->in, *participants[i]->out)) in MPC_OpenCardCommitment()
172 for (size_t i = 0; i < participants.size(); i++) in MPC_CyclicShift()
182 for (size_t j = 0; j < participants.size(); j++) in MPC_CyclicShift()
186 *participants[j]->out << s1 << std::endl << std::flush; in MPC_CyclicShift()
188 *participants[j]->in, *participants[j]->out); in MPC_CyclicShift()
194 *participants[i]->in >> s1; in MPC_CyclicShift()
195 if (!participants[i]->in->good()) in MPC_CyclicShift()
198 *participants[i]->in, *participants[i]->out)) in MPC_CyclicShift()
213 for (size_t i = 0; i < participants.size(); i++) in MPC_CyclicShift_Hoogh()
223 for (size_t j = 0; j < participants.size(); j++) in MPC_CyclicShift_Hoogh()
227 *participants[j]->out << s1 << std::endl << std::flush; in MPC_CyclicShift_Hoogh()
229 *participants[j]->in, *participants[j]->out); in MPC_CyclicShift_Hoogh()
235 *participants[i]->in >> s1; in MPC_CyclicShift_Hoogh()
236 if (!participants[i]->in->good()) in MPC_CyclicShift_Hoogh()
239 *participants[i]->in, *participants[i]->out)) in MPC_CyclicShift_Hoogh()