1
0
mirror of https://github.com/BLAKE3-team/BLAKE3 synced 2026-03-07 03:21:37 +01:00
BLAKE3/c/blake3_c_rust_bindings
Jack O'Connor 6eebbbd679 fix a struct size mismatch in tests
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.
2026-03-06 15:32:52 -08:00
..
benches tbb support in blake3_c_rust_bindings 2025-03-13 12:16:50 -07:00
src fix a struct size mismatch in tests 2026-03-06 15:32:52 -08:00
build.rs @toothbrush7777777's fix for use_msvc_asm 2025-03-14 22:12:12 -07:00
Cargo.toml update to the 2024 edition 2026-01-08 09:13:24 -08:00
cross_test.sh add cross_test.sh for the C bindings 2020-09-29 16:48:18 -04:00
README.md remove an obsolete remark about performance 2020-01-27 13:04:36 -05:00

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.