VeraCrypt
aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2020-07-14 21:59:09 (GMT)
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2020-07-14 22:01:54 (GMT)
commit425e4e7d365795b820fa145403b2be372894c48b (patch)
treebbbf087c8367cb1cecf76e8bf5ea5287d413a8e5
parentea256a669aa170f0c6725bd6c5a8138809a800df (diff)
downloadVeraCrypt-425e4e7d365795b820fa145403b2be372894c48b.zip
VeraCrypt-425e4e7d365795b820fa145403b2be372894c48b.tar.gz
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 a4f5cb4..bfb3a60 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 -- */