What changed, and why it matters
This commit only updates three text files that list the public API surface of the `bitcoin_hashes` crate. It adds entries for newly exposed SHA-256 midstate methods and a constant. There is no code change, no bug fix, and no security-related content.
No action required. This is a documentation/CI metadata update for API tracking.
Security signals we found
No strong security signals were identified.
Evidence from the diff
The diff updates hashes/api/{all-features,alloc-only,no-features}.txt, which are checked by cargo-public-api to detect unintended API changes. The additions (SHA256_IV, update_2x32_unoptimized, update_64, update_64_unoptimized) are merely API snapshots reflecting changes made elsewhere. The commit itself does not modify source code, behavior, or fix any vulnerability.
Changed components
hashes/api/all-features.txthashes/api/alloc-only.txthashes/api/no-features.txtInspect captured patch +12 / −0
diff --git a/hashes/api/all-features.txt b/hashes/api/all-features.txt
index 06b73d68..2af16a95 100644
--- a/hashes/api/all-features.txt
+++ b/hashes/api/all-features.txt
@@ -956,11 +956,15 @@ impl<T> core::convert::From<T> for bitcoin_hashes::sha256::HashEngine
pub fn bitcoin_hashes::sha256::HashEngine::from(t: T) -> T [impl: impl<T> core::convert::From<T> for bitcoin_hashes::sha256::HashEngine]
pub struct bitcoin_hashes::sha256::Midstate
impl bitcoin_hashes::sha256::Midstate
+pub const bitcoin_hashes::sha256::Midstate::SHA256_IV: Self
pub const fn bitcoin_hashes::sha256::Midstate::as_parts(&self) -> (&[u8; 32], u64)
pub const fn bitcoin_hashes::sha256::Midstate::hash_tag(tag: &[u8]) -> Self
pub const fn bitcoin_hashes::sha256::Midstate::new(state: [u8; 32], bytes_hashed: u64) -> Self
pub fn bitcoin_hashes::sha256::Midstate::to_engine(self) -> bitcoin_hashes::sha256::HashEngine
pub const fn bitcoin_hashes::sha256::Midstate::to_parts(self) -> ([u8; 32], u64)
+pub const fn bitcoin_hashes::sha256::Midstate::update_2x32_unoptimized(self, left: &[u8; 32], right: &[u8; 32]) -> Self
+pub fn bitcoin_hashes::sha256::Midstate::update_64(self, bytes: &[u8; 64]) -> Self
+pub const fn bitcoin_hashes::sha256::Midstate::update_64_unoptimized(self, bytes: &[u8; 64]) -> Self
impl core::clone::Clone for bitcoin_hashes::sha256::Midstate
pub fn bitcoin_hashes::sha256::Midstate::clone(&self) -> bitcoin_hashes::sha256::Midstate [impl: impl core::clone::Clone for bitcoin_hashes::sha256::Midstate]
impl core::cmp::Eq for bitcoin_hashes::sha256::Midstate
diff --git a/hashes/api/alloc-only.txt b/hashes/api/alloc-only.txt
index bac90579..a11ff661 100644
--- a/hashes/api/alloc-only.txt
+++ b/hashes/api/alloc-only.txt
@@ -838,11 +838,15 @@ impl<T> core::convert::From<T> for bitcoin_hashes::sha256::HashEngine
pub fn bitcoin_hashes::sha256::HashEngine::from(t: T) -> T [impl: impl<T> core::convert::From<T> for bitcoin_hashes::sha256::HashEngine]
pub struct bitcoin_hashes::sha256::Midstate
impl bitcoin_hashes::sha256::Midstate
+pub const bitcoin_hashes::sha256::Midstate::SHA256_IV: Self
pub const fn bitcoin_hashes::sha256::Midstate::as_parts(&self) -> (&[u8; 32], u64)
pub const fn bitcoin_hashes::sha256::Midstate::hash_tag(tag: &[u8]) -> Self
pub const fn bitcoin_hashes::sha256::Midstate::new(state: [u8; 32], bytes_hashed: u64) -> Self
pub fn bitcoin_hashes::sha256::Midstate::to_engine(self) -> bitcoin_hashes::sha256::HashEngine
pub const fn bitcoin_hashes::sha256::Midstate::to_parts(self) -> ([u8; 32], u64)
+pub const fn bitcoin_hashes::sha256::Midstate::update_2x32_unoptimized(self, left: &[u8; 32], right: &[u8; 32]) -> Self
+pub fn bitcoin_hashes::sha256::Midstate::update_64(self, bytes: &[u8; 64]) -> Self
+pub const fn bitcoin_hashes::sha256::Midstate::update_64_unoptimized(self, bytes: &[u8; 64]) -> Self
impl core::clone::Clone for bitcoin_hashes::sha256::Midstate
pub fn bitcoin_hashes::sha256::Midstate::clone(&self) -> bitcoin_hashes::sha256::Midstate [impl: impl core::clone::Clone for bitcoin_hashes::sha256::Midstate]
impl core::cmp::Eq for bitcoin_hashes::sha256::Midstate
diff --git a/hashes/api/no-features.txt b/hashes/api/no-features.txt
index f80cb06d..0cb9d6ef 100644
--- a/hashes/api/no-features.txt
+++ b/hashes/api/no-features.txt
@@ -769,11 +769,15 @@ impl<T> core::convert::From<T> for bitcoin_hashes::sha256::HashEngine
pub fn bitcoin_hashes::sha256::HashEngine::from(t: T) -> T [impl: impl<T> core::convert::From<T> for bitcoin_hashes::sha256::HashEngine]
pub struct bitcoin_hashes::sha256::Midstate
impl bitcoin_hashes::sha256::Midstate
+pub const bitcoin_hashes::sha256::Midstate::SHA256_IV: Self
pub const fn bitcoin_hashes::sha256::Midstate::as_parts(&self) -> (&[u8; 32], u64)
pub const fn bitcoin_hashes::sha256::Midstate::hash_tag(tag: &[u8]) -> Self
pub const fn bitcoin_hashes::sha256::Midstate::new(state: [u8; 32], bytes_hashed: u64) -> Self
pub fn bitcoin_hashes::sha256::Midstate::to_engine(self) -> bitcoin_hashes::sha256::HashEngine
pub const fn bitcoin_hashes::sha256::Midstate::to_parts(self) -> ([u8; 32], u64)
+pub const fn bitcoin_hashes::sha256::Midstate::update_2x32_unoptimized(self, left: &[u8; 32], right: &[u8; 32]) -> Self
+pub fn bitcoin_hashes::sha256::Midstate::update_64(self, bytes: &[u8; 64]) -> Self
+pub const fn bitcoin_hashes::sha256::Midstate::update_64_unoptimized(self, bytes: &[u8; 64]) -> Self
impl core::clone::Clone for bitcoin_hashes::sha256::Midstate
pub fn bitcoin_hashes::sha256::Midstate::clone(&self) -> bitcoin_hashes::sha256::Midstate [impl: impl core::clone::Clone for bitcoin_hashes::sha256::Midstate]
impl core::cmp::Eq for bitcoin_hashes::sha256::Midstate
Why this scored 15/100
Community notes
Notes can correct, qualify, or add evidence to the AI analysis. Every note shown here has been validated by a human moderator.
The AI analysis stands alone for now. Submit a note if you can add evidence or important context.