Correctly void potentially unused arguments

Signed-off-by: Steven Cooreman <steven.cooreman@silabs.com>
diff --git a/library/psa_crypto_hash.c b/library/psa_crypto_hash.c
index bd3b57e..cd0d15e 100644
--- a/library/psa_crypto_hash.c
+++ b/library/psa_crypto_hash.c
@@ -202,6 +202,8 @@
             break;
 #endif
         default:
+            (void) source_operation;
+            (void) target_operation;
             return( PSA_ERROR_NOT_SUPPORTED );
     }
 
@@ -273,7 +275,8 @@
             break;
 #endif
         default:
-            (void)input;
+            (void) input;
+            (void) input_length;
             return( PSA_ERROR_BAD_STATE );
     }
 
@@ -355,6 +358,7 @@
             break;
 #endif
         default:
+            (void) hash;
             return( PSA_ERROR_BAD_STATE );
     }
     status = mbedtls_to_psa_error( ret );