We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent af0fd01 commit e59ddb9Copy full SHA for e59ddb9
1 file changed
wrapper/rust/wolfssl-wolfcrypt/src/blake2.rs
@@ -288,7 +288,6 @@ impl BLAKE2bHmac {
288
///
289
/// Returns either Ok(()) on success or Err(e) containing the wolfSSL
290
/// library error code value.
291
- #[cfg(blake2b_hmac)]
292
pub fn hmac(data: &[u8], key: &[u8], out: &mut [u8]) -> Result<(), i32> {
293
let rc = unsafe {
294
sys::wc_Blake2bHmac(data.as_ptr(), data.len(), key.as_ptr(),
@@ -562,7 +561,6 @@ impl BLAKE2sHmac {
562
561
563
564
565
- #[cfg(blake2s_hmac)]
566
567
568
sys::wc_Blake2sHmac(data.as_ptr(), data.len(), key.as_ptr(),
0 commit comments