|
ReactOS 0.4.17-dev-243-g1369312
|
#include <limits.h>#include <time.h>#include <stdlib.h>#include <stdio.h>#include <sys/types.h>#include "ntstatus.h"#include "crypt.h"#include "winnls.h"#include "winreg.h"#include "rpc.h"#include "wine/debug.h"#include "wine/exception.h"#include "winternl.h"
Go to the source code of this file.
Classes | |
| struct | tagMD4_CTX |
Macros | |
| #define | WIN32_NO_STATUS |
| #define | CRYPT_Alloc(size) (LocalAlloc(LMEM_ZEROINIT, size)) |
| #define | CRYPT_Free(buffer) (LocalFree(buffer)) |
| #define | CRYPT_GetProvFunc(name) if ( !(provider->pFuncs->p##name = (void*)GetProcAddress(provider->hModule, #name)) ) goto error |
| #define | CRYPT_GetProvFuncOpt(name) provider->pFuncs->p##name = (void*)GetProcAddress(provider->hModule, #name) |
| #define | MAX_CPUS 256 |
Typedefs | |
| typedef struct tagMD4_CTX | MD4_CTX |
Variables | |
| static HWND | crypt_hWindow |
| static CRITICAL_SECTION | random_cs = { &random_debug, -1, 0, 0, 0, 0 } |
| static CRITICAL_SECTION_DEBUG | random_debug |
| static char | random_buf [sizeof(SYSTEM_INTERRUPT_INFORMATION) *MAX_CPUS] |
| static ULONG | random_len |
| static ULONG | random_pos |
| #define CRYPT_Alloc | ( | size | ) | (LocalAlloc(LMEM_ZEROINIT, size)) |
| typedef struct tagMD4_CTX MD4_CTX |
Definition at line 177 of file crypt.c.
Referenced by CryptAcquireContextA(), CryptSetProviderExA(), CryptSignHashA(), and CryptVerifySignatureA().
Definition at line 296 of file crypt.c.
Referenced by CryptAcquireContextW().
Definition at line 101 of file crypt.c.
Referenced by CryptAcquireContextW(), and CryptSetProviderExW().
Definition at line 116 of file crypt.c.
Referenced by CryptAcquireContextW(), CryptGetDefaultProviderW(), and CryptSetProviderExW().
|
static |
Definition at line 223 of file crypt.c.
Referenced by CryptAcquireContextW().
Definition at line 144 of file crypt.c.
Referenced by CryptAcquireContextW(), CryptEnumProvidersA(), CryptEnumProviderTypesA(), and CryptGetDefaultProviderA().
Definition at line 201 of file crypt.c.
Referenced by CRYPT_LoadProvider().
| BOOL WINAPI CryptAcquireContextA | ( | HCRYPTPROV * | phProv, |
| LPCSTR | pszContainer, | ||
| LPCSTR | pszProvider, | ||
| DWORD | dwProvType, | ||
| DWORD | dwFlags | ||
| ) |
Definition at line 571 of file crypt.c.
Referenced by clean_up_aes_environment(), clean_up_base_environment(), clean_up_environment(), CRYPT_CreateKeyProv(), init_aes_environment(), init_base_environment(), init_environment(), test_acquire_context(), test_container_sd(), test_CryptReleaseContext(), test_decode_msg_get_param(), test_encrypt_message(), test_enveloped_msg_open(), test_hashes(), test_incorrect_api_usage(), test_key_initialization(), test_machine_guid(), test_null_provider(), test_rc2_keylen(), test_rsa_round_trip(), test_schannel_provider(), test_sign_message(), test_signed_msg_encoding(), test_signed_msg_get_param(), test_signed_msg_open(), test_signed_msg_update(), test_verify_sig(), test_VerifySignature(), testAcquireCertPrivateKey(), testCertSigs(), testCreateSelfSignCert(), and testPortPublicKeyInfo().
| BOOL WINAPI CryptAcquireContextW | ( | HCRYPTPROV * | phProv, |
| LPCWSTR | pszContainer, | ||
| LPCWSTR | pszProvider, | ||
| DWORD | dwProvType, | ||
| DWORD | dwFlags | ||
| ) |
Definition at line 362 of file crypt.c.
Referenced by catadmin_calc_hash_from_filehandle(), CertCreateSelfSignCertificate(), create_websocket_accept(), CRYPT_AcquirePrivateKeyFromProvInfo(), CRYPT_GetDefaultProvider(), CryptAcquireContextA(), CryptCATAdminEnumCatalogFromHash(), CryptProtectData(), CryptUnprotectData(), DllRegisterServer(), export_acquire_private_key(), find_key_prov_info_in_provider(), hash_file(), I_CryptGetDefaultCryptProv(), key_prov_info_matches_cert(), save_pfx(), SOFTPUB_VerifyImageHash(), START_TEST(), testAcquireSecurityContext(), and testCreateSelfSignCert().
| BOOL WINAPI CryptContextAddRef | ( | HCRYPTPROV | hProv, |
| DWORD * | pdwReserved, | ||
| DWORD | dwFlags | ||
| ) |
Definition at line 615 of file crypt.c.
Referenced by I_CryptGetDefaultCryptProv(), test_CryptReleaseContext(), and test_incorrect_api_usage().
| BOOL WINAPI CryptCreateHash | ( | HCRYPTPROV | hProv, |
| ALG_ID | Algid, | ||
| HCRYPTKEY | hKey, | ||
| DWORD | dwFlags, | ||
| HCRYPTHASH * | phHash | ||
| ) |
Definition at line 715 of file crypt.c.
Referenced by catadmin_calc_hash_from_filehandle(), CDecodeMsg_FinalizeHashedContent(), CHashEncodeMsg_Open(), create_silly_rename(), create_websocket_accept(), CRYPT_VerifySignature(), CryptHashCertificate(), CryptHashPublicKeyInfo(), CryptHashToBeSigned(), CryptProtectData(), CryptSignCertificate(), CryptUnprotectData(), CSignedMsgData_ConstructSignerHandles(), derive_key(), hash_dib(), hash_file(), load_encryption_key(), nfs41_client_owner(), rdssl_hash_clear(), rdssl_hash_info_create(), rdssl_hmac_md5(), SOFTPUB_VerifyImageHash(), test_hashes(), test_hmac(), test_import_hmac(), test_incorrect_api_usage(), test_key_derivation(), test_mac(), test_rc2(), test_rc4(), test_schannel_provider(), test_sha2(), test_verify_sig(), test_verify_signature(), test_VerifySignature(), and verifySig().
| BOOL WINAPI CryptDecrypt | ( | HCRYPTKEY | hKey, |
| HCRYPTHASH | hHash, | ||
| BOOL | Final, | ||
| DWORD | dwFlags, | ||
| BYTE * | pbData, | ||
| DWORD * | pdwDataLen | ||
| ) |
Definition at line 780 of file crypt.c.
Referenced by CDecodeEnvelopedMsg_CrtlDecrypt(), CryptUnprotectData(), test_3des(), test_3des112(), test_aes(), test_block_cipher_modes(), test_des(), test_import_private(), test_incorrect_api_usage(), test_rc2(), test_rc4(), test_rsa_encrypt(), and test_rsa_round_trip().
| BOOL WINAPI CryptDeriveKey | ( | HCRYPTPROV | hProv, |
| ALG_ID | Algid, | ||
| HCRYPTHASH | hBaseData, | ||
| DWORD | dwFlags, | ||
| HCRYPTKEY * | phKey | ||
| ) |
Definition at line 822 of file crypt.c.
Referenced by derive_key(), load_encryption_key(), test_incorrect_api_usage(), test_key_derivation(), test_rc2(), test_rc4(), and test_schannel_provider().
| BOOL WINAPI CryptDestroyHash | ( | HCRYPTHASH | hHash | ) |
Definition at line 875 of file crypt.c.
Referenced by catadmin_calc_hash_from_filehandle(), CDecodeMsg_Close(), CHashEncodeMsg_Close(), create_silly_rename(), create_websocket_accept(), CRYPT_VerifySignature(), CryptHashCertificate(), CryptHashPublicKeyInfo(), CryptHashToBeSigned(), CryptProtectData(), CryptSignCertificate(), CryptUnprotectData(), CSignedMsgData_CloseHandles(), derive_key(), hash_dib(), hash_file(), load_encryption_key(), nfs41_client_owner(), rdssl_hash_clear(), rdssl_hash_info_delete(), rdssl_hmac_md5(), SOFTPUB_VerifyImageHash(), test_hashes(), test_hmac(), test_import_hmac(), test_incorrect_api_usage(), test_key_derivation(), test_mac(), test_rc2(), test_rc4(), test_schannel_provider(), test_sha2(), test_verify_sig(), test_verify_signature(), test_VerifySignature(), and verifySig().
Definition at line 911 of file crypt.c.
Referenced by CDecodeEnvelopedMsg_CrtlDecrypt(), CDecodeSignedMsg_VerifySignatureWithKey(), CEnvelopedEncodeMsg_Close(), CertCreateSelfSignCertificate(), CertGetPublicKeyLength(), CRYPT_CreateKeyProv(), CRYPT_ExportKeyTrans(), CRYPT_ExportPublicKeyInfoEx(), CRYPT_ImportKeyTrans(), CRYPT_VerifySignature(), CryptProtectData(), CryptUnprotectData(), export_is_key_exportable(), init_aes_environment(), init_base_environment(), rdssl_cert_to_rkey(), rdssl_rc4_info_delete(), rdssl_rc4_set_key(), test_3des(), test_3des112(), test_aes(), test_block_cipher_modes(), test_decode_msg_get_param(), test_des(), test_hashes(), test_hmac(), test_import_export(), test_import_hmac(), test_import_private(), test_incorrect_api_usage(), test_key_derivation(), test_key_initialization(), test_key_permissions(), test_mac(), test_null_provider(), test_rc2(), test_rc2_keylen(), test_rc4(), test_rsa_encrypt(), test_rsa_round_trip(), test_schannel_provider(), test_sign_message(), test_signed_msg_encoding(), test_signed_msg_update(), test_verify_sig(), test_verify_signature(), test_VerifySignature(), testAcquireCertPrivateKey(), testAcquireSecurityContext(), testCreateSelfSignCert(), testExportPublicKey(), testImportPublicKey(), and testSignCert().
| BOOL WINAPI CryptDuplicateHash | ( | HCRYPTHASH | hHash, |
| DWORD * | pdwReserved, | ||
| DWORD | dwFlags, | ||
| HCRYPTHASH * | phHash | ||
| ) |
Definition at line 950 of file crypt.c.
| BOOL WINAPI CryptDuplicateKey | ( | HCRYPTKEY | hKey, |
| DWORD * | pdwReserved, | ||
| DWORD | dwFlags, | ||
| HCRYPTKEY * | phKey | ||
| ) |
Definition at line 1007 of file crypt.c.
Referenced by test_incorrect_api_usage().
| BOOL WINAPI CryptEncrypt | ( | HCRYPTKEY | hKey, |
| HCRYPTHASH | hHash, | ||
| BOOL | Final, | ||
| DWORD | dwFlags, | ||
| BYTE * | pbData, | ||
| DWORD * | pdwDataLen, | ||
| DWORD | dwBufLen | ||
| ) |
Definition at line 1071 of file crypt.c.
Referenced by CEnvelopedEncodeMsg_Update(), CryptProtectData(), rdssl_rc4_crypt(), test_3des(), test_3des112(), test_aes(), test_block_cipher_modes(), test_des(), test_incorrect_api_usage(), test_key_derivation(), test_mac(), test_rc2(), test_rc4(), test_rsa_encrypt(), test_rsa_round_trip(), and test_schannel_provider().
| BOOL WINAPI CryptEnumProvidersA | ( | DWORD | dwIndex, |
| DWORD * | pdwReserved, | ||
| DWORD | dwFlags, | ||
| DWORD * | pdwProvType, | ||
| LPSTR | pszProvName, | ||
| DWORD * | pcbProvName | ||
| ) |
Definition at line 1203 of file crypt.c.
| BOOL WINAPI CryptEnumProvidersW | ( | DWORD | dwIndex, |
| DWORD * | pdwReserved, | ||
| DWORD | dwFlags, | ||
| DWORD * | pdwProvType, | ||
| LPWSTR | pszProvName, | ||
| DWORD * | pcbProvName | ||
| ) |
Definition at line 1119 of file crypt.c.
Referenced by CryptEnumProvidersA(), find_matching_provider(), and I_CryptGetDefaultCryptProv().
| BOOL WINAPI CryptEnumProviderTypesA | ( | DWORD | dwIndex, |
| DWORD * | pdwReserved, | ||
| DWORD | dwFlags, | ||
| DWORD * | pdwProvType, | ||
| LPSTR | pszTypeName, | ||
| DWORD * | pcbTypeName | ||
| ) |
Definition at line 1329 of file crypt.c.
| BOOL WINAPI CryptEnumProviderTypesW | ( | DWORD | dwIndex, |
| DWORD * | pdwReserved, | ||
| DWORD | dwFlags, | ||
| DWORD * | pdwProvType, | ||
| LPWSTR | pszTypeName, | ||
| DWORD * | pcbTypeName | ||
| ) |
Definition at line 1258 of file crypt.c.
Referenced by CryptEnumProviderTypesA().
| BOOL WINAPI CryptExportKey | ( | HCRYPTKEY | hKey, |
| HCRYPTKEY | hExpKey, | ||
| DWORD | dwBlobType, | ||
| DWORD | dwFlags, | ||
| BYTE * | pbData, | ||
| DWORD * | pdwDataLen | ||
| ) |
Definition at line 1383 of file crypt.c.
Referenced by CRYPT_ExportKeyTrans(), CRYPT_ExportPublicKeyInfoEx(), rdssl_cert_to_rkey(), test_import_export(), test_import_private(), test_incorrect_api_usage(), test_key_permissions(), test_rsa_encrypt(), test_rsa_round_trip(), and testAcquireCertPrivateKey().
Definition at line 1423 of file crypt.c.
Referenced by CertCreateSelfSignCertificate(), CRYPT_CreateKeyProv(), CRYPT_GenKey(), init_aes_environment(), init_base_environment(), test_incorrect_api_usage(), test_null_provider(), test_rsa_round_trip(), testCreateSelfSignCert(), testExportPublicKey(), and testSignCert().
| BOOL WINAPI CryptGenRandom | ( | HCRYPTPROV | hProv, |
| DWORD | dwLen, | ||
| BYTE * | pbBuffer | ||
| ) |
Definition at line 684 of file crypt.c.
Referenced by CertCreateSelfSignCertificate(), fill_protect_data(), and test_gen_random().
| BOOL WINAPI CryptGetDefaultProviderA | ( | DWORD | dwProvType, |
| DWORD * | pdwReserved, | ||
| DWORD | dwFlags, | ||
| LPSTR | pszProvName, | ||
| DWORD * | pcbProvName | ||
| ) |
Definition at line 1534 of file crypt.c.
| BOOL WINAPI CryptGetDefaultProviderW | ( | DWORD | dwProvType, |
| DWORD * | pdwReserved, | ||
| DWORD | dwFlags, | ||
| LPWSTR | pszProvName, | ||
| DWORD * | pcbProvName | ||
| ) |
Definition at line 1478 of file crypt.c.
Referenced by CryptGetDefaultProviderA().
| BOOL WINAPI CryptGetHashParam | ( | HCRYPTHASH | hHash, |
| DWORD | dwParam, | ||
| BYTE * | pbData, | ||
| DWORD * | pdwDataLen, | ||
| DWORD | dwFlags | ||
| ) |
Definition at line 1584 of file crypt.c.
Referenced by catadmin_calc_hash_from_filehandle(), CDecodeHashMsg_GetParam(), CDecodeSignedMsg_GetParam(), CHashEncodeMsg_GetParam(), convert_hash_to_blob(), create_silly_rename(), create_websocket_accept(), CRYPT_EncodePKCSDigestedData(), CryptHashCertificate(), CryptHashPublicKeyInfo(), CryptHashToBeSigned(), CryptSignCertificate(), CSignedEncodeMsg_GetParam(), CSignedMsgData_AppendMessageDigestAttribute(), derive_key(), hash_dib(), hash_file(), nfs41_client_owner(), rdssl_hash_complete(), rdssl_hmac_md5(), SOFTPUB_VerifyImageHash(), test_hashes(), test_hmac(), test_import_hmac(), test_incorrect_api_usage(), test_key_derivation(), test_mac(), test_rc2(), test_rc4(), test_schannel_provider(), and test_sha2().
| BOOL WINAPI CryptGetKeyParam | ( | HCRYPTKEY | hKey, |
| DWORD | dwParam, | ||
| BYTE * | pbData, | ||
| DWORD * | pdwDataLen, | ||
| DWORD | dwFlags | ||
| ) |
Definition at line 1626 of file crypt.c.
Referenced by CertGetPublicKeyLength(), export_is_key_exportable(), test_aes(), test_block_cipher_modes(), test_des(), test_import_export(), test_import_private(), test_incorrect_api_usage(), test_key_derivation(), test_key_permissions(), test_rc2(), test_rc4(), test_rsa_encrypt(), and testImportPublicKey().
| BOOL WINAPI CryptGetProvParam | ( | HCRYPTPROV | hProv, |
| DWORD | dwParam, | ||
| BYTE * | pbData, | ||
| DWORD * | pdwDataLen, | ||
| DWORD | dwFlags | ||
| ) |
Definition at line 1667 of file crypt.c.
Referenced by CertContext_SetKeyProvInfo(), find_key_prov_info_in_provider(), is_supported_algid(), test_container_sd(), test_enum_container(), test_getDefaultCryptProv(), test_incorrect_api_usage(), test_null_provider(), and test_prov().
| BOOL WINAPI CryptGetUserKey | ( | HCRYPTPROV | hProv, |
| DWORD | dwKeySpec, | ||
| HCRYPTKEY * | phUserKey | ||
| ) |
Definition at line 1694 of file crypt.c.
Referenced by CertCreateSelfSignCertificate(), CRYPT_ExportPublicKeyInfoEx(), CRYPT_ImportKeyTrans(), export_is_key_exportable(), test_import_export(), test_incorrect_api_usage(), test_key_initialization(), test_key_permissions(), test_null_provider(), test_rsa_encrypt(), test_rsa_round_trip(), and testCreateSelfSignCert().
Definition at line 1745 of file crypt.c.
Referenced by catadmin_calc_hash_from_filehandle(), CDecodeMsg_FinalizeHashedContent(), CHashEncodeMsg_Update(), create_silly_rename(), create_websocket_accept(), CRYPT_VerifySignature(), CryptHashCertificate(), CryptHashPublicKeyInfo(), CryptHashToBeSigned(), CryptSignCertificate(), CSignedMsgData_UpdateAuthenticatedAttributes(), CSignedMsgData_UpdateHash(), derive_key(), hash_dib(), hash_file(), hash_file_data(), hash_mac_addrs(), load_encryption_key(), nfs41_client_owner(), pe_image_hash(), rdssl_hash_transform(), rdssl_hmac_md5(), test_hashes(), test_hmac(), test_import_hmac(), test_incorrect_api_usage(), test_key_derivation(), test_mac(), test_rc2(), test_rc4(), test_schannel_provider(), test_sha2(), test_verify_signature(), test_VerifySignature(), and verifySig().
| BOOL WINAPI CryptHashSessionKey | ( | HCRYPTHASH | hHash, |
| HCRYPTKEY | hKey, | ||
| DWORD | dwFlags | ||
| ) |
| BOOL WINAPI CryptImportKey | ( | HCRYPTPROV | hProv, |
| const BYTE * | pbData, | ||
| DWORD | dwDataLen, | ||
| HCRYPTKEY | hPubKey, | ||
| DWORD | dwFlags, | ||
| HCRYPTKEY * | phKey | ||
| ) |
Definition at line 1820 of file crypt.c.
Referenced by CRYPT_ImportKeyTrans(), CRYPT_ImportPublicKeyInfoEx(), rdssl_hmac_md5(), rdssl_rc4_set_key(), test_decode_msg_get_param(), test_hashes(), test_import_export(), test_import_hmac(), test_import_private(), test_incorrect_api_usage(), test_key_initialization(), test_null_provider(), test_rc2_keylen(), test_rsa_round_trip(), test_schannel_provider(), test_sign_message(), test_signed_msg_encoding(), test_signed_msg_update(), test_verify_sig(), test_verify_signature(), testAcquireCertPrivateKey(), and testAcquireSecurityContext().
| BOOL WINAPI CryptReleaseContext | ( | HCRYPTPROV | hProv, |
| DWORD | dwFlags | ||
| ) |
Definition at line 641 of file crypt.c.
Referenced by catadmin_calc_hash_from_filehandle(), CDecodeMsg_Close(), CEnvelopedEncodeMsg_Close(), CEnvelopedEncodeMsg_Open(), CertContext_SetProperty(), CertCreateSelfSignCertificate(), CHashEncodeMsg_Close(), clean_up_aes_environment(), clean_up_base_environment(), clean_up_environment(), create_silly_rename(), create_websocket_accept(), CRYPT_FileNameOpenStoreW(), CRYPT_FileOpenStore(), CRYPT_GetDefaultProvider(), CRYPT_MemOpenStore(), CRYPT_MsgOpenStore(), CRYPT_RegOpenStore(), CRYPT_SysOpenStoreW(), CryptCATAdminEnumCatalogFromHash(), CryptProtectData(), CryptSignMessage(), CryptUnprotectData(), CSignedEncodeMsg_Open(), DllMain(), DllRegisterServer(), export_private_key_dlg_proc(), find_key_prov_info_in_provider(), hash_file(), I_CryptGetDefaultCryptProv(), init_environment(), key_prov_info_matches_cert(), nfs41_client_owner(), rdssl_cert_to_rkey(), rdssl_hash_info_create(), rdssl_hash_info_delete(), rdssl_hmac_md5(), rdssl_rc4_info_delete(), SOFTPUB_VerifyImageHash(), START_TEST(), test_acquire_context(), test_container_sd(), test_CryptReleaseContext(), test_decode_msg_get_param(), test_encrypt_message(), test_enveloped_msg_open(), test_getDefaultCryptProv(), test_hashes(), test_incorrect_api_usage(), test_key_initialization(), test_machine_guid(), test_null_provider(), test_rc2_keylen(), test_rsa_round_trip(), test_schannel_provider(), test_sign_message(), test_signed_msg_encoding(), test_signed_msg_get_param(), test_signed_msg_open(), test_signed_msg_update(), test_sip(), test_verify_sig(), test_VerifySignature(), testAcquireCertPrivateKey(), testAcquireSecurityContext(), testCertSigs(), testCreateSelfSignCert(), and testPortPublicKeyInfo().
| BOOL WINAPI CryptSetHashParam | ( | HCRYPTHASH | hHash, |
| DWORD | dwParam, | ||
| const BYTE * | pbData, | ||
| DWORD | dwFlags | ||
| ) |
Definition at line 1941 of file crypt.c.
Referenced by rdssl_hmac_md5(), test_hashes(), test_hmac(), test_import_hmac(), test_incorrect_api_usage(), and test_schannel_provider().
Definition at line 1977 of file crypt.c.
Referenced by test_block_cipher_modes(), test_des(), test_incorrect_api_usage(), test_key_permissions(), test_rc2(), test_rc4(), test_rsa_encrypt(), and test_schannel_provider().
Definition at line 2011 of file crypt.c.
| BOOL WINAPI CryptSetProviderExA | ( | LPCSTR | pszProvName, |
| DWORD | dwProvType, | ||
| DWORD * | pdwReserved, | ||
| DWORD | dwFlags | ||
| ) |
Definition at line 2123 of file crypt.c.
Referenced by CryptSetProviderA().
| BOOL WINAPI CryptSetProviderExW | ( | LPCWSTR | pszProvName, |
| DWORD | dwProvType, | ||
| DWORD * | pdwReserved, | ||
| DWORD | dwFlags | ||
| ) |
Definition at line 2043 of file crypt.c.
Referenced by CryptSetProviderExA(), and CryptSetProviderW().
| BOOL WINAPI CryptSetProvParam | ( | HCRYPTPROV | hProv, |
| DWORD | dwParam, | ||
| const BYTE * | pbData, | ||
| DWORD | dwFlags | ||
| ) |
Definition at line 2153 of file crypt.c.
Referenced by CRYPT_AcquirePrivateKeyFromProvInfo(), export_acquire_private_key(), and test_incorrect_api_usage().
| BOOL WINAPI CryptSignHashA | ( | HCRYPTHASH | hHash, |
| DWORD | dwKeySpec, | ||
| LPCSTR | sDescription, | ||
| DWORD | dwFlags, | ||
| BYTE * | pbSignature, | ||
| DWORD * | pdwSigLen | ||
| ) |
Definition at line 1910 of file crypt.c.
Referenced by test_hashes(), and verifySig().
| BOOL WINAPI CryptSignHashW | ( | HCRYPTHASH | hHash, |
| DWORD | dwKeySpec, | ||
| LPCWSTR | sDescription, | ||
| DWORD | dwFlags, | ||
| BYTE * | pbSignature, | ||
| DWORD * | pdwSigLen | ||
| ) |
Definition at line 1882 of file crypt.c.
Referenced by CryptSignCertificate(), CryptSignHashA(), and CSignedMsgData_Sign().
| BOOL WINAPI CryptVerifySignatureA | ( | HCRYPTHASH | hHash, |
| const BYTE * | pbSignature, | ||
| DWORD | dwSigLen, | ||
| HCRYPTKEY | hPubKey, | ||
| LPCSTR | sDescription, | ||
| DWORD | dwFlags | ||
| ) |
Definition at line 2238 of file crypt.c.
Referenced by test_verify_signature().
| BOOL WINAPI CryptVerifySignatureW | ( | HCRYPTHASH | hHash, |
| const BYTE * | pbSignature, | ||
| DWORD | dwSigLen, | ||
| HCRYPTKEY | hPubKey, | ||
| LPCWSTR | sDescription, | ||
| DWORD | dwFlags | ||
| ) |
Definition at line 2205 of file crypt.c.
Referenced by CDecodeSignedMsg_VerifySignatureWithKey(), CRYPT_VerifySignature(), CryptVerifySignatureA(), and test_VerifySignature().
Definition at line 2405 of file crypt.c.
Referenced by SystemFunction036().
|
static |
Definition at line 91 of file crypt.c.
Referenced by CryptDecrypt(), CryptDeriveKey(), CryptDestroyHash(), CryptDuplicateHash(), CryptEncrypt(), CryptGetHashParam(), CryptHashData(), CryptHashSessionKey(), CryptSetHashParam(), CryptSignHashW(), and CryptVerifySignatureW().
Definition at line 96 of file crypt.c.
Referenced by CryptCreateHash(), CryptDecrypt(), CryptDestroyKey(), CryptDuplicateKey(), CryptEncrypt(), CryptExportKey(), CryptGetKeyParam(), CryptHashSessionKey(), CryptImportKey(), CryptSetKeyParam(), and CryptVerifySignatureW().
Definition at line 113 of file md4.c.
Referenced by KsecGatherEntropyData(), SystemFunction007(), and SystemFunction010().
Definition at line 45 of file md4.c.
Referenced by KsecGatherEntropyData(), SystemFunction007(), and SystemFunction010().
Definition at line 59 of file md4.c.
Referenced by KsecGatherEntropyData(), SystemFunction007(), and SystemFunction010().
Definition at line 66 of file crypt.c.
Referenced by hash_from_handle(), key_from_handle(), and provider_from_handle().
|
static |
Definition at line 86 of file crypt.c.
Referenced by CryptContextAddRef(), CryptCreateHash(), CryptDeriveKey(), CryptGenKey(), CryptGenRandom(), CryptGetProvParam(), CryptGetUserKey(), CryptImportKey(), CryptReleaseContext(), and CryptSetProvParam().
| DWORD WINAPI ReadEncryptedFileRaw | ( | PFE_EXPORT_FUNC | export, |
| PVOID | callback, | ||
| PVOID | context | ||
| ) |
| NTSTATUS WINAPI SystemFunction007 | ( | const UNICODE_STRING * | string, |
| LPBYTE | hash | ||
| ) |
| WINE_DEFAULT_DEBUG_CHANNEL | ( | crypt | ) |
| DWORD WINAPI WriteEncryptedFileRaw | ( | PFE_IMPORT_FUNC | import, |
| PVOID | callback, | ||
| PVOID | context | ||
| ) |
|
static |
Definition at line 61 of file crypt.c.
Referenced by CRYPT_ReturnhWnd(), and CryptSetProvParam().
|
static |
Definition at line 2400 of file crypt.c.
Referenced by fill_random_buffer(), and SystemFunction036().
|
static |
Definition at line 2390 of file crypt.c.
Referenced by SystemFunction036().
|
static |
|
static |
Definition at line 2401 of file crypt.c.
Referenced by fill_random_buffer(), sec_parse_crypt_info(), and SystemFunction036().
|
static |
Definition at line 2402 of file crypt.c.
Referenced by fill_random_buffer(), and SystemFunction036().