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

Reduce number of stored group elements for proofs about linear equations #5

Open
2 tasks
jdwhite48 opened this issue Jan 31, 2022 · 0 comments
Open
2 tasks
Assignees
Labels
enhancement New feature or request good first issue Good for newcomers optimization This code could be faster

Comments

@jdwhite48
Copy link
Owner

The original Groth-Sahai paper [GS '08] suggests that it is possible to reduce the number of group elements if the equations have a linear format.

  • Detect if the Equation provided as input is linear in form: at one of every pair of elements in A,Y (sim., X,B) is zero for each type of equation, and Γ is the zeroes matrix).
  • If the equation is linear, one of the proofs will have all of its group elements be zero; refactor π and θ to have type Option<Vec<_>>, where the None constructor is trivially interpreted as the zero vector.
@jdwhite48 jdwhite48 added enhancement New feature or request optimization This code could be faster labels Jan 31, 2022
@jdwhite48 jdwhite48 self-assigned this Jan 31, 2022
@jdwhite48 jdwhite48 added the good first issue Good for newcomers label Jan 31, 2022
@jdwhite48 jdwhite48 pinned this issue Jan 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers optimization This code could be faster
Projects
None yet
Development

No branches or pull requests

1 participant