Faster polynomial evaluation in Lagrange basis with rhizomes algorithm.#1340
Merged
Conversation
b3d1d95 to
afb2b1c
Compare
Faster polynomial evaluation on flp.Query. Polynomials are directly evaluated in the Lagrange basis. Uses the batched algorithm from the rhizomes paper (https://ia.cr/2025/1727).
afb2b1c to
0b89e77
Compare
jcjones
reviewed
Sep 30, 2025
Contributor
jcjones
left a comment
There was a problem hiding this comment.
Only weighing in on the Rust, not the cryptographic implementation
Collaborator
divergentdave
left a comment
There was a problem hiding this comment.
This is looking good, just noted one edge case. Thanks so much for this work, the performance improvement is amazing!
jcjones
reviewed
Oct 24, 2025
Contributor
jcjones
left a comment
There was a problem hiding this comment.
I've gone back through this and am good to merge with the existing review fixes in place.
divergentdave
approved these changes
Nov 3, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Use of faster polynomial evaluation in the Lagrange basis from the rhizomes paper.
poly_interpret_eval()#571, our method uses no field inverses.Reference:
link Rhizomes and the Roots of Efficiency, Latincrypt 2025.
Running Benchmarks
Timings
Plot of the timings for PrepInit step.