ReactOS 0.4.16-dev-41-ge8c7597
|
#include <stdarg.h>
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include "windef.h"
#include "winbase.h"
#include "wincrypt.h"
#include "wine/debug.h"
Go to the source code of this file.
Classes | |
struct | protect_data_t |
Variables | |
static const BYTE | crypt32_protectdata_secret [] |
static const char | crypt_magic_str [] = "Wine Crypt32 ok" |
Definition at line 50 of file protectdata.c.
#define CRYPT32_PROTECTDATA_HASH_LEN 160 |
Definition at line 51 of file protectdata.c.
Definition at line 52 of file protectdata.c.
#define CRYPT32_PROTECTDATA_KEY_LEN 168 |
Definition at line 53 of file protectdata.c.
#define CRYPT32_PROTECTDATA_PROV PROV_RSA_FULL |
Definition at line 49 of file protectdata.c.
#define CRYPT32_PROTECTDATA_SALT_LEN 16 |
Definition at line 54 of file protectdata.c.
Definition at line 135 of file protectdata.c.
|
static |
Definition at line 645 of file protectdata.c.
Referenced by CryptProtectData(), and hash_matches_blob().
Definition at line 551 of file protectdata.c.
Referenced by fill_protect_data().
BOOL WINAPI CryptProtectData | ( | DATA_BLOB * | pDataIn, |
LPCWSTR | szDataDescr, | ||
DATA_BLOB * | pOptionalEntropy, | ||
PVOID | pvReserved, | ||
CRYPTPROTECT_PROMPTSTRUCT * | pPromptStruct, | ||
DWORD | dwFlags, | ||
DATA_BLOB * | pDataOut | ||
) |
Definition at line 821 of file protectdata.c.
Referenced by store_key_pair().
BOOL WINAPI CryptUnprotectData | ( | DATA_BLOB * | pDataIn, |
LPWSTR * | ppszDataDescr, | ||
DATA_BLOB * | pOptionalEntropy, | ||
PVOID | pvReserved, | ||
CRYPTPROTECT_PROMPTSTRUCT * | pPromptStruct, | ||
DWORD | dwFlags, | ||
DATA_BLOB * | pDataOut | ||
) |
Definition at line 990 of file protectdata.c.
Referenced by read_key_value().
|
static |
Definition at line 571 of file protectdata.c.
Referenced by CryptProtectData().
|
static |
Definition at line 534 of file protectdata.c.
Referenced by CryptProtectData(), CryptUnprotectData(), and fill_protect_data().
|
static |
Definition at line 682 of file protectdata.c.
Referenced by CryptUnprotectData().
Definition at line 116 of file protectdata.c.
|
static |
Definition at line 705 of file protectdata.c.
Referenced by CryptProtectData(), and CryptUnprotectData().
|
static |
Definition at line 769 of file protectdata.c.
Referenced by CryptProtectData(), CryptUnprotectData(), extract_rev_infos(), extract_test(), get_subtests(), hex_str(), open_http(), print_version(), process_data(), remove_dir(), run_ex(), run_tests(), send_file(), strmake(), test_get_input_report(), test_read_device(), WinMain(), xmalloc(), xprintf(), xrealloc(), and xstrdup().
|
static |
Definition at line 217 of file protectdata.c.
Referenced by CryptProtectData().
Definition at line 142 of file protectdata.c.
Referenced by serialize(), and serialize_string().
|
static |
Definition at line 151 of file protectdata.c.
Referenced by serialize().
|
static |
Definition at line 344 of file protectdata.c.
Referenced by CryptUnprotectData().
Definition at line 165 of file protectdata.c.
Referenced by unserialize(), and unserialize_string().
|
static |
Definition at line 183 of file protectdata.c.
Referenced by unserialize().
|
static |
Definition at line 487 of file protectdata.c.
Referenced by CryptUnprotectData().
WINE_DEFAULT_DEBUG_CHANNEL | ( | crypt | ) |
Definition at line 56 of file protectdata.c.
Referenced by load_encryption_key().
Definition at line 112 of file protectdata.c.
Referenced by fill_protect_data(), and valid_protect_data().