VeraCrypt
aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2020-07-14 23:59:09 +0200
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2020-07-15 00:01:54 +0200
commit425e4e7d365795b820fa145403b2be372894c48b (patch)
treebbbf087c8367cb1cecf76e8bf5ea5287d413a8e5
parentea256a669aa170f0c6725bd6c5a8138809a800df (diff)
downloadVeraCrypt-425e4e7d365795b820fa145403b2be372894c48b.tar.gz
VeraCrypt-425e4e7d365795b820fa145403b2be372894c48b.zip
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.
-rw-r--r--src/Crypto/jitterentropy-base-user.h2
1 files changed, 1 insertions, 1 deletions
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 -- */