1
0
mirror of https://github.com/veracrypt/VeraCrypt.git synced 2025-11-11 11:08:02 -06:00

Windows: Add function RandinitWithCheck to detect if random generator was already initialized before our call or not

This commit is contained in:
Mounir IDRASSI
2019-10-03 19:25:57 +02:00
parent 9f91c47bd2
commit 1298f83aa4
2 changed files with 14 additions and 1 deletions

View File

@@ -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 );