1
0
Fork 0
mirror of https://github.com/BLAKE3-team/BLAKE3 synced 2024-06-03 11:26:06 +02:00
Commit Graph

11 Commits

Author SHA1 Message Date
Cesar Eduardo Barros 4690c5f14e Use fixed-size constant_time_eq
The generic constant_time_eq has several branches on the slice length,
which are not necessary when the slice length is known. However, the
optimizer is not allowed to look into the core of constant_time_eq, so
these branches cannot be elided.

Use instead a fixed-size variant of constant_time_eq, which has no
branches since the length is known.
2020-01-12 17:40:57 -05:00
Brendan Molloy a7e11c7cf7 Update license field in Cargo.toml
Fixes the issue of crates.io not recognising the license, and using the `OR` terminology to describe the dual licensing option.
2020-01-10 09:57:25 -05:00
Jack O'Connor 7f43ed9f47 use the Apache-2.0 license in Cargo.toml
This project is also CC0, but crates.io doesn't seem to understand that
one.
2020-01-09 11:48:09 -05:00
Jack O'Connor 3cf242b651 fill out Cargo.toml files for publication 2020-01-09 10:50:55 -05:00
Jack O'Connor 9bf1020213 make the "c_avx512" feature a no-op on non-x86
This lets us enable it by default in b3sum.
2019-12-12 15:13:04 -05:00
Jack O'Connor 98dd9cbbf1 add ci.yml 2019-12-09 21:20:04 -05:00
Jack O'Connor 78191a676f feature comments in Cargo.toml 2019-12-08 21:56:10 -05:00
Jack O'Connor c7fff32392 add Rust FFI wrappers for AVX-512 and NEON 2019-12-08 21:56:10 -05:00
Jack O'Connor 912ae19bce get rid of the bitflags dependency 2019-12-06 15:32:20 -05:00
Jack O'Connor 47ef3ad01f add struct Hasher 2019-12-06 15:13:27 -05:00
Jack O'Connor 21df6b1103 add portable.rs 2019-12-02 17:30:55 -05:00