mirror of
https://github.com/BLAKE3-team/BLAKE3
synced 2024-05-13 07:26:15 +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. |
||
---|---|---|
.. | ||
ffi_avx2.rs | ||
ffi_avx512.rs | ||
ffi_neon.rs | ||
ffi_sse2.rs | ||
ffi_sse41.rs | ||
guts.rs | ||
join.rs | ||
lib.rs | ||
platform.rs | ||
portable.rs | ||
rust_avx2.rs | ||
rust_sse2.rs | ||
rust_sse41.rs | ||
test.rs | ||
traits.rs |