Skip to content

fix: external audit fixes for Keccak#22436

Merged
ledwards2225 merged 2 commits into
merge-train/barretenbergfrom
nk/keccak-ext-audit-fix
Apr 10, 2026
Merged

fix: external audit fixes for Keccak#22436
ledwards2225 merged 2 commits into
merge-train/barretenbergfrom
nk/keccak-ext-audit-fix

Conversation

@nishatkoti

@nishatkoti nishatkoti commented Apr 9, 2026

Copy link
Copy Markdown
Contributor

finding 7: inverted assertion in keccak fuzzer --- fixed 4da6a65
The keccak fuzzer had an inverted assertion in the circuit checker. This has been fixed.

finding 10: delete dead code pertaining to hash_field_element --- fixed 940f6e4
hash_field_element and hash_field_elements constitute dead code, which was missed to be removed in the internal audit. These have been deleted now.

@nishatkoti nishatkoti marked this pull request as ready for review April 9, 2026 14:37
@ledwards2225 ledwards2225 merged commit bc37900 into merge-train/barretenberg Apr 10, 2026
20 checks passed
@ledwards2225 ledwards2225 deleted the nk/keccak-ext-audit-fix branch April 10, 2026 19:57
github-merge-queue Bot pushed a commit that referenced this pull request Apr 13, 2026
BEGIN_COMMIT_OVERRIDE
fix: skip heavy recursion tests in debug builds (#22446)
fix: add clear error for unsatisfiable ACIR AssertZero opcode (#22417)
feat: enforce accumulator_not_empty = 0 at ECCVM lagrange_first row
(#22461)
fix: skip heavy recursion tests in debug builds, keep one for assertion
coverage (#22389)
fix: external audit fixes for Pedersen (#22434)
chore!: fix BASE off-by-one in create_small_range_constraint in theta
step of keccak (#22404)
fix: external audit fixes for Keccak (#22436)
fix: external audit fixes for BLAKE (#22443)
chore: misc hash gadget updates  (#22452)
END_COMMIT_OVERRIDE
critesjosh pushed a commit that referenced this pull request Apr 14, 2026
**finding 7: inverted assertion in keccak fuzzer** --- fixed
4da6a65
The keccak fuzzer had an inverted assertion in the circuit checker. This
has been fixed.

**finding 10: delete dead code pertaining to `hash_field_element`** ---
fixed 940f6e4
`hash_field_element` and `hash_field_elements` constitute dead code,
which was missed to be removed in the internal audit. These have been
deleted now.
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