-
Notifications
You must be signed in to change notification settings - Fork 233
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(avm): sha256_compression (#6452)
Please read [contributing guidelines](CONTRIBUTING.md) and remove this line.
- Loading branch information
1 parent
3f93757
commit 5596bb3
Showing
20 changed files
with
1,036 additions
and
260 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
include "../avm_main.pil"; | ||
|
||
namespace avm_sha256(256); | ||
|
||
pol commit clk; | ||
|
||
// Selector for Radix Operation | ||
pol commit sha256_compression_sel; | ||
sha256_compression_sel * (1 - sha256_compression_sel) = 0; | ||
|
||
// These will all be arrays, but we just store the first element for permutation to the main trace for now | ||
pol commit state; | ||
pol commit input; | ||
pol commit output; |
Oops, something went wrong.