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

Calculate GexpPi once and for all during election initialization. #385

Open
JohnLCaron opened this issue Oct 4, 2023 · 0 comments
Open

Comments

@JohnLCaron
Copy link
Collaborator

Its a bit annoying to have the GexpPi calculations (n * n * quorum exps) done each time you fire up a decryptor. Could do them one time and store them in the ElectionInitialized record.


GexpPi (see eq 13, eq 74 of the EG 2.0 spec)

g^P(i) can be computed from the public commitments Kij as:

GexpPi = Prod_j(Prod_m(Kjm)^i^m, m = 0..quota-1), j - 1..n.

Operation count: n * n * quorum.
This value need only be computed once for each Guardian for all encryptions.

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