-
Notifications
You must be signed in to change notification settings - Fork 592
chore: stdlib::poseidon2 internal audit
#16534
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
Merged
iakovenkos
merged 37 commits into
merge-train/barretenberg
from
si/poseidon-2-internal-audit
Sep 5, 2025
Merged
Changes from 11 commits
Commits
Show all changes
37 commits
Select commit
Hold shift + click to select a range
d5206c4
simplify
iakovenkos d6ba445
witness_idx -> get_witness_index()
iakovenkos 4cb6eb8
remove Params template from Poseidon2 Permutation
iakovenkos 068b82a
edit relation docs
iakovenkos 8f74eec
Merge branch 'merge-train/barretenberg' into si/poseidon-2-internal-a…
iakovenkos 554eb12
fix types
iakovenkos 3e6405f
rm unnecessary var
iakovenkos 0e06803
extend poseidon2 ext/int relation docs
iakovenkos e1473e7
fix
iakovenkos b3d14d5
simplify sponge
iakovenkos fd15106
remove modes from sponge
iakovenkos cf1aea0
simplify further
iakovenkos 338e7b0
add a helper to record state
iakovenkos 23b70bf
permutation docs
iakovenkos 59446e2
sponge clean-up
iakovenkos 934a9d7
remove unnecessary 0 witnesses
iakovenkos b611f21
update used witnesses only once
iakovenkos 762a979
comment about boomerang + remove template param
iakovenkos ce15454
padding with constant zeroes
iakovenkos 64b8b7a
add readme
iakovenkos 49e321d
remove builder from hash args
iakovenkos 26e11aa
cleaner inclusions, remove manual assert_equal gate from acir
iakovenkos 94c4c07
test against independent values
iakovenkos fabc32f
add num gates pinning
iakovenkos 08fcb9c
add comment about gate num without custom gates
iakovenkos 402d1e7
add poseidon2 circuit failure test
iakovenkos b866401
modify tests
iakovenkos 60185cb
clean up the the failure test
iakovenkos 3554c7e
Merge remote-tracking branch 'origin/merge-train/barretenberg' into s…
iakovenkos f9dabf6
vks update
iakovenkos d98193c
fix fuzzing build
iakovenkos 6713859
fix tests
iakovenkos 84d218e
vks update
iakovenkos 933a0c9
resolve review comments
iakovenkos c9ad083
Merge remote-tracking branch 'origin/merge-train/barretenberg' into s…
iakovenkos cd4c136
update num gates in megazkrecursive
iakovenkos 1f3e610
update vks
iakovenkos File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.