mirror of
https://github.com/data61/MP-SPDZ.git
synced 2026-01-10 05:57:57 -05:00
71 lines
1.1 KiB
C++
71 lines
1.1 KiB
C++
/*
|
|
* DummyProtocol.h
|
|
*
|
|
*/
|
|
|
|
#ifndef PROCESSOR_DUMMYPROTOCOL_H_
|
|
#define PROCESSOR_DUMMYPROTOCOL_H_
|
|
|
|
#include <vector>
|
|
using namespace std;
|
|
|
|
class Player;
|
|
|
|
template<class T> class SubProcessor;
|
|
|
|
class DummyMC
|
|
{
|
|
public:
|
|
void Check(Player& P)
|
|
{
|
|
(void) P;
|
|
}
|
|
};
|
|
|
|
class DummyProtocol
|
|
{
|
|
public:
|
|
DummyProtocol(Player& P)
|
|
{
|
|
(void) P;
|
|
}
|
|
};
|
|
|
|
class NotImplementedInput
|
|
{
|
|
public:
|
|
template<class T, class U>
|
|
NotImplementedInput(T& proc, U& MC)
|
|
{
|
|
(void) proc, (void) MC;
|
|
}
|
|
void start(int n, vector<int> regs)
|
|
{
|
|
(void) n, (void) regs;
|
|
throw not_implemented();
|
|
}
|
|
void stop(int n, vector<int> regs)
|
|
{
|
|
(void) n, (void) regs;
|
|
throw not_implemented();
|
|
}
|
|
void start(int n, int m)
|
|
{
|
|
(void) n, (void) m;
|
|
throw not_implemented();
|
|
}
|
|
void stop(int n, int m)
|
|
{
|
|
(void) n, (void) m;
|
|
throw not_implemented();
|
|
}
|
|
template<class T>
|
|
static void input(SubProcessor<T>& proc, vector<int> regs)
|
|
{
|
|
(void) proc, (void) regs;
|
|
throw not_implemented();
|
|
}
|
|
};
|
|
|
|
#endif /* PROCESSOR_DUMMYPROTOCOL_H_ */
|