From ca5adfaecbe6e38749213f7f2a60bebeb5328d20 Mon Sep 17 00:00:00 2001 From: kaleb-himes Date: Tue, 12 Dec 2023 15:21:28 -0700 Subject: [PATCH] Add comments per peer review --- wolfssl/wolfcrypt/settings.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/wolfssl/wolfcrypt/settings.h b/wolfssl/wolfcrypt/settings.h index 3c293421a..779730155 100644 --- a/wolfssl/wolfcrypt/settings.h +++ b/wolfssl/wolfcrypt/settings.h @@ -297,6 +297,10 @@ #if FIPS_VERSION_LT(2,0) #define WC_RNG RNG #else + /* RNG needs to be defined to WC_RNG anytime another library on the + * system or other set of headers included by wolfSSL already defines + * RNG. Examples are: + * wolfEngine, wolfProvider and potentially other use-cases */ #ifndef RNG #define RNG WC_RNG #endif