1
0
Fork 0
mirror of https://github.com/BLAKE3-team/BLAKE3 synced 2024-05-04 10:56:08 +02:00
BLAKE3/c/blake3_c_rust_bindings
Jack O'Connor 5dad698d3f test multiple initial counter values for hash_many
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.
2022-11-22 23:31:29 -08:00
..
benches upgrade to arrayvec 0.7.0 2021-05-18 12:28:29 -04:00
src test multiple initial counter values for hash_many 2022-11-22 23:31:29 -08:00
Cargo.toml upgrade to arrayvec 0.7.0 2021-05-18 12:28:29 -04:00
README.md remove an obsolete remark about performance 2020-01-27 13:04:36 -05:00
build.rs Match the C binding's target arch detection with the root crate's 2021-10-11 20:45:01 +01:00
cross_test.sh add cross_test.sh for the C bindings 2020-09-29 16:48:18 -04: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.