VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/ExpandVolume/WinMain.cpp
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/ExpandVolume/WinMain.cpp
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/ExpandVolume/WinMain.cpp')
-rw-r--r--src/ExpandVolume/WinMain.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ExpandVolume/WinMain.cpp b/src/ExpandVolume/WinMain.cpp
index 7b3d77e5..58d95501 100644
--- a/src/ExpandVolume/WinMain.cpp
+++ b/src/ExpandVolume/WinMain.cpp
@@ -15,6 +15,7 @@
code distribution packages. */
#include "Tcdefs.h"
+#include "cpu.h"
#include <time.h>
#include <math.h>
@@ -991,6 +992,8 @@ int WINAPI wWinMain (HINSTANCE hInstance, HINSTANCE hPrevInstance, wchar_t *lpsz
/* application title */
lpszTitle = L"VeraCrypt Expander";
+ DetectX86Features ();
+
status = DriverAttach ();
if (status != 0)
{