VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Common
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2019-02-13 17:13:55 +0100
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2019-02-15 00:17:11 +0100
commit29b749bdd96668d1aa9259b70be436e807b46af2 (patch)
treef170fbd253d5206b02f66469457bd5e0a500d230 /src/Common
parentadf97533d315a939393f12067e1d2a655b076bf0 (diff)
downloadVeraCrypt-29b749bdd96668d1aa9259b70be436e807b46af2.tar.gz
VeraCrypt-29b749bdd96668d1aa9259b70be436e807b46af2.zip
Windows: rename IsCpuRngSupport to IsCpuRngSupported for clarity and use it in Mount.c
Diffstat (limited to 'src/Common')
-rw-r--r--src/Common/Crypto.c2
-rw-r--r--src/Common/Crypto.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/Common/Crypto.c b/src/Common/Crypto.c
index 562b4c6d..249a4117 100644
--- a/src/Common/Crypto.c
+++ b/src/Common/Crypto.c
@@ -1221,7 +1221,7 @@ BOOL IsHwEncryptionEnabled ()
static BOOL CpuRngDisabled = TRUE;
-BOOL IsCpuRngSupport ()
+BOOL IsCpuRngSupported ()
{
if (HasRDSEED() || HasRDRAND())
return TRUE;
diff --git a/src/Common/Crypto.h b/src/Common/Crypto.h
index f1b35977..6c2befb1 100644
--- a/src/Common/Crypto.h
+++ b/src/Common/Crypto.h
@@ -385,7 +385,7 @@ BOOL IsAesHwCpuSupported ();
void EnableHwEncryption (BOOL enable);
BOOL IsHwEncryptionEnabled ();
-BOOL IsCpuRngSupport ();
+BOOL IsCpuRngSupported ();
void EnableCpuRng (BOOL enable);
BOOL IsCpuRngEnabled ();