Repository navigation
Commit dd271c2
[Zellic Audit] 3.27 Blake3 script is incorrect (#390)
* fix #365 Blake3 script inscorrect
fix #365 Blake3 script inscorrect for more than 1,024 bytes of input or more than 32 bytes of output
* add assert to blake3 compress to check final_rounds is 8
---------
Co-authored-by: lynndell | bitlayer <lynndell.zhong@bitlayer.ltd>1 parent 880bde5 commit dd271c2
1 file changed
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
454 | 454 | | |
455 | 455 | | |
456 | 456 | | |
457 | | - | |
458 | 457 | | |
| 458 | + | |
459 | 459 | | |
460 | 460 | | |
461 | 461 | | |
| |||
483 | 483 | | |
484 | 484 | | |
485 | 485 | | |
| 486 | + | |
| 487 | + | |
| 488 | + | |
486 | 489 | | |
487 | 490 | | |
488 | 491 | | |
| |||
0 commit comments