From e59ddb95c7101a20e637445d9690ed3fa1614136 Mon Sep 17 00:00:00 2001 From: Josh Holtrop Date: Tue, 20 Jan 2026 14:56:55 -0500 Subject: [PATCH] Rust blake2: remove unnecessary cfg guards --- wrapper/rust/wolfssl-wolfcrypt/src/blake2.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/wrapper/rust/wolfssl-wolfcrypt/src/blake2.rs b/wrapper/rust/wolfssl-wolfcrypt/src/blake2.rs index afd36bf62..465932903 100644 --- a/wrapper/rust/wolfssl-wolfcrypt/src/blake2.rs +++ b/wrapper/rust/wolfssl-wolfcrypt/src/blake2.rs @@ -288,7 +288,6 @@ impl BLAKE2bHmac { /// /// Returns either Ok(()) on success or Err(e) containing the wolfSSL /// library error code value. - #[cfg(blake2b_hmac)] pub fn hmac(data: &[u8], key: &[u8], out: &mut [u8]) -> Result<(), i32> { let rc = unsafe { sys::wc_Blake2bHmac(data.as_ptr(), data.len(), key.as_ptr(), @@ -562,7 +561,6 @@ impl BLAKE2sHmac { /// /// Returns either Ok(()) on success or Err(e) containing the wolfSSL /// library error code value. - #[cfg(blake2s_hmac)] pub fn hmac(data: &[u8], key: &[u8], out: &mut [u8]) -> Result<(), i32> { let rc = unsafe { sys::wc_Blake2sHmac(data.as_ptr(), data.len(), key.as_ptr(),