diff options
author | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2019-10-03 19:25:57 +0200 |
---|---|---|
committer | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2019-10-03 19:32:39 +0200 |
commit | 1298f83aa49948962b57dc302cc868130b60c0b5 (patch) | |
tree | 5442598fd9e56971f4b40504c937546d31f37752 /src/Common/Random.h | |
parent | 9f91c47bd22e5753d62e9c19f05f3ad79672d008 (diff) | |
download | VeraCrypt-1298f83aa49948962b57dc302cc868130b60c0b5.tar.gz VeraCrypt-1298f83aa49948962b57dc302cc868130b60c0b5.zip |
Windows: Add function RandinitWithCheck to detect if random generator was already initialized before our call or not
Diffstat (limited to 'src/Common/Random.h')
-rw-r--r-- | src/Common/Random.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Common/Random.h b/src/Common/Random.h index 46fe59a8..88dd041b 100644 --- a/src/Common/Random.h +++ b/src/Common/Random.h @@ -35,6 +35,7 @@ extern "C" { void RandAddInt ( unsigned __int32 x ); int Randinit ( void ); +int RandinitWithCheck ( int* pAlreadyInitialized); void RandStop (BOOL freePool); BOOL IsRandomNumberGeneratorStarted (); void RandSetHashFunction ( int hash_algo_id ); |