[kmac,lint] Waive unused variable warnings in non-masked config

Signed-off-by: Rupert Swarbrick <rswarbrick@lowrisc.org>
diff --git a/hw/ip/kmac/lint/kmac.vlt b/hw/ip/kmac/lint/kmac.vlt
index c0ac925..0a1067b 100644
--- a/hw/ip/kmac/lint/kmac.vlt
+++ b/hw/ip/kmac/lint/kmac.vlt
@@ -4,3 +4,10 @@
 //
 // waiver file for kmac
 
+`verilator_config
+
+// When masking is disabled, KMAC exposes ports for the EDN clock and
+// reset but doesn't use them. This is intentional; waive the
+// warnings.
+lint_off -rule UNUSED -file "*/rtl/kmac.sv" -match "Signal is not used: 'clk_edn_i'"
+lint_off -rule UNUSED -file "*/rtl/kmac.sv" -match "Signal is not used: 'rst_edn_ni'"
diff --git a/hw/ip/kmac/rtl/kmac.sv b/hw/ip/kmac/rtl/kmac.sv
index 1547af1..038b2f7 100644
--- a/hw/ip/kmac/rtl/kmac.sv
+++ b/hw/ip/kmac/rtl/kmac.sv
@@ -860,9 +860,15 @@
       .err_processed_i (err_processed)
     );
   end else begin : gen_empty_entropy
-    // If Masking is not used, no need of entropy. Tieing 0
+    // If Masking is not used, no need of entropy. Ignore inputs and config; tie output to 0.
     edn_pkg::edn_rsp_t unused_entropy_input;
-    assign unused_entropy_input = entropy_i;
+    entropy_mode_e     unused_entropy_mode;
+    logic              unused_entropy_fast_process;
+
+    assign unused_entropy_input        = entropy_i;
+    assign unused_entropy_mode         = entropy_mode;
+    assign unused_entropy_fast_process = entropy_fast_process;
+
     assign entropy_o = '{default: '0};
 
     logic unused_sha3_rand_consumed;