From 425e4e7d365795b820fa145403b2be372894c48b Mon Sep 17 00:00:00 2001 From: Mounir IDRASSI Date: Tue, 14 Jul 2020 23:59:09 +0200 Subject: [PATCH] Enable FIPS mode in JitterEntropy random generator in order to let the function jent_read_entropy report failure if any of the continuous statistical tests fail. --- src/Crypto/jitterentropy-base-user.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Crypto/jitterentropy-base-user.h b/src/Crypto/jitterentropy-base-user.h index a4f5cb4e..bfb3a605 100644 --- a/src/Crypto/jitterentropy-base-user.h +++ b/src/Crypto/jitterentropy-base-user.h @@ -157,7 +157,7 @@ static #endif VC_INLINE int jent_fips_enabled(void) { - return 0; + return 1; } /* --- helpers needed in user space -- */