Files
MP-SPDZ/Yao/YaoEvalMaster.cpp
2019-04-30 17:25:02 +10:00

27 lines
578 B
C++

/*
* YaoEvalMaster.cpp
*
*/
#include "YaoEvalMaster.h"
#include "YaoEvaluator.h"
#include "GC/Instruction.hpp"
#include "GC/Machine.hpp"
#include "GC/Program.hpp"
#include "GC/Processor.hpp"
#include "GC/Secret.hpp"
#include "GC/Thread.hpp"
#include "GC/ThreadMaster.hpp"
#include "Processor/Instruction.hpp"
YaoEvalMaster::YaoEvalMaster(bool continuous, OnlineOptions& opts) :
ThreadMaster<GC::Secret<YaoEvalWire>>(opts), continuous(continuous)
{
}
GC::Thread<GC::Secret<YaoEvalWire>>* YaoEvalMaster::new_thread(int i)
{
return new YaoEvaluator(i, *this);
}