Maintenance.

This commit is contained in:
Marcel Keller
2023-08-14 18:29:08 +10:00
parent 7bc156e581
commit 2813c0ef0f
140 changed files with 1598 additions and 388 deletions

View File

@@ -43,6 +43,9 @@ void SemiPrep::set_protocol(SemiSecret::Protocol& protocol)
void SemiPrep::buffer_triples()
{
assert(this->triple_generator);
this->triple_generator->set_batch_size(
DIV_CEIL(BaseMachine::batch_size<SemiSecret>(DATA_TRIPLE,
this->buffer_size), 64));
this->triple_generator->generatePlainTriples();
for (auto& x : this->triple_generator->plainTriples)
{