VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Crypto/GostCipher.h
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2019-02-12 18:49:12 +0100
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2019-02-12 19:06:14 +0100
commit86f0fde6e7914f055c5872bf7f2f565cc09977fc (patch)
treefea427f46509ccaa1cb77ec233cb2ab41157576e /src/Crypto/GostCipher.h
parenta5943c07fbc2754e0785cfa3d4645e96ae87b405 (diff)
downloadVeraCrypt-86f0fde6e7914f055c5872bf7f2f565cc09977fc.tar.gz
VeraCrypt-86f0fde6e7914f055c5872bf7f2f565cc09977fc.zip
Windows: Use Hardware RNG based on CPU timing jitter "Jitterentropy" by Stephan Mueller as a good alternative to RDRAND (http://www.chronox.de/jent.html, smueller@chronox.de)
Diffstat (limited to 'src/Crypto/GostCipher.h')
-rw-r--r--src/Crypto/GostCipher.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/Crypto/GostCipher.h b/src/Crypto/GostCipher.h
index 6031c438..bcb77207 100644
--- a/src/Crypto/GostCipher.h
+++ b/src/Crypto/GostCipher.h
@@ -14,6 +14,7 @@
#include "Common/Tcdefs.h"
#include "config.h"
+#include "misc.h"
#ifdef __cplusplus
extern "C" {
@@ -30,10 +31,6 @@ extern "C" {
#if defined(CIPHER_GOST89)
-#ifndef rotl32
-#define rotl32(b, shift) ((b << shift) | (b >> (32 - shift)))
-#endif
-
#ifdef GST_WINDOWS_BOOT
typedef int gst_word;
typedef long gst_dword;