forked from argumentcomputer/arecibo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: define auxiliary functions for the batching of sumcheck cla…
…ims (Arecibo backport) (argumentcomputer#273) * `snark.rs`: factor out batch evaluation Sumcheck (argumentcomputer#106) * Factor batch eval * Comments * refactor: Remove nedless pass-by-value instances, turn on clippy (argumentcomputer#122) * refactor: Remove nedless pass-by-value instances, turn on the corresponding clippy lint - Updated function parameters in `ppsnark.rs` and `snark.rs` from `Vec<G::Scalar>` to `&[G::Scalar]` (introduced in argumentcomputer#106), - Modified the `prove` function in `ppsnark.rs` to also convert `T_row`, `W_row`, `T_col`, and `W_col` from `Vec` to slices (`&[G::Scalar]`). - Enhanced the `xclippy` alias in `.cargo/config` by adding `-Wclippy::checked_conversions`, `-Wclippy::needless_pass_by_value`, and `-Wclippy::unnecessary_mut_passed` and reorganizing its elements. * `PolyEval{Instance, Witness}::pad` Accept `Vec` rather that `&[T]` to avoid copies Co-authored-by: Francois Garillot <[email protected]> --------- Co-authored-by: Adrian Hamelink <[email protected]> --------- Co-authored-by: Adrian Hamelink <[email protected]> Co-authored-by: Adrian Hamelink <[email protected]>
- Loading branch information
1 parent
d52eb82
commit 9004d70
Showing
3 changed files
with
188 additions
and
137 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
Oops, something went wrong.