File tree Expand file tree Collapse file tree 1 file changed +0
-2
lines changed
wrapper/rust/wolfssl-wolfcrypt/src Expand file tree Collapse file tree 1 file changed +0
-2
lines changed Original file line number Diff line number Diff line change @@ -288,7 +288,6 @@ impl BLAKE2bHmac {
288288 ///
289289 /// Returns either Ok(()) on success or Err(e) containing the wolfSSL
290290 /// library error code value.
291- #[ cfg( blake2b_hmac) ]
292291 pub fn hmac ( data : & [ u8 ] , key : & [ u8 ] , out : & mut [ u8 ] ) -> Result < ( ) , i32 > {
293292 let rc = unsafe {
294293 sys:: wc_Blake2bHmac ( data. as_ptr ( ) , data. len ( ) , key. as_ptr ( ) ,
@@ -562,7 +561,6 @@ impl BLAKE2sHmac {
562561 ///
563562 /// Returns either Ok(()) on success or Err(e) containing the wolfSSL
564563 /// library error code value.
565- #[ cfg( blake2s_hmac) ]
566564 pub fn hmac ( data : & [ u8 ] , key : & [ u8 ] , out : & mut [ u8 ] ) -> Result < ( ) , i32 > {
567565 let rc = unsafe {
568566 sys:: wc_Blake2sHmac ( data. as_ptr ( ) , data. len ( ) , key. as_ptr ( ) ,
You can’t perform that action at this time.
0 commit comments