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

Add Field::sum_of_products #79

Open
str4d opened this issue Apr 26, 2022 · 0 comments · May be fixed by #80
Open

Add Field::sum_of_products #79

str4d opened this issue Apr 26, 2022 · 0 comments · May be fixed by #80

Comments

@str4d
Copy link
Member

str4d commented Apr 26, 2022

The general operation c = (a_0 * b_0) + (a_1 * b_1) + ... (i.e. an inner product, but "sum of products" is a more obvious name) is used all over the place in cryptography. We can provide a default slow implementation of the function, and then downstream crates can override it with more efficient implementations (e.g. zkcrypto/bls12_381#84).

str4d added a commit that referenced this issue Apr 26, 2022
@str4d str4d linked a pull request Apr 26, 2022 that will close this issue
str4d added a commit that referenced this issue Apr 27, 2022
str4d added a commit that referenced this issue Apr 27, 2022
str4d added a commit that referenced this issue Oct 29, 2022
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

Successfully merging a pull request may close this issue.

1 participant