Changeset View
Changeset View
Standalone View
Standalone View
random/rndw32.c
Context not available. | |||||
double ssHigh; /* Highest readout */ | double ssHigh; /* Highest readout */ | ||||
long ssCount; /* Total number of readout */ | long ssCount; /* Total number of readout */ | ||||
char sspadding2[4]; /* Padding of 4 bytes */ | char sspadding2[4]; /* Padding of 4 bytes */ | ||||
long double ssTotal; /* Total amout of all readouts */ | long double ssTotal; /* Total amount of all readouts */ | ||||
char sspadding3[6]; /* Padding of 6 bytes */ | char sspadding3[6]; /* Padding of 6 bytes */ | ||||
double ssAlarm1; /* Temp & fan: high alarm; voltage: % off */ | double ssAlarm1; /* Temp & fan: high alarm; voltage: % off */ | ||||
double ssAlarm2; /* Temp: low alarm */ | double ssAlarm2; /* Temp: low alarm */ | ||||
Context not available. | |||||
/* One time intialized handles and function pointers. We use dynamic | /* One time initialized handles and function pointers. We use dynamic | ||||
loading of the DLLs to do without them in case libgcrypt does not | loading of the DLLs to do without them in case libgcrypt does not | ||||
need any random. */ | need any random. */ | ||||
static HANDLE hNetAPI32; | static HANDLE hNetAPI32; | ||||
Context not available. | |||||
static HCRYPTPROV hRNGProv; /* Handle to Intel RNG CSP. */ | static HCRYPTPROV hRNGProv; /* Handle to Intel RNG CSP. */ | ||||
/* The debug flag. Debugging is enabled if the value of the envvar | /* The debug flag. Debugging is enabled if the value of the envvar | ||||
* GCRY_RNDW32_DBG is a postive number.*/ | * GCRY_RNDW32_DBG is a positive number.*/ | ||||
static int debug_me; | static int debug_me; | ||||
static int system_is_w2000; /* True if running on W2000. */ | static int system_is_w2000; /* True if running on W2000. */ | ||||
Context not available. |