VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Core/RandomNumberGenerator.h
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2019-10-23 22:30:44 +0200
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2019-10-23 22:46:25 +0200
commit478066c6076934ef50f9cf922cfe55dd96580d12 (patch)
tree7acafc304087150dc2faf4746f826ae13ea5115d /src/Core/RandomNumberGenerator.h
parent74e14c070fb5bebe5258dde72e879fe7be1e43cf (diff)
downloadVeraCrypt-478066c6076934ef50f9cf922cfe55dd96580d12.tar.gz
VeraCrypt-478066c6076934ef50f9cf922cfe55dd96580d12.zip
Linux/MacOSX: Add missing JitterEntropy implementation
Diffstat (limited to 'src/Core/RandomNumberGenerator.h')
-rw-r--r--src/Core/RandomNumberGenerator.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Core/RandomNumberGenerator.h b/src/Core/RandomNumberGenerator.h
index 2d1d314a..6df31ae0 100644
--- a/src/Core/RandomNumberGenerator.h
+++ b/src/Core/RandomNumberGenerator.h
@@ -16,6 +16,7 @@
#include "Platform/Platform.h"
#include "Volume/Hash.h"
#include "Common/Random.h"
+#include "Crypto/jitterentropy.h"
namespace VeraCrypt
{
@@ -53,6 +54,7 @@ namespace VeraCrypt
static size_t ReadOffset;
static bool Running;
static size_t WriteOffset;
+ static struct rand_data *JitterRngCtx;
};
}