aboutsummaryrefslogtreecommitdiff
path: root/c
diff options
context:
space:
mode:
authorJack O'Connor <[email protected]>2023-09-20 20:12:18 -0700
committerJack O'Connor <[email protected]>2023-09-20 20:12:18 -0700
commit5aa53f07f7188a569cadfc5daf1522972d9a9630 (patch)
tree9e01d1a87d2fe59dae3c50333847ea8a9a5fba63 /c
parentd7e9365be1751cceb83df2e4cb0086ac8f869357 (diff)
version 1.5.01.5.0
Changes since 1.4.1: - The Rust crate's Hasher type has gained new helper methods for common forms of IO: update_reader, update_mmap, and update_mmap_rayon. The latter matches the default behavior of b3sum. The mmap methods are gated by the new "mmap" Cargo feature. - Most of the Rust crate's public types now implement the Zeroize trait. This is gated by the new "zeroize" Cargo feature. - The Rust crate's Hash types now implements the serde Serialize and Deserialize traits. This is gated by the new "serde" Cargo feature. - The C library now uses atomics to cache detected CPU features under most compilers other than MSVC. Previously this was a non-atomic write, which was probably "benign" but made TSan unhappy. - NEON support is now disabled by default on big-endian AArch64. Previously this was a build error if the caller didn't explicitly disable it.
Diffstat (limited to 'c')
-rw-r--r--c/CMakeLists.txt2
-rw-r--r--c/blake3.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/c/CMakeLists.txt b/c/CMakeLists.txt
index 3541a7e..c73b9c7 100644
--- a/c/CMakeLists.txt
+++ b/c/CMakeLists.txt
@@ -1,7 +1,7 @@
cmake_minimum_required(VERSION 3.9)
project(libblake3
- VERSION 1.4.1
+ VERSION 1.5.0
DESCRIPTION "BLAKE3 C implementation"
LANGUAGES C ASM
)
diff --git a/c/blake3.h b/c/blake3.h
index 21e0d7b..f694dcf 100644
--- a/c/blake3.h
+++ b/c/blake3.h
@@ -30,7 +30,7 @@
extern "C" {
#endif
-#define BLAKE3_VERSION_STRING "1.4.1"
+#define BLAKE3_VERSION_STRING "1.5.0"
#define BLAKE3_KEY_LEN 32
#define BLAKE3_OUT_LEN 32
#define BLAKE3_BLOCK_LEN 64