diff options
author | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2023-09-29 22:14:43 +0200 |
---|---|---|
committer | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2023-09-29 22:14:43 +0200 |
commit | 5192eac233d4ac1c972af724d01167d38c249410 (patch) | |
tree | 3e1acdd61696e50b6e2a9b6817d105b54527d031 /src/Common/Tcdefs.h | |
parent | 5234c479a47ba526f1bcc49c1b65b96811f04e19 (diff) | |
download | VeraCrypt-5192eac233d4ac1c972af724d01167d38c249410.tar.gz VeraCrypt-5192eac233d4ac1c972af724d01167d38c249410.zip |
Windows Driver: Use KeQueryInterruptTimePrecise on Windows 8.1 and newer as better seed for internal RNG compared to KeQueryInterruptTime
Diffstat (limited to 'src/Common/Tcdefs.h')
-rw-r--r-- | src/Common/Tcdefs.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Common/Tcdefs.h b/src/Common/Tcdefs.h index 259a564b..3e2e860a 100644 --- a/src/Common/Tcdefs.h +++ b/src/Common/Tcdefs.h @@ -305,6 +305,10 @@ typedef NTSTATUS (NTAPI *ExGetFirmwareEnvironmentVariableFn) ( PULONG Attributes ); +typedef ULONG64 (NTAPI *KeQueryInterruptTimePreciseFn)( + PULONG64 QpcTimeStamp +); + typedef BOOLEAN (NTAPI *KeAreAllApcsDisabledFn) (); typedef void (NTAPI *KeSetSystemGroupAffinityThreadFn)( |