Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Batch product of pairing operation #40

Open
ValarDragon opened this issue Apr 6, 2018 · 0 comments
Open

Batch product of pairing operation #40

ValarDragon opened this issue Apr 6, 2018 · 0 comments

Comments

@ValarDragon
Copy link
Member

The library switched to using the product of pairing operation internally in bgls, where the product of pairings is currently implemented as doing the product in parallel, in lieu of a faster algorithm not yet being implemented in the upstream libraries. However, this means with the current setup, all the hashes must complete, before the product has begun to be taken. This is sub-ideal. There are two different methods I can see of getting the old speed back. We can add a second method, for product of pairing with hashing, so the concurrency is re-obtained, and we can add batching, so it doesn't have to wait for all the hashes to compute in order to start a product of pairings. I suspect that both of these solutions ought to be implemented here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant