mirror of
https://github.com/BLAKE3-team/BLAKE3
synced 2024-05-04 10:56:08 +02:00
5dad698d3f
I'm adding the i32::MAX test case here because I personally screwed it up while I was working on https://github.com/BLAKE3-team/BLAKE3/issues/271. The correct implementation of the carry bit is the ANDNOT of old high bit (1) and the new high bit (0). Using XOR instead of ANDNOT gives the correct answer in the overflow case, but it also reports an incorrect "extra" overflow when the high bit goes from 0 to 1. |
||
---|---|---|
.. | ||
benches | ||
src | ||
Cargo.toml | ||
README.md | ||
build.rs | ||
cross_test.sh |
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.