VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Mount/Mount.c
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2015-12-30 06:57:34 +0100
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2015-12-31 01:56:19 +0100
commit0c2c0a846d42b05b44d62a3c3fcaf410660f8a4d (patch)
treeedd8f33dae61b4d1ae304a1ef613b23186bc3dc8 /src/Mount/Mount.c
parentd462806ea970434ab9f09748f74a86608e1fb31e (diff)
downloadVeraCrypt-0c2c0a846d42b05b44d62a3c3fcaf410660f8a4d.tar.gz
VeraCrypt-0c2c0a846d42b05b44d62a3c3fcaf410660f8a4d.zip
Cryptography: Optimize Whirlpool implementation by using public domain assembly code developed by Wei Dai
Diffstat (limited to 'src/Mount/Mount.c')
-rw-r--r--src/Mount/Mount.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Mount/Mount.c b/src/Mount/Mount.c
index 3dc944a6..6d88512f 100644
--- a/src/Mount/Mount.c
+++ b/src/Mount/Mount.c
@@ -12,6 +12,7 @@
code distribution packages. */
#include "Tcdefs.h"
+#include "cpu.h"
#include <time.h>
#include <math.h>
@@ -8648,6 +8649,8 @@ int WINAPI wWinMain (HINSTANCE hInstance, HINSTANCE hPrevInstance, wchar_t *lpsz
VirtualLock (&defaultMountOptions, sizeof (defaultMountOptions));
VirtualLock (&szFileName, sizeof(szFileName));
+ DetectX86Features ();
+
try
{
BootEncObj = new BootEncryption (NULL);