pbc
pbc copied to clipboard
store preprocessing data
Angelo DeCaro writes:
it will be very useful to have a way to store the data computed for the preprocessing (for both the exponentiation and the pairing).
Something like
void element_pp_to_bytes(unsigned char *data, element_pp_t p); void element_pp_from_bytes(element_pp_t p, unsigned char *data)
The same for the pairing.
This is to avoid to recompute every time these information.