edaBits, ChaiGear, TopGear, CCD.

This commit is contained in:
Marcel Keller
2020-03-20 20:30:29 +11:00
parent 7d44986d99
commit 92a3fb0184
285 changed files with 8251 additions and 1467 deletions

View File

@@ -20,13 +20,16 @@ SemiPrep::SemiPrep(DataPositions& usage, ShareThread<SemiSecret>&) :
{
}
SemiPrep::SemiPrep(DataPositions& usage) :
SemiPrep::SemiPrep(DataPositions& usage, bool) :
BufferPrep<SemiSecret>(usage), triple_generator(0)
{
}
void SemiPrep::set_protocol(Beaver<SemiSecret>& protocol)
{
if (triple_generator)
return;
(void) protocol;
params.set_passive();
triple_generator = new SemiSecret::TripleGenerator(