6 #ifndef __PBC_G_PARAM_H__
7 #define __PBC_G_PARAM_H__
10 int pbc_param_init_g(pbc_param_ptr par
, struct symtab_s
*tab
);
13 Type G curves are generated using the complex multiplication (CM) method. This
14 function sets 'p' to a type G pairing parameters from CM parameters 'cm'.
15 They have embedding degree 10.
17 To be secure, generic discrete log algorithms must be infeasible in groups of
18 order r, and finite field discrete log algorithms must be infeasible in finite
19 fields of order q^6^. For usual CM parameters, r is a few bits smaller than q.
21 They are quite slow at the moment so for now type F is a better choice.
23 The file `param/g149.param` contains parameters for a
24 type G pairing with 149-bit group and field sizes.
26 void pbc_param_init_g_gen(pbc_param_t p
, pbc_cm_ptr cm
);
28 #endif //__PBC_G_PARAM_H__