1
0
mirror of https://github.com/veracrypt/VeraCrypt.git synced 2025-11-13 03:48:26 -06:00

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)

This commit is contained in:
Mounir IDRASSI
2019-02-12 18:49:12 +01:00
parent a5943c07fb
commit 86f0fde6e7
12 changed files with 1084 additions and 5 deletions

View File

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