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 a Sha256 bench #188

Merged
merged 3 commits into from
Jun 28, 2023
Merged

Add a Sha256 bench #188

merged 3 commits into from
Jun 28, 2023

Conversation

huitseeker
Copy link
Contributor

This adds a single step of folding a Sha-256 at varied input lengths.

srinathsetty and others added 3 commits June 28, 2023 16:11
- Refactored the `sha256.rs` benchmarking file by replacing the former `hex_literal::hex` usage with a newly created `decode_hex` function.
- Updated the "Test vectors" section to work with the new `decode_hex` function to compute digests in `Sha256Circuit` instances.
- adapted to new APIs for RecursiveSNARK
- Amended the `Cargo.toml` file to include the `sha2` package dependency, version `0.10.7`.
- added the bench target
@srinathsetty
Copy link
Collaborator

Thanks @huitseeker!

@srinathsetty srinathsetty merged commit 905ec2d into microsoft:main Jun 28, 2023
2 checks passed
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 this pull request may close these issues.

2 participants