--- truecrypt/common/random.h 2018/04/24 16:48:34 1.1.1.11 +++ truecrypt/common/random.h 2018/04/24 17:02:30 1.1.1.15 @@ -4,8 +4,8 @@ Copyright (c) 1998-2000 Paul Le Roux and which is governed by the 'License Agreement for Encryption for the Masses'. Modifications and additions to the original source code (contained in this file) and all other portions of - this file are Copyright (c) 2003-2008 TrueCrypt Foundation and are governed - by the TrueCrypt License 2.4 the full text of which is contained in the + this file are Copyright (c) 2003-2009 TrueCrypt Foundation and are governed + by the TrueCrypt License 2.7 the full text of which is contained in the file License.txt included in TrueCrypt binary and source code distribution packages. */ @@ -32,9 +32,12 @@ extern "C" { void RandAddInt ( unsigned __int32 x ); int Randinit ( void ); -void Randfree ( void ); +void RandStop (BOOL freePool); +BOOL IsRandomNumberGeneratorStarted (); void RandSetHashFunction ( int hash_algo_id ); int RandGetHashFunction (void); +void SetRandomPoolEnrichedByUserStatus (BOOL enriched); +BOOL IsRandomPoolEnrichedByUser (); BOOL Randmix ( void ); void RandaddBuf ( void *buf , int len ); BOOL FastPoll ( void );