pbc icon indicating copy to clipboard operation
pbc copied to clipboard

store preprocessing data

Open blynn opened this issue 14 years ago • 0 comments

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.

blynn avatar Apr 25 '11 00:04 blynn