ReactOS 0.4.16-dev-1007-g2e85425
|
#include <string.h>
#include <stdio.h>
#include "wine/test.h"
#include "windef.h"
#include "winbase.h"
#include "winerror.h"
#include "wincrypt.h"
#include "winreg.h"
Go to the source code of this file.
Classes | |
struct | _ctdatatype |
Macros | |
#define | ENHANCED_PROV (iProv == 0) |
#define | BASE_PROV (iProv == 1) |
#define | STRONG_PROV (iProv == 2) |
Typedefs | |
typedef struct _ctdatatype | cryptdata |
Variables | |
static HCRYPTPROV | hProv |
static const char * | szProviders [] = {MS_ENHANCED_PROV_A, MS_DEF_PROV_A, MS_STRONG_PROV_A} |
static int | iProv |
static const char | szContainer [] = "winetest" |
static const char * | szProvider |
static const cryptdata | cTestData [4] |
static int | win2k |
static int | nt4 |
static DWORD | DWORD |
static BYTE | abPlainPrivateKey [596] |
static BYTE | signBlob [] |
typedef struct _ctdatatype cryptdata |
Definition at line 240 of file rsaenh.c.
Referenced by START_TEST().
Definition at line 174 of file rsaenh.c.
Referenced by START_TEST(), and test_key_permissions().
Definition at line 297 of file rsaenh.c.
Referenced by test_3des(), test_3des112(), test_aes(), test_block_cipher_modes(), test_des(), test_hmac(), test_import_private(), and test_mac().
Definition at line 191 of file rsaenh.c.
Referenced by START_TEST().
Definition at line 129 of file rsaenh.c.
Referenced by START_TEST(), and test_key_permissions().
Definition at line 102 of file rsaenh.c.
Referenced by test_3des(), test_3des112(), test_aes(), test_des(), and test_hashes().
START_TEST | ( | rsaenh | ) |
Definition at line 3934 of file rsaenh.c.
Definition at line 1035 of file rsaenh.c.
Referenced by START_TEST().
Definition at line 821 of file rsaenh.c.
Referenced by START_TEST().
Definition at line 1120 of file rsaenh.c.
Referenced by START_TEST().
Definition at line 709 of file rsaenh.c.
Referenced by START_TEST().
Definition at line 910 of file rsaenh.c.
Referenced by START_TEST().
Definition at line 3099 of file rsaenh.c.
Referenced by START_TEST().
Definition at line 275 of file rsaenh.c.
Referenced by START_TEST().
Definition at line 404 of file rsaenh.c.
Referenced by START_TEST().
Definition at line 1805 of file rsaenh.c.
Referenced by START_TEST().
Definition at line 2428 of file rsaenh.c.
Referenced by START_TEST().
Definition at line 2713 of file rsaenh.c.
Referenced by START_TEST().
Definition at line 1899 of file rsaenh.c.
Referenced by START_TEST().
Definition at line 3539 of file rsaenh.c.
Referenced by START_TEST().
Definition at line 3478 of file rsaenh.c.
Referenced by START_TEST().
Definition at line 3403 of file rsaenh.c.
Referenced by START_TEST().
Definition at line 1849 of file rsaenh.c.
Referenced by jinit_memory_mgr(), and START_TEST().
Definition at line 3150 of file rsaenh.c.
Referenced by START_TEST().
Definition at line 250 of file rsaenh.c.
Referenced by START_TEST(), and test_getDefaultCryptProv().
Definition at line 1357 of file rsaenh.c.
Referenced by START_TEST().
Definition at line 1651 of file rsaenh.c.
Referenced by START_TEST().
Definition at line 2279 of file rsaenh.c.
Referenced by START_TEST().
Definition at line 3037 of file rsaenh.c.
Referenced by START_TEST().
Definition at line 2822 of file rsaenh.c.
Referenced by START_TEST().
Definition at line 1255 of file rsaenh.c.
Referenced by START_TEST().
Definition at line 1992 of file rsaenh.c.
Referenced by START_TEST().
|
static |
Definition at line 113 of file rsaenh.c.
Referenced by test_import_export().
Definition at line 74 of file rsaenh.c.
Referenced by test_key_derivation(), and test_null_provider().
|
static |
Definition at line 326 of file rsaenh.c.
Referenced by test_hashes(), test_import_export(), test_import_private(), test_key_initialization(), test_null_provider(), and test_schannel_provider().
Definition at line 50 of file rsaenh.c.
Referenced by test_3des(), test_3des112(), test_aes(), and test_des().
|
static |
Definition at line 32 of file rsaenh.c.
Referenced by CertContext_SetKeyProvInfo(), CertCreateSelfSignCertificate(), CertOpenSystemStoreA(), CertOpenSystemStoreW(), clean_up_aes_environment(), clean_up_base_environment(), clean_up_environment(), CRYPT_CreateKeyProv(), CRYPT_CreateSignedCert(), CryptCATOpen(), CryptContextAddRef(), CryptCreateHash(), CryptDeriveKey(), CryptGenKey(), CryptGenRandom(), CryptGetProvParam(), CryptGetUserKey(), CryptImportKey(), CryptProtectData(), CryptReleaseContext(), CryptSetProvParam(), CryptUnprotectData(), derive_key(), export_is_key_exportable(), export_private_key_dlg_proc(), fill_protect_data(), get_algid_info(), get_key_container(), hash_file(), import_key(), import_plaintext_key(), import_private_key(), import_public_key(), import_symmetric_key(), init_aes_environment(), init_base_environment(), init_environment(), load_encryption_key(), new_key(), PvkFreeCryptProv(), release_and_install_key(), RSAENH_CPCreateHash(), RSAENH_CPDecrypt(), RSAENH_CPDeriveKey(), RSAENH_CPDestroyHash(), RSAENH_CPDestroyKey(), RSAENH_CPEncrypt(), RSAENH_CPExportKey(), RSAENH_CPGenKey(), RSAENH_CPGenRandom(), RSAENH_CPGetHashParam(), RSAENH_CPGetKeyParam(), RSAENH_CPGetProvParam(), RSAENH_CPGetUserKey(), RSAENH_CPHashData(), RSAENH_CPHashSessionKey(), RSAENH_CPImportKey(), RSAENH_CPReleaseContext(), RSAENH_CPSetHashParam(), RSAENH_CPSetKeyParam(), RSAENH_CPSetProvParam(), RSAENH_CPSignHash(), RSAENH_CPVerifySignature(), test_acquire_context(), test_enum_container(), test_gen_random(), test_hashes(), test_hmac(), test_import_export(), test_import_hmac(), test_import_private(), test_incorrect_api_usage(), test_key_derivation(), test_key_permissions(), test_mac(), test_prov(), test_rc2(), test_rc4(), test_rsa_encrypt(), test_schannel_provider(), test_sha2(), test_verify_signature(), and tls1_prf().
|
static |
Definition at line 34 of file rsaenh.c.
Referenced by START_TEST().
|
static |
Definition at line 65 of file rsaenh.c.
Referenced by test_prov(), test_rc2(), and test_rc4().
|
static |
Definition at line 3128 of file rsaenh.c.
Referenced by test_null_provider().
Definition at line 35 of file rsaenh.c.
Referenced by CertContext_SetKeyProvInfo(), clean_up_aes_environment(), clean_up_base_environment(), init_aes_environment(), init_base_environment(), test_key_initialization(), test_null_provider(), and test_rsa_round_trip().
Definition at line 36 of file rsaenh.c.
Referenced by CertContext_SetKeyProvInfo(), clean_up_base_environment(), init_base_environment(), test_hashes(), and test_key_initialization().
|
static |
Definition at line 33 of file rsaenh.c.
Referenced by START_TEST().
|
static |
Definition at line 65 of file rsaenh.c.
Referenced by test_key_derivation(), and uniquecontainer().