-
Notifications
You must be signed in to change notification settings - Fork 206
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
Remove sha256 opcode #4330
Labels
enhancement
New feature or request
Comments
Pending for AVM's update to support SHA256 compression opcode, so we can safely deprecate this. |
TomAFrench
added a commit
to AztecProtocol/aztec-packages
that referenced
this issue
Sep 23, 2024
This PR resolves Noir issue 4330: noir-lang/noir#4330 by removing the sha256 opcode and replacing the sha256 function in the stdlib by the implementation using the sha256 compression opcode (also in the stdlib). --------- Co-authored-by: kevaundray <[email protected]> Co-authored-by: Tom French <[email protected]> Co-authored-by: Tom French <[email protected]> Co-authored-by: dbanks12 <[email protected]> Co-authored-by: David Banks <[email protected]> Co-authored-by: fcarreiro <[email protected]>
AztecBot
pushed a commit
to AztecProtocol/barretenberg
that referenced
this issue
Sep 24, 2024
This PR resolves Noir issue 4330: noir-lang/noir#4330 by removing the sha256 opcode and replacing the sha256 function in the stdlib by the implementation using the sha256 compression opcode (also in the stdlib). --------- Co-authored-by: kevaundray <[email protected]> Co-authored-by: Tom French <[email protected]> Co-authored-by: Tom French <[email protected]> Co-authored-by: dbanks12 <[email protected]> Co-authored-by: David Banks <[email protected]> Co-authored-by: fcarreiro <[email protected]>
Doesn't look like it need any, but do create an Issue if any updates to the SHA256 section in docs is necessary, thanks! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Problem
Sha256 is implemented with the sha256compression opcode in PR AztecProtocol/aztec-packages#4511
When this PR is merged, we no longer need the sha256 opcode
Happy Case
Just remove the sha256 opcode. The implementation with sha256 compression is more performant and allows us to have a variable size sha256
Project Impact
None
Impact Context
No response
Workaround
None
Workaround Description
No response
Additional Context
No response
Would you like to submit a PR for this Issue?
None
Support Needs
No response
The text was updated successfully, but these errors were encountered: