mirror of
https://github.com/BLAKE3-team/BLAKE3
synced 2026-03-07 03:21:37 +01:00
The `blake3_c_rust_bindings` (test-only code) previously hardcoded a size of 1728 for `cv_stack`. That was correct at the time, but the stack grew by one entry later (to support "lazy merging"), and the bindings weren't updated. You'd need a near-maximum-length input to make the hasher write to the end of the `cv_stack`, so we never noticed the mistake. Claude caught it in an audit. |
||
|---|---|---|
| .. | ||
| benches | ||
| src | ||
| build.rs | ||
| Cargo.toml | ||
| cross_test.sh | ||
| README.md | ||
These are Rust bindings for the C implementation of BLAKE3. As there is a native Rust implementation of BLAKE3 provided in this same repo, these bindings are not expected to be used in production. They're intended for testing and benchmarking.