|
ReactOS 0.4.17-dev-1196-gb6224c3
|
#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 BYTE | abPlainPrivateKey [596] |
| static BYTE | signBlob [] |
| static const BYTE | PRIVATE_EXCH_blob [308] |
| static const BYTE | PUBLIC_EXCH_blob [84] |
| static const BYTE | rsa_blob [] |
| typedef struct _ctdatatype cryptdata |
Definition at line 221 of file rsaenh.c.
Referenced by START_TEST().
Definition at line 158 of file rsaenh.c.
Referenced by START_TEST(), and test_key_permissions().
Definition at line 264 of file rsaenh.c.
Referenced by test_3des(), test_3des112(), test_aes(), test_aes_duplicate_key(), test_block_cipher_modes(), test_des(), test_hmac(), test_hmac_info(), test_import_private(), and test_mac().
Definition at line 175 of file rsaenh.c.
Referenced by START_TEST().
Definition at line 119 of file rsaenh.c.
Referenced by START_TEST(), and test_key_permissions().
Definition at line 94 of file rsaenh.c.
Referenced by test_3des(), test_3des112(), test_aes(), test_des(), and test_hashes().
| START_TEST | ( | rsaenh | ) |
Definition at line 4588 of file rsaenh.c.
Definition at line 962 of file rsaenh.c.
Referenced by START_TEST().
Definition at line 765 of file rsaenh.c.
Referenced by START_TEST().
Definition at line 1090 of file rsaenh.c.
Definition at line 1047 of file rsaenh.c.
Referenced by START_TEST().
Definition at line 649 of file rsaenh.c.
Referenced by START_TEST().
Definition at line 850 of file rsaenh.c.
Referenced by START_TEST().
Definition at line 3198 of file rsaenh.c.
Referenced by START_TEST().
Definition at line 247 of file rsaenh.c.
Referenced by START_TEST().
Definition at line 364 of file rsaenh.c.
Referenced by START_TEST().
Definition at line 1752 of file rsaenh.c.
Referenced by START_TEST().
Definition at line 1800 of file rsaenh.c.
Referenced by START_TEST().
Definition at line 2581 of file rsaenh.c.
Referenced by START_TEST().
Definition at line 2836 of file rsaenh.c.
Referenced by START_TEST().
Definition at line 2090 of file rsaenh.c.
Referenced by START_TEST().
Definition at line 3607 of file rsaenh.c.
Referenced by START_TEST().
Definition at line 3546 of file rsaenh.c.
Referenced by START_TEST().
Definition at line 3484 of file rsaenh.c.
Referenced by START_TEST().
Definition at line 1992 of file rsaenh.c.
Referenced by jinit_memory_mgr(), and START_TEST().
Definition at line 3248 of file rsaenh.c.
Referenced by START_TEST().
Definition at line 4541 of file rsaenh.c.
Referenced by START_TEST().
Definition at line 231 of file rsaenh.c.
Referenced by START_TEST(), and test_getDefaultCryptProv().
Definition at line 4458 of file rsaenh.c.
Referenced by START_TEST().
Definition at line 1326 of file rsaenh.c.
Referenced by START_TEST().
Definition at line 4003 of file rsaenh.c.
Referenced by START_TEST().
Definition at line 1606 of file rsaenh.c.
Referenced by START_TEST().
Definition at line 4247 of file rsaenh.c.
Referenced by START_TEST().
Definition at line 4356 of file rsaenh.c.
Referenced by START_TEST().
Definition at line 2444 of file rsaenh.c.
Referenced by START_TEST().
Definition at line 3139 of file rsaenh.c.
Referenced by START_TEST().
Definition at line 2945 of file rsaenh.c.
Referenced by START_TEST().
Definition at line 1224 of file rsaenh.c.
Referenced by START_TEST().
Definition at line 2173 of file rsaenh.c.
Referenced by START_TEST().
Definition at line 103 of file rsaenh.c.
Referenced by test_import_export().
Definition at line 73 of file rsaenh.c.
Referenced by test_key_derivation(), and test_null_provider().
|
static |
Definition at line 286 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 51 of file rsaenh.c.
Referenced by test_3des(), test_3des112(), test_aes(), and test_des().
|
static |
Definition at line 33 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(), pad_data(), pad_data_oaep(), pkcs1_mgf1(), 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_hmac_info(), 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_rc2_import(), test_rc4(), test_rsa_encrypt(), test_schannel_provider(), test_sha2(), test_verify_signature(), tls1_prf(), unpad_data(), and unpad_data_oaep().
|
static |
Definition at line 35 of file rsaenh.c.
Referenced by START_TEST(), and test_rsa_encrypt().
Definition at line 4218 of file rsaenh.c.
Referenced by test_RC4_salt(), and test_RC4_session_key().
Definition at line 4239 of file rsaenh.c.
Referenced by test_RC4_salt(), and test_RC4_session_key().
Definition at line 4434 of file rsaenh.c.
Referenced by CDecodeMsg_FinalizeSignedContent(), and test_pubexp().
|
static |
Definition at line 3226 of file rsaenh.c.
Referenced by test_null_provider().
Definition at line 36 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 37 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 34 of file rsaenh.c.
Referenced by START_TEST(), and test_rsa_encrypt().