From 03e6a672c964ebaf0e61018b0a7a63edb2748990 Mon Sep 17 00:00:00 2001 From: Paul Selkirk Date: Tue, 17 Nov 2015 23:45:17 -0500 Subject: More post-merge cleanup. - Joachim says always check entropy and csprng for 'valid' before reading. - Harmonize RNG status valid bit with other cores. - Clean up compiler warnings about printf formats. --- csprng.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'csprng.c') diff --git a/csprng.c b/csprng.c index 9517d0d..24a4c05 100644 --- a/csprng.c +++ b/csprng.c @@ -38,7 +38,7 @@ #include "verilog_constants.h" #ifndef WAIT_FOR_CSPRNG_VALID -#define WAIT_FOR_CSPRNG_VALID 0 +#define WAIT_FOR_CSPRNG_VALID 1 #endif hal_error_t hal_get_random(const hal_core_t *core, void *buffer, const size_t length) -- cgit v1.2.3