diff options
author | Paul Selkirk <paul@psgd.org> | 2015-11-17 23:45:17 -0500 |
---|---|---|
committer | Paul Selkirk <paul@psgd.org> | 2015-11-17 23:45:17 -0500 |
commit | 03e6a672c964ebaf0e61018b0a7a63edb2748990 (patch) | |
tree | fc3ef67bd4a47ea33e95fc9a5e0c8bc03d7dbf3c /csprng.c | |
parent | 863f996135a80ff8511360308496056ecee9e47d (diff) |
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.
Diffstat (limited to 'csprng.c')
-rw-r--r-- | csprng.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) |