From 904241cba44263db8d4e4c6dff02bd7b8f2bc822 Mon Sep 17 00:00:00 2001 From: David Garske Date: Fri, 31 Jul 2020 11:56:32 -0700 Subject: [PATCH] Fix to only init the RNG once for nRF51/nRF52x. --- wolfcrypt/src/random.c | 1 + 1 file changed, 1 insertion(+) diff --git a/wolfcrypt/src/random.c b/wolfcrypt/src/random.c index 0c3a79524..5641844f8 100644 --- a/wolfcrypt/src/random.c +++ b/wolfcrypt/src/random.c @@ -2092,6 +2092,7 @@ int wc_GenerateSeed(OS_Seed* os, byte* output, word32 sz) ) { return -1; } + initialized = 1; } while (remaining > 0) {