forked from data61/MP-SPDZ
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathAtlasShare.h
46 lines (36 loc) · 796 Bytes
/
AtlasShare.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
/*
* AtlasShare.h
*
*/
#ifndef PROTOCOLS_ATLASSHARE_H_
#define PROTOCOLS_ATLASSHARE_H_
#include "ShamirShare.h"
template<class T> class Atlas;
template<class T> class AtlasPrep;
namespace GC
{
class AtlasSecret;
}
template<class T>
class AtlasShare : public ShamirShare<T>
{
typedef AtlasShare This;
typedef ShamirShare<T> super;
public:
typedef Atlas<This> Protocol;
typedef ::Input<This> Input;
typedef IndirectShamirMC<This> MAC_Check;
typedef ShamirMC<This> Direct_MC;
typedef ::PrivateOutput<This> PrivateOutput;
typedef AtlasPrep<This> LivePrep;
typedef GC::AtlasSecret bit_type;
AtlasShare()
{
}
template<class U>
AtlasShare(const U& other) :
super(other)
{
}
};
#endif /* PROTOCOLS_ATLASSHARE_H_ */