mirror of
https://github.com/data61/MP-SPDZ.git
synced 2026-04-20 03:01:31 -04:00
18 lines
341 B
C++
18 lines
341 B
C++
/*
|
|
* YaoEvalMaster.cpp
|
|
*
|
|
*/
|
|
|
|
#include "YaoEvalMaster.h"
|
|
#include "YaoEvaluator.h"
|
|
|
|
YaoEvalMaster::YaoEvalMaster(bool continuous, OnlineOptions& opts) :
|
|
ThreadMaster<GC::Secret<YaoEvalWire>>(opts), continuous(continuous)
|
|
{
|
|
}
|
|
|
|
Thread<Secret<YaoEvalWire>>* YaoEvalMaster::new_thread(int i)
|
|
{
|
|
return new YaoEvaluator(i, *this);
|
|
}
|