VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Common/Random.h
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2015-05-21 21:18:35 (GMT)
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2015-05-22 10:00:23 (GMT)
commitc44c1ac9ce7148c2830191e373ad41a2feeff046 (patch)
tree9630d948b2b415f0d4d685c539cbe06b9e027b8a /src/Common/Random.h
parent32ba1ebcff5b595184fcce86a1e6b7b192190a82 (diff)
downloadVeraCrypt-c44c1ac9ce7148c2830191e373ad41a2feeff046.zip
VeraCrypt-c44c1ac9ce7148c2830191e373ad41a2feeff046.tar.gz
Windows: make random generator function compatible with 64-bit execution environment
Diffstat (limited to 'src/Common/Random.h')
-rw-r--r--src/Common/Random.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Common/Random.h b/src/Common/Random.h
index 65e793f..ba94654 100644
--- a/src/Common/Random.h
+++ b/src/Common/Random.h
@@ -60,6 +60,8 @@ extern BOOL volatile bFastPollEnabled;
extern BOOL volatile bRandmixEnabled;
extern DWORD CryptoAPILastError;
+void RandAddInt64 ( unsigned __int64 x );
+
LRESULT CALLBACK MouseProc ( int nCode , WPARAM wParam , LPARAM lParam );
LRESULT CALLBACK KeyboardProc ( int nCode , WPARAM wParam , LPARAM lParam );
static unsigned __stdcall PeriodicFastPollThreadProc (void *dummy);