aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-06-05PROOF OF CONCEPT add SSE2 to CMake buildtest_cmake_ciJack O'Connor
2022-06-05PROOF OF CONCEPT test the CMake build in CIJack O'Connor
2022-06-05Fixed on macOSSteveGremory
2022-06-01Hotfix CMakeLists.txtSteveGremory
2022-06-01Added CMake support, CMakeLists.txt taken from issue 102SteveGremory
2022-04-17clarify "modern" in the READMEJack O'Connor
2022-04-17s/Usage/Adoption/Jack O'Connor
There's another section called "Usage", so this is a little bit clearer.
2022-04-17usersJP Aumasson
2022-04-12slight simplification in the README example codeJack O'Connor
2022-04-09add prototypes to fix -Wstrict-prototypes warningsFangrui Song
2022-03-27fix a deprecation warning from clapJack O'Connor
2022-03-27refresh the Cargo.lock file for b3sumJack O'Connor
2022-03-27Merge pull request #237 from strangelittlemonkey/RUSTSEC-2020-0077Jack O'Connor
Rustsec 2020 0077
2022-03-26Update crossbeam-utils from yanked versionZach Crownover
2022-03-26Update crossbeam-channel from yanked versionZach Crownover
2022-03-26Update block-buffer from yanked versionZach Crownover
2022-03-26RUSTSEC-2020-0077Zach Crownover
Migrate from the abandoned memmap library to the now maintained fork of memmap2
2022-03-05link to reference impl ports from the main readme tooJack O'Connor
2022-03-04link to ports of the reference implementationJack O'Connor
2022-03-04add "(if any)" regarding keying in the security notesJack O'Connor
2022-03-03correct the security notes for the C APIJack O'Connor
2022-03-03simplify a bit moreJack O'Connor
2022-03-02simplify the security notes, avoid referring to entropyJack O'Connor
2022-03-02copy the same notes to the C docsJack O'Connor
2022-03-02document the extended output security issue found by Aldo GunsingJack O'Connor
https://eprint.iacr.org/2022/283
2022-01-25version 1.3.11.3.1Jack O'Connor
Changes since 1.3.0: - The unstable `traits-preview` feature now includes an implementation of `crypto_common::BlockSizeUser`, AKA `digest::core_api::BlockSizeUser`. This allows `blake3::Hasher` to be used with `hmac::SimpleHmac`.
2022-01-25add a release checklistJack O'Connor
2022-01-24check the HMAC output bytesJack O'Connor
2022-01-24Adds testjbis9051
2022-01-23Add blocksize traitjbis9051
2022-01-18add a RAYON_NUM_THREADS=1 run to CIJack O'Connor
2022-01-10silence a couple more warnings on 32-bit WindowsJack O'Connor
https://github.com/BLAKE3-team/BLAKE3/issues/218#issuecomment-1009510462
2022-01-08fix some compiler warningsSamuel Neves
2022-01-08version 1.3.01.3.0Jack O'Connor
Changes since 1.2.0: - Added blake3_hasher_reset to the C API, for parity with the Rust API. - Updated digest to v0.10. This version merged the crypto-mac crate with digest, so the dependency on crypto-mac has been removed. These trait implementations are still gated behind the "traits-preview" feature. - Updated clap to v3.
2022-01-08add Samuel Neves as a listed author of the Rust crateJack O'Connor
Samuel wrote all of the assembly implementations, with the sole exception of the SSE2 port.
2022-01-07update clap to v3Jack O'Connor
2022-01-07add blake3_hasher_reset to the C APIJack O'Connor
2021-12-30a few more comment tweaksJack O'Connor
2021-12-30Update digest crate to 0.10 for traits-preview featureMatthias Schiffer
Adjust to the following changes that happened in digest: - The crypto-mac crate has been merged into digest (with "mac" feature enabled) - Various traits have been split up - The Digest and Mac traits now share their update/finalize/reset implementations - The BlockInput trait was dropped without replacement apparently (as long as the low-level core API is not used)
2021-12-18check in the Cargo.lock for b3sumJack O'Connor
We'll need to make sure to update this when we do a version bump. Adding an explicit `!Cargo.lock` line to b3sum/.gitignore helps with this, by making sure Cargo.lock shows up by defauls in searches like: rg "1\.2\.0" Closes https://github.com/BLAKE3-team/BLAKE3/issues/210.
2021-11-30add an assert and remove an iter_mut in reference_implJack O'Connor
Suggested in https://github.com/rust-lang/rust-clippy/issues/8039.
2021-11-13fix a typo in the check docJack O'Connor
2021-11-05version 1.2.01.2.0Jack O'Connor
Changes since 1.1.0: - SECURITY FIX: Fixed an instance of undefined behavior in the Windows SSE2 assembly implementations, which affected both the Rust and C libraries in their default build configurations. See https://github.com/BLAKE3-team/BLAKE3/issues/206. The cause was a vector register that wasn't properly saved and restored. This bug has been present since SSE2 support was initially added in v0.3.7. The effects of this bug depend on surrounding code and compiler optimizations; see test_issue_206_windows_sse2 for an example of this bug causing incorrect hash output. Note that even when surrounding code is arranged to trigger this bug, the SSE2 implementation is normally only invoked on CPUs where SSE4.1 (introduced in 2007) isn't supported. One notable exception, however, is if the Rust library is built in `no_std` mode, with `default_features = false` or similar. In that case, runtime CPU feature detection is disabled, and since LLVM assumes that all x86-64 targets support SSE2, the SSE2 implementation will be invoked. For that reason, Rust callers who build `blake3` in `no_std` mode for x86-64 Windows targets are the most likely to trigger this bug. We found this bug in internal testing, and we aren't aware of any callers encountering it in practice. - Added the Hasher::count() method.
2021-11-05fix incorrect output / undefined behavior in Windows SSE2 assemblyJack O'Connor
The SSE2 patch introduced xmm10 as a temporary register for one of the rotations, but xmm6-xmm15 are callee-save registers on Windows, and SSE4.1 was only saving the registers it used. The minimal fix is to use one of the saved registers instead of xmm10. See https://github.com/BLAKE3-team/BLAKE3/issues/206.
2021-11-04add Hasher::countJack O'Connor
2021-10-29make field ordering more consistent in the reference implJack O'Connor
2021-10-29distinguish between key and key_words in the reference implJack O'Connor
2021-10-29remove an incorrect commentJack O'Connor
2021-10-23update NEON docs in lib.rsJack O'Connor
2021-10-21add aarch64-apple-darwin builds to GitHub CIJack O'Connor
I'm not sure how to build for Apple Silicon from a Linux host, but it seems to work as-is from an x86_64 macOS host. Alas, GitHub doesn't yet provide Apple Silicon hosts to run these binaries, and Cross doesn't yet support virtualizing them either.