From 0c2c0a846d42b05b44d62a3c3fcaf410660f8a4d Mon Sep 17 00:00:00 2001 From: Mounir IDRASSI Date: Wed, 30 Dec 2015 06:57:34 +0100 Subject: Cryptography: Optimize Whirlpool implementation by using public domain assembly code developed by Wei Dai --- src/Driver/Ntdriver.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/Driver') diff --git a/src/Driver/Ntdriver.c b/src/Driver/Ntdriver.c index 993b8102..1c2ec97f 100644 --- a/src/Driver/Ntdriver.c +++ b/src/Driver/Ntdriver.c @@ -16,6 +16,7 @@ #include "Crypto.h" #include "Fat.h" #include "Tests.h" +#include "cpu.h" #include "Apidrvr.h" #include "Boot/Windows/BootDefs.h" @@ -72,6 +73,8 @@ NTSTATUS DriverEntry (PDRIVER_OBJECT DriverObject, PUNICODE_STRING RegistryPath) Dump ("DriverEntry " TC_APP_NAME " " VERSION_STRING "\n"); + DetectX86Features (); + PsGetVersion (&OsMajorVersion, &OsMinorVersion, NULL, NULL); // Load dump filter if the main driver is already loaded -- cgit v1.2.3