diff options
Diffstat (limited to 'src/Core/RandomNumberGenerator.h')
-rw-r--r-- | src/Core/RandomNumberGenerator.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/Core/RandomNumberGenerator.h b/src/Core/RandomNumberGenerator.h index 53482301..333a8e36 100644 --- a/src/Core/RandomNumberGenerator.h +++ b/src/Core/RandomNumberGenerator.h @@ -3,9 +3,9 @@ Copyright (c) 2008-2012 TrueCrypt Developers Association and which is governed by the TrueCrypt License 3.0. Modifications and additions to the original source code (contained in this file) - and all other portions of this file are Copyright (c) 2013-2016 IDRIX + and all other portions of this file are Copyright (c) 2013-2017 IDRIX and are governed by the Apache License 2.0 the full text of which is contained in the file License.txt included in VeraCrypt binary and source code distribution packages. */ @@ -15,8 +15,9 @@ #include "Platform/Platform.h" #include "Volume/Hash.h" #include "Common/Random.h" +#include "Crypto/jitterentropy.h" namespace VeraCrypt { class RandomNumberGenerator @@ -52,8 +53,10 @@ namespace VeraCrypt static shared_ptr <Hash> PoolHash; static size_t ReadOffset; static bool Running; static size_t WriteOffset; + static struct rand_data *JitterRngCtx; + static int DevRandomBytesCount; }; } #endif // TC_HEADER_Core_RandomNumberGenerator |