]> git.siccegge.de Git - software/DIPE.git/blob - src/DIPE_Internal.h
benchmarks\~
[software/DIPE.git] / src / DIPE_Internal.h
1 struct dipe_param {
2 pairing_t pairing;
3 element_t g1;
4 element_t g2;
5 element_t gt;
6 };
7
8 struct dipe_master_publickey {
9 size_t dimension;
10 element_t aid;
11 element_t a;
12 element_t* k;
13 };
14
15 struct dipe_master_secretkey {
16 size_t dimension;
17 element_t aid;
18 element_t a;
19 element_t* k;
20 };
21
22 struct dipe_secretkey {
23 size_t dimension;
24 element_t aid;
25 element_t d;
26 };
27
28 struct dipe_ctxt_share {
29 element_t aid;
30 element_t* cx;
31 element_t c;
32 };
33
34 struct dipe_ctxt {
35 size_t dimension;
36 element_t s;
37 element_t* cx;
38 element_t c;
39 size_t sharecount;
40 struct dipe_ctxt_share* shares;
41 };