Skip to content

Commit f745051

Browse files
committed
Cut new prereleases
Releases the following: - `ghash` v0.6.0-rc.6 - `poly1305` v0.9.0-rc.6 - `polyval` v0.7.0-rc.8
1 parent af892a8 commit f745051

File tree

5 files changed

+10
-8
lines changed

5 files changed

+10
-8
lines changed

Cargo.lock

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

ghash/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "ghash"
3-
version = "0.6.0-rc.5"
3+
version = "0.6.0-rc.6"
44
authors = ["RustCrypto Developers"]
55
license = "Apache-2.0 OR MIT"
66
description = """
@@ -16,7 +16,7 @@ rust-version = "1.85"
1616
edition = "2024"
1717

1818
[dependencies]
19-
polyval = { version = "0.7.0-rc.7", features = ["hazmat"] }
19+
polyval = { version = "0.7.0-rc.8", features = ["hazmat"] }
2020

2121
# optional dependencies
2222
zeroize = { version = "1", optional = true, default-features = false }

poly1305/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "poly1305"
3-
version = "0.9.0-rc.5"
3+
version = "0.9.0-rc.6"
44
authors = ["RustCrypto Developers"]
55
license = "Apache-2.0 OR MIT"
66
description = "The Poly1305 universal hash function and message authentication code"

polyval/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "polyval"
3-
version = "0.7.0-rc.7"
3+
version = "0.7.0-rc.8"
44
authors = ["RustCrypto Developers"]
55
license = "Apache-2.0 OR MIT"
66
description = """
@@ -83,7 +83,7 @@ trivially_copy_pass_by_ref = "warn"
8383
std_instead_of_alloc = "warn"
8484
std_instead_of_core = "warn"
8585
suspicious_arithmetic_impl = "allow" # POLYVAL arithmetic ops are atypical
86-
#undocumented_unsafe_blocks = "warn" TODO
86+
undocumented_unsafe_blocks = "warn"
8787
unnecessary_safety_comment = "warn"
8888
unwrap_in_result = "warn"
8989
unwrap_used = "warn"

polyval/src/backend/intrinsics.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ impl State {
5353

5454
pub(crate) fn proc_block(&mut self, block: &Block) {
5555
self.acc = if self.has_intrinsics() {
56+
// SAFETY: we have just used CPU feature detection to ensure intrinsics are available
5657
unsafe { intrinsics_impl::proc_block(&self.expanded_key, self.acc, block) }
5758
} else {
5859
(self.acc + block.into()) * self.expanded_key.h1
@@ -61,6 +62,7 @@ impl State {
6162

6263
pub(crate) fn proc_par_blocks(&mut self, par_blocks: &ParBlocks) {
6364
if self.has_intrinsics() {
65+
// SAFETY: we have just used CPU feature detection to ensure intrinsics are available
6466
self.acc = unsafe {
6567
intrinsics_impl::proc_par_blocks(&self.expanded_key, self.acc, par_blocks)
6668
};

0 commit comments

Comments
 (0)