cryptlib
3.4.1
|
#include "crypt.h"
#include "random/random.h"
#include <tlhelp32.h>
#include <winperf.h>
#include <winioctl.h>
#include <process.h>
Go to the source code of this file.
Classes | |
struct | SharedIndex |
struct | SharedSensor |
struct | SharedInfo |
struct | SharedData |
struct | SYSTOOL_SHMEM_SENSOR |
struct | SYSTOOL_SHMEM |
struct | RTHM_SHARED_MEMORY_HEADER |
struct | RTHM_SHARED_MEMORY_ENTRY |
struct | HMONITOR_DATA |
struct | TRAY_TOOLS_DATA |
struct | CORE_TEMP_SHARED_DATA |
struct | GPUZ_RECORD |
struct | GPUZ_SENSOR_RECORD |
struct | GPUZ_SH_MEM |
struct | _SP_DEVINFO_DATA |
Macros | |
#define | addRandomHandle addRandomValue |
#define | RANDOM_BUFSIZE 4096 |
#define | SYSTEMRNG_BYTES 64 |
#define | PROV_INTEL_SEC 22 |
#define | INTEL_DEF_PROV "Intel Hardware Cryptographic Service Provider" |
#define | HCRYPTPROV HANDLE |
#define | BusType char |
#define | SMBType char |
#define | SensorType char |
#define | SH_MEM_MAX_SENSORS 128 |
#define | MAX_RECORDS 128 |
#define | DIGCF_PRESENT 0x02 |
#define | DIGCF_ALLCLASSES 0x04 |
#define | SPDRP_HARDWAREID 0x01 |
#define | BIG_RANDOM_BUFSIZE ( RANDOM_BUFSIZE * 4 ) |
#define | PERFORMANCE_BUFFER_SIZE 65536 /* Start at 64K */ |
#define | PERFORMANCE_BUFFER_STEP 16384 /* Step by 16K */ |
Typedefs | |
typedef LPCTSTR | pszContainer |
typedef LPCTSTR LPCTSTR | pszProvider |
typedef LPCTSTR LPCTSTR DWORD | dwProvType |
typedef LPCTSTR LPCTSTR DWORD DWORD | dwFlags |
typedef DWORD | dwLen |
typedef DWORD BYTE * | pbBuffer |
typedef ULONG | RandomBufferLength |
typedef BYTE | VARIANT [16] |
typedef BYTE | UINT8 |
typedef WORD | UINT16 |
typedef void * | HDEVINFO |
typedef struct _SP_DEVINFO_DATA | SP_DEVINFO_DATA |
typedef struct _SP_DEVINFO_DATA * | PSP_DEVINFO_DATA |
typedef DWORD | MemberIndex |
typedef DWORD PSP_DEVINFO_DATA | DeviceInfoData |
typedef void * | Enumerator |
typedef void HWND | hwndParent |
typedef void HWND DWORD | Flags |
typedef PSP_DEVINFO_DATA DWORD | Property |
typedef PSP_DEVINFO_DATA DWORD PDWORD | PropertyRegDataType |
typedef PSP_DEVINFO_DATA DWORD PDWORD PBYTE | PropertyBuffer |
typedef PSP_DEVINFO_DATA DWORD PDWORD PBYTE DWORD | PropertyBufferSize |
typedef PSP_DEVINFO_DATA DWORD PDWORD PBYTE DWORD PDWORD | RequiredSize |
typedef LPMODULEENTRY32 | lpme |
typedef LPTHREADENTRY32 | lpte |
typedef LPPROCESSENTRY32 | lppe |
typedef LPHEAPLIST32 | lphl |
typedef DWORD | th32ProcessID |
typedef DWORD THREAD_ID | th32HeapID |
typedef LPWSTR | szService |
typedef LPWSTR DWORD | dwLevel |
typedef LPWSTR DWORD DWORD | dwOptions |
typedef LPWSTR DWORD DWORD LPBYTE * | lpBuffer |
typedef LPDWORD | cbBuffer |
typedef PVOID | systemInformation |
typedef PVOID ULONG | systemInformationLength |
typedef PVOID ULONG PULONG | returnLength |
typedef DWORD | processInformationClass |
typedef DWORD PVOID | processInformation |
typedef DWORD PVOID ULONG | processInformationLength |
typedef PVOID | inputBuffer |
typedef PVOID ULONG | inputBufferLength |
typedef PVOID ULONG PVOID | outputBuffer |
typedef PVOID ULONG PVOID ULONG | outputBufferLength |
Enumerations | |
enum | SYSTOOL_SENSOR_TYPE { sUnknown, sNumber, sTemperature, sVoltage, sRPM, sBytes, sBytesPerSecond, sMhz, sPercentage, sString, sPWM } |
Functions | |
typedef | BOOL (WINAPI *CRYPTACQUIRECONTEXT)(HCRYPTPROV *phProv |
typedef | HDEVINFO (WINAPI *SETUPDIGETCLASSDEVS)(void *ClassGuid |
void | fastPoll (void) |
typedef | HANDLE (WINAPI *CREATESNAPSHOT)(DWORD dwFlags |
unsigned __stdcall | threadSafeSlowPollWin95 (void *dummy) |
typedef | DWORD (WINAPI *NETSTATISTICSGET)(LPWSTR szServer |
unsigned __stdcall | threadSafeSlowPollWinNT (void *dummy) |
void | slowPoll (void) |
CHECK_RETVAL int | waitforRandomCompletion (const BOOLEAN force) |
void | initRandomPolling (void) |
void | endRandomPolling (void) |
#define addRandomHandle addRandomValue |
#define BIG_RANDOM_BUFSIZE ( RANDOM_BUFSIZE * 4 ) |
#define INTEL_DEF_PROV "Intel Hardware Cryptographic Service Provider" |
typedef PSP_DEVINFO_DATA DeviceInfoData |
typedef LPCTSTR LPCTSTR DWORD dwProvType |
typedef void* Enumerator |
typedef void HWND hwndParent |
typedef PVOID inputBuffer |
typedef PVOID ULONG inputBufferLength |
typedef DWORD MemberIndex |
typedef PVOID ULONG PVOID outputBuffer |
typedef PVOID ULONG PVOID ULONG outputBufferLength |
typedef DWORD PVOID processInformation |
typedef DWORD processInformationClass |
typedef DWORD PVOID ULONG processInformationLength |
typedef PSP_DEVINFO_DATA DWORD Property |
typedef PSP_DEVINFO_DATA DWORD PDWORD PBYTE PropertyBuffer |
typedef PSP_DEVINFO_DATA DWORD PDWORD PBYTE DWORD PropertyBufferSize |
typedef PSP_DEVINFO_DATA DWORD PDWORD PropertyRegDataType |
typedef struct _SP_DEVINFO_DATA * PSP_DEVINFO_DATA |
typedef LPCTSTR pszContainer |
typedef LPCTSTR LPCTSTR pszProvider |
typedef ULONG RandomBufferLength |
typedef PSP_DEVINFO_DATA DWORD PDWORD PBYTE DWORD PDWORD RequiredSize |
typedef DWORD PVOID ULONG PULONG returnLength |
typedef struct _SP_DEVINFO_DATA SP_DEVINFO_DATA |
typedef PVOID systemInformation |
typedef PVOID ULONG systemInformationLength |
typedef DWORD THREAD_ID th32HeapID |
typedef DWORD th32ProcessID |
enum SYSTOOL_SENSOR_TYPE |
typedef BOOL | ( | WINAPI * | CRYPTACQUIRECONTEXT | ) |
typedef DWORD | ( | WINAPI * | NETSTATISTICSGET | ) |
typedef HANDLE | ( | WINAPI * | CREATESNAPSHOT | ) |
typedef HDEVINFO | ( | WINAPI * | SETUPDIGETCLASSDEVS | ) |
CHECK_RETVAL int waitforRandomCompletion | ( | const BOOLEAN | force | ) |