|
ReactOS 0.4.16-dev-1946-g52006dd
|
#include <config.h>#include <wine/library.h>#include <wine/debug.h>#include <windef.h>#include <winreg.h>#include <wincrypt.h>#include "handle.h"#include "implglue.h"#include <objbase.h>#include <rpcproxy.h>#include <aclapi.h>#include <strsafe.h>
Go to the source code of this file.
Classes | |
| struct | _RSAENH_TLS1PRF_PARAMS |
| struct | tagCRYPTHASH |
| struct | _RSAENH_SCHANNEL_INFO |
| struct | tagCRYPTKEY |
| struct | tagKEYCONTAINER |
Typedefs | |
| typedef struct _RSAENH_TLS1PRF_PARAMS | RSAENH_TLS1PRF_PARAMS |
| typedef struct tagCRYPTHASH | CRYPTHASH |
| typedef struct _RSAENH_SCHANNEL_INFO | RSAENH_SCHANNEL_INFO |
| typedef struct tagCRYPTKEY | CRYPTKEY |
| typedef struct tagKEYCONTAINER | KEYCONTAINER |
Variables | |
| static HINSTANCE | instance |
| static const PROV_ENUMALGS_EX | aProvEnumAlgsEx [5][RSAENH_MAX_ENUMALGS+1] |
| static struct handle_table | handle_table |
| #define RSAENH_PCT1_SSL2_SSL3_TLS1 (CRYPT_FLAG_PCT1|CRYPT_FLAG_SSL2|CRYPT_FLAG_SSL3|CRYPT_FLAG_TLS1) |
| typedef struct tagCRYPTHASH CRYPTHASH |
| typedef struct tagCRYPTKEY CRYPTKEY |
| typedef struct tagKEYCONTAINER KEYCONTAINER |
|
static |
Definition at line 1469 of file rsaenh.c.
Referenced by RSAENH_CPSignHash(), and RSAENH_CPVerifySignature().
|
inlinestatic |
Definition at line 505 of file rsaenh.c.
Referenced by RSAENH_CPCreateHash(), and tls1_prf().
|
inlinestatic |
Definition at line 476 of file rsaenh.c.
Referenced by import_plaintext_key(), RSAENH_CPDuplicateHash(), RSAENH_CPDuplicateKey(), RSAENH_CPSetHashParam(), and RSAENH_CPSetKeyParam().
|
static |
Definition at line 573 of file rsaenh.c.
Referenced by RSAENH_CPDuplicateHash(), and RSAENH_CPSetHashParam().
|
inlinestatic |
Definition at line 403 of file rsaenh.c.
Referenced by RSAENH_CPGetHashParam(), RSAENH_CPGetKeyParam(), and RSAENH_CPGetProvParam().
|
static |
Definition at line 1103 of file rsaenh.c.
Referenced by new_key_container(), store_key_container_keys(), and store_key_container_permissions().
|
static |
Definition at line 2621 of file rsaenh.c.
Referenced by RSAENH_CPExportKey(), and store_key_pair().
|
static |
Definition at line 2573 of file rsaenh.c.
Referenced by crypt_export_key().
|
static |
Definition at line 2532 of file rsaenh.c.
Referenced by crypt_export_key().
|
static |
Definition at line 2497 of file rsaenh.c.
Referenced by crypt_export_key().
|
static |
Definition at line 2457 of file rsaenh.c.
Referenced by crypt_export_key().
Definition at line 1161 of file rsaenh.c.
Referenced by RSAENH_CPAcquireContext().
Definition at line 612 of file rsaenh.c.
Referenced by RSAENH_CPCreateHash(), and RSAENH_CPDuplicateHash().
Definition at line 749 of file rsaenh.c.
Referenced by new_key(), and RSAENH_CPDuplicateKey().
Definition at line 1263 of file rsaenh.c.
Referenced by new_key_container().
Definition at line 367 of file rsaenh.c.
Definition at line 706 of file rsaenh.c.
Referenced by RSAENH_CPDeriveKey(), RSAENH_CPGetHashParam(), and tls1_p().
|
inlinestatic |
Definition at line 527 of file rsaenh.c.
Referenced by destroy_hash(), destroy_key(), RSAENH_CPCreateHash(), and tls1_prf().
|
inlinestatic |
Definition at line 550 of file rsaenh.c.
Referenced by copy_hmac_info(), destroy_hash(), and RSAENH_CPSetHashParam().
|
inlinestatic |
Definition at line 446 of file rsaenh.c.
Referenced by init_hash(), new_key(), RSAENH_CPCreateHash(), and RSAENH_CPHashData().
|
inlinestatic |
Definition at line 420 of file rsaenh.c.
Referenced by get_algid_info(), import_key(), import_private_key(), new_key(), release_and_install_key(), RSAENH_CPGenKey(), RSAENH_CPGetProvParam(), RSAENH_CPGetUserKey(), RSAENH_CPSetKeyParam(), and RSAENH_CPSetProvParam().
|
static |
Definition at line 3066 of file rsaenh.c.
Referenced by read_key_value(), and RSAENH_CPImportKey().
|
static |
Definition at line 2988 of file rsaenh.c.
Referenced by import_key().
|
static |
Definition at line 2757 of file rsaenh.c.
Referenced by import_key().
|
static |
Definition at line 2849 of file rsaenh.c.
Referenced by import_key().
|
static |
Definition at line 2912 of file rsaenh.c.
Referenced by import_key().
|
inlinestatic |
Definition at line 630 of file rsaenh.c.
Referenced by RSAENH_CPCreateHash(), RSAENH_CPDeriveKey(), RSAENH_CPSetHashParam(), and tls1_p().
Definition at line 969 of file rsaenh.c.
Referenced by read_key_value(), and store_key_pair().
Definition at line 1050 of file rsaenh.c.
Referenced by read_key_value(), and store_key_permissions().
|
static |
Definition at line 794 of file rsaenh.c.
Referenced by ___w64_mingwthr_add_key_dtor(), add_key_(), import_plaintext_key(), import_private_key(), import_public_key(), import_symmetric_key(), RSAENH_CPDeriveKey(), RSAENH_CPGenKey(), and tls1_prf().
|
static |
Definition at line 1292 of file rsaenh.c.
Referenced by read_key_container(), and RSAENH_CPAcquireContext().
|
static |
Definition at line 1134 of file rsaenh.c.
Referenced by read_key_container(), RSAENH_CPGetProvParam(), and RSAENH_CPSetProvParam().
|
static |
Definition at line 1693 of file rsaenh.c.
Referenced by crypt_export_simple(), and RSAENH_CPEncrypt().
|
static |
Definition at line 1412 of file rsaenh.c.
Referenced by RSAENH_CPAcquireContext().
|
static |
Definition at line 1347 of file rsaenh.c.
Referenced by read_key_container().
|
static |
Definition at line 2717 of file rsaenh.c.
Referenced by import_private_key(), and RSAENH_CPGenKey().
|
static |
Definition at line 1247 of file rsaenh.c.
Referenced by destroy_key_container().
| BOOL WINAPI RSAENH_CPAcquireContext | ( | HCRYPTPROV * | phProv, |
| LPSTR | pszContainer, | ||
| DWORD | dwFlags, | ||
| PVTableProvStruc | pVTable | ||
| ) |
Definition at line 1785 of file rsaenh.c.
| BOOL WINAPI RSAENH_CPCreateHash | ( | HCRYPTPROV | hProv, |
| ALG_ID | Algid, | ||
| HCRYPTKEY | hKey, | ||
| DWORD | dwFlags, | ||
| HCRYPTHASH * | phHash | ||
| ) |
Definition at line 1868 of file rsaenh.c.
Referenced by RSAENH_CPSetHashParam(), and tls1_prf().
| BOOL WINAPI RSAENH_CPDecrypt | ( | HCRYPTPROV | hProv, |
| HCRYPTKEY | hKey, | ||
| HCRYPTHASH | hHash, | ||
| BOOL | Final, | ||
| DWORD | dwFlags, | ||
| BYTE * | pbData, | ||
| DWORD * | pdwDataLen | ||
| ) |
Definition at line 2335 of file rsaenh.c.
| BOOL WINAPI RSAENH_CPDeriveKey | ( | HCRYPTPROV | hProv, |
| ALG_ID | Algid, | ||
| HCRYPTHASH | hBaseData, | ||
| DWORD | dwFlags, | ||
| HCRYPTKEY * | phKey | ||
| ) |
Definition at line 3922 of file rsaenh.c.
| BOOL WINAPI RSAENH_CPDestroyHash | ( | HCRYPTPROV | hProv, |
| HCRYPTHASH | hHash | ||
| ) |
Definition at line 1990 of file rsaenh.c.
Referenced by RSAENH_CPSetHashParam(), and tls1_prf().
| BOOL WINAPI RSAENH_CPDestroyKey | ( | HCRYPTPROV | hProv, |
| HCRYPTKEY | hKey | ||
| ) |
Definition at line 2023 of file rsaenh.c.
Referenced by release_and_install_key(), and RSAENH_CPSignHash().
| BOOL WINAPI RSAENH_CPDuplicateHash | ( | HCRYPTPROV | hUID, |
| HCRYPTHASH | hHash, | ||
| DWORD * | pdwReserved, | ||
| DWORD | dwFlags, | ||
| HCRYPTHASH * | phHash | ||
| ) |
Definition at line 2058 of file rsaenh.c.
| BOOL WINAPI RSAENH_CPDuplicateKey | ( | HCRYPTPROV | hUID, |
| HCRYPTKEY | hKey, | ||
| DWORD * | pdwReserved, | ||
| DWORD | dwFlags, | ||
| HCRYPTKEY * | phKey | ||
| ) |
Definition at line 2114 of file rsaenh.c.
| BOOL WINAPI RSAENH_CPEncrypt | ( | HCRYPTPROV | hProv, |
| HCRYPTKEY | hKey, | ||
| HCRYPTHASH | hHash, | ||
| BOOL | Final, | ||
| DWORD | dwFlags, | ||
| BYTE * | pbData, | ||
| DWORD * | pdwDataLen, | ||
| DWORD | dwBufLen | ||
| ) |
Definition at line 2183 of file rsaenh.c.
Referenced by finalize_hash(), and update_hash().
| BOOL WINAPI RSAENH_CPExportKey | ( | HCRYPTPROV | hProv, |
| HCRYPTKEY | hKey, | ||
| HCRYPTKEY | hPubKey, | ||
| DWORD | dwBlobType, | ||
| DWORD | dwFlags, | ||
| BYTE * | pbData, | ||
| DWORD * | pdwDataLen | ||
| ) |
Definition at line 2682 of file rsaenh.c.
Definition at line 3163 of file rsaenh.c.
| BOOL WINAPI RSAENH_CPGenRandom | ( | HCRYPTPROV | hProv, |
| DWORD | dwLen, | ||
| BYTE * | pbBuffer | ||
| ) |
| BOOL WINAPI RSAENH_CPGetHashParam | ( | HCRYPTPROV | hProv, |
| HCRYPTHASH | hHash, | ||
| DWORD | dwParam, | ||
| BYTE * | pbData, | ||
| DWORD * | pdwDataLen, | ||
| DWORD | dwFlags | ||
| ) |
Definition at line 3291 of file rsaenh.c.
Referenced by RSAENH_CPDeriveKey(), RSAENH_CPSetHashParam(), RSAENH_CPSignHash(), and RSAENH_CPVerifySignature().
| BOOL WINAPI RSAENH_CPGetKeyParam | ( | HCRYPTPROV | hProv, |
| HCRYPTKEY | hKey, | ||
| DWORD | dwParam, | ||
| BYTE * | pbData, | ||
| DWORD * | pdwDataLen, | ||
| DWORD | dwFlags | ||
| ) |
Definition at line 3601 of file rsaenh.c.
Referenced by init_hash().
| BOOL WINAPI RSAENH_CPGetProvParam | ( | HCRYPTPROV | hProv, |
| DWORD | dwParam, | ||
| BYTE * | pbData, | ||
| DWORD * | pdwDataLen, | ||
| DWORD | dwFlags | ||
| ) |
Definition at line 3708 of file rsaenh.c.
| BOOL WINAPI RSAENH_CPGetUserKey | ( | HCRYPTPROV | hProv, |
| DWORD | dwKeySpec, | ||
| HCRYPTKEY * | phUserKey | ||
| ) |
Definition at line 4106 of file rsaenh.c.
Referenced by RSAENH_CPSignHash().
| BOOL WINAPI RSAENH_CPHashData | ( | HCRYPTPROV | hProv, |
| HCRYPTHASH | hHash, | ||
| const BYTE * | pbData, | ||
| DWORD | dwDataLen, | ||
| DWORD | dwFlags | ||
| ) |
Definition at line 4164 of file rsaenh.c.
Referenced by RSAENH_CPDecrypt(), RSAENH_CPEncrypt(), RSAENH_CPHashSessionKey(), RSAENH_CPSetHashParam(), RSAENH_CPSignHash(), and RSAENH_CPVerifySignature().
| BOOL WINAPI RSAENH_CPHashSessionKey | ( | HCRYPTPROV | hProv, |
| HCRYPTHASH | hHash, | ||
| HCRYPTKEY | hKey, | ||
| DWORD | dwFlags | ||
| ) |
| BOOL WINAPI RSAENH_CPReleaseContext | ( | HCRYPTPROV | hProv, |
| DWORD | dwFlags | ||
| ) |
| BOOL WINAPI RSAENH_CPSetHashParam | ( | HCRYPTPROV | hProv, |
| HCRYPTHASH | hHash, | ||
| DWORD | dwParam, | ||
| BYTE * | pbData, | ||
| DWORD | dwFlags | ||
| ) |
Definition at line 4302 of file rsaenh.c.
Referenced by tls1_prf().
| BOOL WINAPI RSAENH_CPSetKeyParam | ( | HCRYPTPROV | hProv, |
| HCRYPTKEY | hKey, | ||
| DWORD | dwParam, | ||
| BYTE * | pbData, | ||
| DWORD | dwFlags | ||
| ) |
Definition at line 3384 of file rsaenh.c.
Definition at line 4395 of file rsaenh.c.
| BOOL WINAPI RSAENH_CPSignHash | ( | HCRYPTPROV | hProv, |
| HCRYPTHASH | hHash, | ||
| DWORD | dwKeySpec, | ||
| LPCWSTR | sDescription, | ||
| DWORD | dwFlags, | ||
| BYTE * | pbSignature, | ||
| DWORD * | pdwSigLen | ||
| ) |
Definition at line 4464 of file rsaenh.c.
| BOOL WINAPI RSAENH_CPVerifySignature | ( | HCRYPTPROV | hProv, |
| HCRYPTHASH | hHash, | ||
| const BYTE * | pbSignature, | ||
| DWORD | dwSigLen, | ||
| HCRYPTKEY | hPubKey, | ||
| LPCWSTR | sDescription, | ||
| DWORD | dwFlags | ||
| ) |
Definition at line 4549 of file rsaenh.c.
Definition at line 768 of file rsaenh.c.
|
static |
Definition at line 1192 of file rsaenh.c.
Referenced by destroy_key_container(), and release_and_install_key().
|
static |
Definition at line 1225 of file rsaenh.c.
Referenced by destroy_key_container(), and release_and_install_key().
|
static |
Definition at line 999 of file rsaenh.c.
Referenced by store_key_container_keys().
Definition at line 1079 of file rsaenh.c.
Referenced by store_key_container_permissions().
|
static |
Definition at line 1565 of file rsaenh.c.
Referenced by tls1_prf().
|
static |
Definition at line 1624 of file rsaenh.c.
Referenced by RSAENH_CPCreateHash(), and RSAENH_CPGetHashParam().
|
static |
Definition at line 1734 of file rsaenh.c.
Referenced by import_symmetric_key(), and RSAENH_CPDecrypt().
|
inlinestatic |
Definition at line 671 of file rsaenh.c.
Referenced by RSAENH_CPDeriveKey(), RSAENH_CPHashData(), and tls1_p().
| WINE_DEFAULT_DEBUG_CHANNEL | ( | crypt | ) |
|
static |
Definition at line 170 of file rsaenh.c.
Referenced by get_algid_info(), RSAENH_CPGetProvParam(), and RSAENH_CPSetKeyParam().
|
static |
|
static |
Definition at line 50 of file rsaenh.c.
Referenced by DllMain(), DllRegisterServer(), and DllUnregisterServer().