ReactOS 0.4.16-dev-122-g325d74c
|
#include <wincrypt.h>
Go to the source code of this file.
Classes | |
struct | tagOBJECTHDR |
struct | handle_table_entry |
struct | handle_table |
Macros | |
#define | TABLE_SIZE_INCREMENT 32 |
Typedefs | |
typedef struct tagOBJECTHDR | OBJECTHDR |
typedef void(* | DESTRUCTOR) (OBJECTHDR *object) |
Functions | |
void | init_handle_table (struct handle_table *lpTable) DECLSPEC_HIDDEN |
void | destroy_handle_table (struct handle_table *lpTable) DECLSPEC_HIDDEN |
BOOL | release_handle (struct handle_table *lpTable, HCRYPTKEY handle, DWORD dwType) DECLSPEC_HIDDEN |
BOOL | copy_handle (struct handle_table *lpTable, HCRYPTKEY handle, DWORD dwType, HCRYPTKEY *copy) DECLSPEC_HIDDEN |
BOOL | lookup_handle (struct handle_table *lpTable, HCRYPTKEY handle, DWORD dwType, OBJECTHDR **lplpObject) DECLSPEC_HIDDEN |
BOOL | is_valid_handle (struct handle_table *lpTable, HCRYPTKEY handle, DWORD dwType) DECLSPEC_HIDDEN |
HCRYPTKEY | new_object (struct handle_table *lpTable, size_t cbSize, DWORD dwType, DESTRUCTOR destructor, OBJECTHDR **ppObject) DECLSPEC_HIDDEN |
typedef struct tagOBJECTHDR OBJECTHDR |
BOOL copy_handle | ( | struct handle_table * | lpTable, |
HCRYPTKEY | handle, | ||
DWORD | dwType, | ||
HCRYPTKEY * | copy | ||
) |
Definition at line 310 of file handle.c.
Referenced by release_and_install_key(), and RSAENH_CPGetUserKey().
void destroy_handle_table | ( | struct handle_table * | lpTable | ) |
void init_handle_table | ( | struct handle_table * | lpTable | ) |
Definition at line 53 of file handle.c.
Referenced by DllMain().
BOOL is_valid_handle | ( | struct handle_table * | lpTable, |
HCRYPTKEY | handle, | ||
DWORD | dwType | ||
) |
Definition at line 96 of file handle.c.
Referenced by crypt_export_key(), lookup_handle(), release_handle(), RSAENH_CPDecrypt(), RSAENH_CPDeriveKey(), RSAENH_CPDestroyHash(), RSAENH_CPDestroyKey(), RSAENH_CPDuplicateHash(), RSAENH_CPDuplicateKey(), RSAENH_CPEncrypt(), RSAENH_CPExportKey(), RSAENH_CPGenRandom(), RSAENH_CPGetHashParam(), RSAENH_CPGetKeyParam(), RSAENH_CPSetHashParam(), RSAENH_CPSetKeyParam(), and RSAENH_CPVerifySignature().
BOOL lookup_handle | ( | struct handle_table * | lpTable, |
HCRYPTKEY | handle, | ||
DWORD | dwType, | ||
OBJECTHDR ** | lplpObject | ||
) |
Definition at line 275 of file handle.c.
Referenced by copy_handle(), crypt_export_key(), get_key_container(), import_symmetric_key(), read_key_container(), read_key_value(), RSAENH_CPCreateHash(), RSAENH_CPDecrypt(), RSAENH_CPDeriveKey(), RSAENH_CPDuplicateHash(), RSAENH_CPDuplicateKey(), RSAENH_CPEncrypt(), RSAENH_CPExportKey(), RSAENH_CPGetHashParam(), RSAENH_CPGetKeyParam(), RSAENH_CPHashData(), RSAENH_CPHashSessionKey(), RSAENH_CPSetHashParam(), RSAENH_CPSetKeyParam(), RSAENH_CPSignHash(), RSAENH_CPVerifySignature(), store_key_pair(), store_key_permissions(), tls1_p(), and tls1_prf().
HCRYPTKEY new_object | ( | struct handle_table * | lpTable, |
size_t | cbSize, | ||
DWORD | dwType, | ||
DESTRUCTOR | destructor, | ||
OBJECTHDR ** | ppObject | ||
) |
Definition at line 353 of file handle.c.
Referenced by new_key(), new_key_container(), RSAENH_CPCreateHash(), RSAENH_CPDuplicateHash(), RSAENH_CPDuplicateKey(), and StorageImpl_Refresh().
BOOL release_handle | ( | struct handle_table * | lpTable, |
HCRYPTKEY | handle, | ||
DWORD | dwType | ||
) |
Definition at line 230 of file handle.c.
Referenced by import_plaintext_key(), read_key_container(), release_key_container_keys(), RSAENH_CPAcquireContext(), RSAENH_CPDestroyHash(), RSAENH_CPDestroyKey(), RSAENH_CPReleaseContext(), and tls1_prf().