[Cryptech-Commits] [core/rng/trng] branch cleanup updated: (1) Silenced linter by adding default case states. (2) Fixed minor nits in help part of Makefile.

git at cryptech.is git at cryptech.is
Fri Feb 8 09:50:45 UTC 2019


This is an automated email from the git hooks/post-receive script.

joachim at secworks.se pushed a commit to branch cleanup
in repository core/rng/trng.

The following commit(s) were added to refs/heads/cleanup by this push:
     new 920f250  (1) Silenced linter by adding default case states. (2) Fixed minor nits in help part of Makefile.
920f250 is described below

commit 920f2506963aa3b1bb8d18f286446291f2e58218
Author: Joachim Strömbergson <joachim at assured.se>
AuthorDate: Fri Feb 8 10:50:34 2019 +0100

    (1) Silenced linter by adding default case states. (2) Fixed minor nits in help part of Makefile.
---
 src/rtl/trng_mixer.v | 6 ++++++
 toolruns/Makefile    | 1 +
 2 files changed, 7 insertions(+)

diff --git a/src/rtl/trng_mixer.v b/src/rtl/trng_mixer.v
index 1a70e27..d1125ee 100644
--- a/src/rtl/trng_mixer.v
+++ b/src/rtl/trng_mixer.v
@@ -797,6 +797,9 @@ module trng_mixer(
                   end
               end
           end
+        default:
+          begin
+          end
 
       endcase // case (entropy_collect_ctrl_reg)
     end // entropy_mux
@@ -1055,6 +1058,9 @@ module trng_mixer(
               end
           end
 
+        default:
+          begin
+          end
       endcase // case (cspng_ctrl_reg)
     end // mixer_ctrl_fsm
 
diff --git a/toolruns/Makefile b/toolruns/Makefile
index 50e4f26..0835d0f 100644
--- a/toolruns/Makefile
+++ b/toolruns/Makefile
@@ -123,6 +123,7 @@ help:
 	@echo "sim-csprng:  Run cprng simulation."
 	@echo "sim-mixer:   Run mixer simulation."
 	@echo "sim-trng:    Run trng simulation."
+	@echo "lint:        Run linter on the trng source."
 	@echo "clean:       Delete all built files."
 
 #===================================================================

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Commits mailing list