2 Include glib.h, pbc.h, and bswabe.h before including this file.
10 element_t h; /* G_1 */
11 element_t gp; /* G_2 */
12 element_t g_hat_alpha; /* G_T */
17 element_t beta; /* Z_r */
18 element_t g_alpha; /* G_2 */
24 /* these actually get serialized */
26 element_t d; /* G_2 */
27 element_t dp; /* G_2 */
29 /* only used during dec (only by dec_merge) */
31 element_t z; /* G_1 */
32 element_t zp; /* G_1 */
38 element_t d; /* G_2 */
39 GArray* comps; /* bswabe_prv_comp_t's */
45 /* coefficients from [0] x^0 to [deg] x^deg */
46 element_t* coef; /* G_T (of length deg + 1) */
53 int k; /* one if leaf, otherwise threshold */
54 char* attr; /* attribute string if leaf, otherwise null */
55 element_t c; /* G_1, only for leaves */
56 element_t cp; /* G_1, only for leaves */
57 GPtrArray* children; /* pointers to bswabe_policy_t's, len == 0 for leaves */
59 /* only used during encryption */
60 bswabe_polynomial_t* q;
62 /* only used during decryption */
72 element_t cs; /* G_T */
73 element_t c; /* G_1 */
80 element_t A; /* G_1 */
81 element_t B; /* G_T */
86 element_t T; /* G_1 */
91 GArray* comps; /* index's components */