diff --git a/api/hashes/all-features.txt b/api/hashes/all-features.txt index 6a776f228..b860a654d 100644 --- a/api/hashes/all-features.txt +++ b/api/hashes/all-features.txt @@ -458,10 +458,10 @@ impl bitcoin_hashes::GeneralHash for bitcoin_has impl bitcoin_hashes::Hash for bitcoin_hashes::hmac::Hmac impl bitcoin_hashes::HashEngine for bitcoin_hashes::hmac::HmacEngine impl bitcoin_hashes::hkdf::Hkdf where ::Engine: core::default::Default +impl bitcoin_hashes::hmac::Hmac impl bitcoin_hashes::hmac::HmacEngine impl bitcoin_io::Write for bitcoin_hashes::hmac::HmacEngine impl core::convert::AsRef<[u8]> for bitcoin_hashes::hmac::Hmac -impl core::default::Default for bitcoin_hashes::hmac::HmacEngine where ::Engine: core::default::Default impl core::marker::StructuralPartialEq for bitcoin_hashes::hmac::Hmac impl std::io::Write for bitcoin_hashes::hmac::HmacEngine impl bitcoin_hashes::GeneralHash for bitcoin_hashes::sha256t::Hash @@ -669,6 +669,7 @@ pub fn bitcoin_hashes::hmac::Hmac::as_ref(&self) -> &[u8] pub fn bitcoin_hashes::hmac::Hmac::clone(&self) -> bitcoin_hashes::hmac::Hmac pub fn bitcoin_hashes::hmac::Hmac::cmp(&self, other: &bitcoin_hashes::hmac::Hmac) -> core::cmp::Ordering pub fn bitcoin_hashes::hmac::Hmac::deserialize>(d: D) -> core::result::Result, ::Error> +pub fn bitcoin_hashes::hmac::Hmac::engine(key: &[u8]) -> bitcoin_hashes::hmac::HmacEngine where ::Engine: core::default::Default pub fn bitcoin_hashes::hmac::Hmac::eq(&self, other: &bitcoin_hashes::hmac::Hmac) -> bool pub fn bitcoin_hashes::hmac::Hmac::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result pub fn bitcoin_hashes::hmac::Hmac::from_byte_array(bytes: ::Bytes) -> Self @@ -680,7 +681,6 @@ pub fn bitcoin_hashes::hmac::Hmac::partial_cmp(&self, other: &bitcoin_hashes: pub fn bitcoin_hashes::hmac::Hmac::serialize(&self, s: S) -> core::result::Result<::Ok, ::Error> pub fn bitcoin_hashes::hmac::Hmac::to_byte_array(self) -> Self::Bytes pub fn bitcoin_hashes::hmac::HmacEngine::clone(&self) -> bitcoin_hashes::hmac::HmacEngine -pub fn bitcoin_hashes::hmac::HmacEngine::default() -> Self pub fn bitcoin_hashes::hmac::HmacEngine::flush(&mut self) -> bitcoin_io::Result<()> pub fn bitcoin_hashes::hmac::HmacEngine::flush(&mut self) -> std::io::error::Result<()> pub fn bitcoin_hashes::hmac::HmacEngine::from_inner_engines(iengine: ::Engine, oengine: ::Engine) -> bitcoin_hashes::hmac::HmacEngine diff --git a/api/hashes/alloc-only.txt b/api/hashes/alloc-only.txt index 35bf80f4d..2000ca4f6 100644 --- a/api/hashes/alloc-only.txt +++ b/api/hashes/alloc-only.txt @@ -416,9 +416,9 @@ impl bitcoin_hashes::GeneralHash for bitcoin_has impl bitcoin_hashes::Hash for bitcoin_hashes::hmac::Hmac impl bitcoin_hashes::HashEngine for bitcoin_hashes::hmac::HmacEngine impl bitcoin_hashes::hkdf::Hkdf where ::Engine: core::default::Default +impl bitcoin_hashes::hmac::Hmac impl bitcoin_hashes::hmac::HmacEngine impl core::convert::AsRef<[u8]> for bitcoin_hashes::hmac::Hmac -impl core::default::Default for bitcoin_hashes::hmac::HmacEngine where ::Engine: core::default::Default impl core::marker::StructuralPartialEq for bitcoin_hashes::hmac::Hmac impl bitcoin_hashes::GeneralHash for bitcoin_hashes::sha256t::Hash impl bitcoin_hashes::Hash for bitcoin_hashes::sha256t::Hash @@ -598,6 +598,7 @@ pub fn bitcoin_hashes::hmac::Hmac::as_byte_array(&self) -> &Self::Bytes pub fn bitcoin_hashes::hmac::Hmac::as_ref(&self) -> &[u8] pub fn bitcoin_hashes::hmac::Hmac::clone(&self) -> bitcoin_hashes::hmac::Hmac pub fn bitcoin_hashes::hmac::Hmac::cmp(&self, other: &bitcoin_hashes::hmac::Hmac) -> core::cmp::Ordering +pub fn bitcoin_hashes::hmac::Hmac::engine(key: &[u8]) -> bitcoin_hashes::hmac::HmacEngine where ::Engine: core::default::Default pub fn bitcoin_hashes::hmac::Hmac::eq(&self, other: &bitcoin_hashes::hmac::Hmac) -> bool pub fn bitcoin_hashes::hmac::Hmac::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result pub fn bitcoin_hashes::hmac::Hmac::from_byte_array(bytes: ::Bytes) -> Self @@ -608,7 +609,6 @@ pub fn bitcoin_hashes::hmac::Hmac::hash<__H: core::hash::Hasher>(&self, state pub fn bitcoin_hashes::hmac::Hmac::partial_cmp(&self, other: &bitcoin_hashes::hmac::Hmac) -> core::option::Option pub fn bitcoin_hashes::hmac::Hmac::to_byte_array(self) -> Self::Bytes pub fn bitcoin_hashes::hmac::HmacEngine::clone(&self) -> bitcoin_hashes::hmac::HmacEngine -pub fn bitcoin_hashes::hmac::HmacEngine::default() -> Self pub fn bitcoin_hashes::hmac::HmacEngine::from_inner_engines(iengine: ::Engine, oengine: ::Engine) -> bitcoin_hashes::hmac::HmacEngine pub fn bitcoin_hashes::hmac::HmacEngine::input(&mut self, buf: &[u8]) pub fn bitcoin_hashes::hmac::HmacEngine::n_bytes_hashed(&self) -> u64 diff --git a/api/hashes/no-features.txt b/api/hashes/no-features.txt index cd19b4663..8ac99fc5d 100644 --- a/api/hashes/no-features.txt +++ b/api/hashes/no-features.txt @@ -380,9 +380,9 @@ impl bitcoin_hashes::GeneralHash for bitcoin_has impl bitcoin_hashes::Hash for bitcoin_hashes::hmac::Hmac impl bitcoin_hashes::HashEngine for bitcoin_hashes::hmac::HmacEngine impl bitcoin_hashes::hkdf::Hkdf where ::Engine: core::default::Default +impl bitcoin_hashes::hmac::Hmac impl bitcoin_hashes::hmac::HmacEngine impl core::convert::AsRef<[u8]> for bitcoin_hashes::hmac::Hmac -impl core::default::Default for bitcoin_hashes::hmac::HmacEngine where ::Engine: core::default::Default impl core::marker::StructuralPartialEq for bitcoin_hashes::hmac::Hmac impl bitcoin_hashes::GeneralHash for bitcoin_hashes::sha256t::Hash impl bitcoin_hashes::Hash for bitcoin_hashes::sha256t::Hash @@ -555,6 +555,7 @@ pub fn bitcoin_hashes::hmac::Hmac::as_byte_array(&self) -> &Self::Bytes pub fn bitcoin_hashes::hmac::Hmac::as_ref(&self) -> &[u8] pub fn bitcoin_hashes::hmac::Hmac::clone(&self) -> bitcoin_hashes::hmac::Hmac pub fn bitcoin_hashes::hmac::Hmac::cmp(&self, other: &bitcoin_hashes::hmac::Hmac) -> core::cmp::Ordering +pub fn bitcoin_hashes::hmac::Hmac::engine(key: &[u8]) -> bitcoin_hashes::hmac::HmacEngine where ::Engine: core::default::Default pub fn bitcoin_hashes::hmac::Hmac::eq(&self, other: &bitcoin_hashes::hmac::Hmac) -> bool pub fn bitcoin_hashes::hmac::Hmac::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result pub fn bitcoin_hashes::hmac::Hmac::from_byte_array(bytes: ::Bytes) -> Self @@ -565,7 +566,6 @@ pub fn bitcoin_hashes::hmac::Hmac::hash<__H: core::hash::Hasher>(&self, state pub fn bitcoin_hashes::hmac::Hmac::partial_cmp(&self, other: &bitcoin_hashes::hmac::Hmac) -> core::option::Option pub fn bitcoin_hashes::hmac::Hmac::to_byte_array(self) -> Self::Bytes pub fn bitcoin_hashes::hmac::HmacEngine::clone(&self) -> bitcoin_hashes::hmac::HmacEngine -pub fn bitcoin_hashes::hmac::HmacEngine::default() -> Self pub fn bitcoin_hashes::hmac::HmacEngine::from_inner_engines(iengine: ::Engine, oengine: ::Engine) -> bitcoin_hashes::hmac::HmacEngine pub fn bitcoin_hashes::hmac::HmacEngine::input(&mut self, buf: &[u8]) pub fn bitcoin_hashes::hmac::HmacEngine::n_bytes_hashed(&self) -> u64