Commit 731b626
authored
fix(avm): sha256 tracegen batched tag checks (#19244)
When I implemented the batched tag checks, I made the invalid assumption
the values would be within 64 bits ( 1-width bigger than the 32-bits
that Sha256 uses). This can easily be shown to be wrong `(Tag::FF -
Tag::U32 => p - 4)`, good thing the fuzzer caught it1 parent 8d8ecf7 commit 731b626
File tree
1 file changed
+9
-5
lines changed- barretenberg/cpp/src/barretenberg/vm2/tracegen
1 file changed
+9
-5
lines changedLines changed: 9 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
404 | 404 | | |
405 | 405 | | |
406 | 406 | | |
407 | | - | |
| 407 | + | |
408 | 408 | | |
| 409 | + | |
409 | 410 | | |
410 | | - | |
411 | | - | |
412 | | - | |
| 411 | + | |
| 412 | + | |
| 413 | + | |
| 414 | + | |
| 415 | + | |
413 | 416 | | |
414 | 417 | | |
415 | 418 | | |
416 | 419 | | |
417 | | - | |
| 420 | + | |
| 421 | + | |
418 | 422 | | |
419 | 423 | | |
420 | 424 | | |
| |||
0 commit comments