Home
last modified time | relevance | path

Searched refs:hCryptProv (Results 1 – 16 of 16) sorted by relevance

/reactos/base/applications/mstsc/
H A Dssl_calls.c46 HCRYPTPROV hCryptProv; member
109 if (info->hCryptProv) in rdssl_rc4_info_delete()
157 ret = CryptImportKey(info->hCryptProv, in rdssl_rc4_set_key()
212 HCRYPTPROV hCryptProv; member
282 if (info->hCryptProv) in rdssl_hash_info_delete()
451 HCRYPTPROV hCryptProv; in rdssl_hmac_md5() local
508 ret = CryptCreateHash(hCryptProv, in rdssl_hmac_md5()
560 ret = CryptImportKey(hCryptProv, in rdssl_hmac_md5()
573 ret = CryptCreateHash(hCryptProv, in rdssl_hmac_md5()
1665 HCRYPTPROV hCryptProv; in rdssl_cert_to_rkey() local
[all …]
/reactos/dll/win32/crypt32/
H A Dmessage.c38 hCryptProv, dwFlags, &blob); in CryptGetMessageCertificates()
155 pVerifyPara->hCryptProv, 0, msg); in CryptVerifyDetachedMessageSignature()
209 pVerifyPara->hCryptProv, NULL, NULL); in CryptVerifyMessageSignature()
226 pVerifyPara->hCryptProv, 0, msg); in CryptVerifyMessageSignature()
287 info.hCryptProv = pHashPara->hCryptProv; in CryptHashMessage()
333 0, pHashPara->hCryptProv, NULL, NULL); in CryptVerifyDetachedMessageHash()
387 pHashPara->hCryptProv, NULL, NULL); in CryptVerifyMessageHash()
410 HCRYPTPROV hCryptProv; in CryptSignMessage() local
441 signer.hCryptProv = hCryptProv; in CryptSignMessage()
517 CryptReleaseContext(hCryptProv, 0); in CryptSignMessage()
[all …]
H A Dstore.c401 CryptReleaseContext(hCryptProv, 0); in CRYPT_MemOpenStore()
419 TRACE("(%ld, %08x, %s)\n", hCryptProv, dwFlags, in CRYPT_SysRegOpenStoreW()
521 TRACE("(%ld, %08x, %s)\n", hCryptProv, dwFlags, in CRYPT_SysRegOpenStoreA()
550 TRACE("(%ld, %08x, %s)\n", hCryptProv, dwFlags, in CRYPT_SysOpenStoreW()
610 CryptReleaseContext(hCryptProv, 0); in CRYPT_SysOpenStoreW()
622 TRACE("(%ld, %08x, %s)\n", hCryptProv, dwFlags, in CRYPT_SysOpenStoreA()
726 CryptReleaseContext(hCryptProv, 0); in CRYPT_MsgOpenStore()
748 hCryptProv, NULL, NULL); in CRYPT_PKCSOpenStore()
754 hCryptProv, NULL, NULL); in CRYPT_PKCSOpenStore()
898 hCryptProv, dwFlags, pvPara); in CertOpenStore()
[all …]
H A Dfilestore.c242 WINECRYPT_CERTSTORE *CRYPT_FileOpenStore(HCRYPTPROV hCryptProv, DWORD dwFlags, in CRYPT_FileOpenStore() argument
248 TRACE("(%ld, %08x, %p)\n", hCryptProv, dwFlags, pvPara); in CRYPT_FileOpenStore()
282 if (hCryptProv && in CRYPT_FileOpenStore()
284 CryptReleaseContext(hCryptProv, 0); in CRYPT_FileOpenStore()
292 WINECRYPT_CERTSTORE *CRYPT_FileNameOpenStoreW(HCRYPTPROV hCryptProv, in CRYPT_FileNameOpenStoreW() argument
300 TRACE("(%ld, %08x, %s)\n", hCryptProv, dwFlags, debugstr_w(fileName)); in CRYPT_FileNameOpenStoreW()
376 if (hCryptProv && !(dwFlags & CERT_STORE_NO_CRYPT_RELEASE_FLAG)) in CRYPT_FileNameOpenStoreW()
377 CryptReleaseContext(hCryptProv, 0); in CRYPT_FileNameOpenStoreW()
383 WINECRYPT_CERTSTORE *CRYPT_FileNameOpenStoreA(HCRYPTPROV hCryptProv, in CRYPT_FileNameOpenStoreA() argument
389 TRACE("(%ld, %08x, %s)\n", hCryptProv, dwFlags, in CRYPT_FileNameOpenStoreA()
[all …]
H A Dcert.c580 sizeof(keyContext.hCryptProv)); in CertGetCertificateContextProperty()
783 keyContext.hCryptProv = 0; in CertContext_SetProperty()
918 *phCryptProv = keyContext.hCryptProv; in CryptAcquireCertificatePrivateKey()
931 *phCryptProv = keyContext.hCryptProv; in CryptAcquireCertificatePrivateKey()
2197 if (!hCryptProv) in CryptHashCertificate()
2198 hCryptProv = I_CryptGetDefaultCryptProv(0); in CryptHashCertificate()
2226 if (!hCryptProv) in CryptHashPublicKeyInfo()
2278 if (!hCryptProv) in CryptHashToBeSigned()
2327 if (!hCryptProv) in CryptSignCertificate()
2342 if (!hCryptProv) in CryptSignCertificate()
[all …]
H A Dcrypt32_private.h266 typedef struct WINE_CRYPTCERTSTORE * (*StoreOpenFunc)(HCRYPTPROV hCryptProv,
325 WINECRYPT_CERTSTORE *CRYPT_CollectionOpenStore(HCRYPTPROV hCryptProv,
330 DWORD dwEncodingType, HCRYPTPROV hCryptProv, DWORD dwFlags,
332 WINECRYPT_CERTSTORE *CRYPT_RegOpenStore(HCRYPTPROV hCryptProv, DWORD dwFlags,
334 WINECRYPT_CERTSTORE *CRYPT_FileOpenStore(HCRYPTPROV hCryptProv, DWORD dwFlags,
336 WINECRYPT_CERTSTORE *CRYPT_FileNameOpenStoreA(HCRYPTPROV hCryptProv,
338 WINECRYPT_CERTSTORE *CRYPT_FileNameOpenStoreW(HCRYPTPROV hCryptProv,
H A Dregstore.c512 WINECRYPT_CERTSTORE *CRYPT_RegOpenStore(HCRYPTPROV hCryptProv, DWORD dwFlags, in CRYPT_RegOpenStore() argument
517 TRACE("(%ld, %08x, %p)\n", hCryptProv, dwFlags, pvPara); in CRYPT_RegOpenStore()
542 memStore = CertOpenStore(CERT_STORE_PROV_MEMORY, 0, hCryptProv, in CRYPT_RegOpenStore()
569 if (hCryptProv && in CRYPT_RegOpenStore()
571 CryptReleaseContext(hCryptProv, 0); in CRYPT_RegOpenStore()
H A Dmsg.c566 if (info->hCryptProv) in CHashEncodeMsg_Open()
567 prov = info->hCryptProv; in CHashEncodeMsg_Open()
600 HCRYPTPROV hCryptProv; member
691 if (!signer->hCryptProv) in CRYPT_IsValidSigner()
1485 HCRYPTPROV_LEGACY hCryptProv; member
1687 info->hCryptProv = prov; in CContentEncryptInfo_Construct()
1976 if (info->hCryptProv) in CEnvelopedEncodeMsg_Open()
1977 prov = info->hCryptProv; in CEnvelopedEncodeMsg_Open()
3438 decryptPara.hCryptProv = para->hCryptProv; in CRYPT_ImportEncryptedKey()
3470 else if (!para->hCryptProv) in CDecodeEnvelopedMsg_CrtlDecrypt()
[all …]
H A Dprovstore.c376 DWORD dwEncodingType, HCRYPTPROV hCryptProv, DWORD dwFlags, const void *pvPara) in CRYPT_ProvOpenStore() argument
393 provOpenFunc(lpszStoreProvider, dwEncodingType, hCryptProv, in CRYPT_ProvOpenStore()
403 if (provOpenFunc(lpszStoreProvider, dwEncodingType, hCryptProv, in CRYPT_ProvOpenStore()
H A Dencode.c4794 TRACE_(crypt)("(%08lx, %d, %08x, %s, %08x, %p, %p, %d)\n", hCryptProv, in CRYPT_ExportPublicKeyInfoEx()
4798 if ((ret = CryptGetUserKey(hCryptProv, dwKeySpec, &key))) in CRYPT_ExportPublicKeyInfoEx()
4943 TRACE_(crypt)("(%08lx, %d, %08x, %s, %08x, %p, %p, %d)\n", hCryptProv, in CryptExportPublicKeyInfoEx()
4947 if (!hCryptProv) in CryptExportPublicKeyInfoEx()
4963 ret = exportFunc(hCryptProv, dwKeySpec, dwCertEncodingType, in CryptExportPublicKeyInfoEx()
4970 BOOL WINAPI CryptImportPublicKeyInfo(HCRYPTPROV hCryptProv, in CryptImportPublicKeyInfo() argument
4981 static BOOL WINAPI CRYPT_ImportPublicKeyInfoEx(HCRYPTPROV hCryptProv, in CRYPT_ImportPublicKeyInfoEx() argument
4992 TRACE_(crypt)("(%08lx, %08x, %p, %08x, %08x, %p, %p)\n", hCryptProv, in CRYPT_ImportPublicKeyInfoEx()
5040 typedef BOOL (WINAPI *ImportPublicKeyInfoExFunc)(HCRYPTPROV hCryptProv,
5044 BOOL WINAPI CryptImportPublicKeyInfoEx(HCRYPTPROV hCryptProv, in CryptImportPublicKeyInfoEx() argument
[all …]
H A Dcollectionstore.c464 WINECRYPT_CERTSTORE *CRYPT_CollectionOpenStore(HCRYPTPROV hCryptProv, in CRYPT_CollectionOpenStore() argument
/reactos/modules/rostests/winetests/crypt32/
H A Dmessage.c1007 HCRYPTPROV hCryptProv = 0; in test_sign_message() local
1039 ret = CryptImportKey(hCryptProv, publicPrivateKeyPair, in test_sign_message()
1044 if (hCryptProv) in test_sign_message()
1045 CryptReleaseContext(hCryptProv, 0); in test_sign_message()
1060 keyContext.hCryptProv = hCryptProv; in test_sign_message()
1200 if (hCryptProv) in test_sign_message()
1201 CryptReleaseContext(hCryptProv, 0); in test_sign_message()
1217 HCRYPTPROV hCryptProv = 0; in test_encrypt_message() local
1266 para.hCryptProv = hCryptProv; in test_encrypt_message()
1362 if (hCryptProv) in test_encrypt_message()
[all …]
H A Dmsg.c1135 signer.hCryptProv = 1; in test_signed_msg_open()
1184 CryptReleaseContext(signer.hCryptProv, 0); in test_signed_msg_open()
1329 CryptReleaseContext(signer.hCryptProv, 0); in test_signed_msg_update()
1846 CryptReleaseContext(signer.hCryptProv, 0); in test_signed_msg_encoding()
2038 CryptReleaseContext(signer.hCryptProv, 0); in test_signed_msg_get_param()
2857 HCRYPTPROV hCryptProv; in test_decode_msg_get_param() local
3108 decryptPara.hCryptProv = hCryptProv; in test_decode_msg_get_param()
3112 decryptPara.hCryptProv = 0; in test_decode_msg_get_param()
3133 decryptPara.hCryptProv = hCryptProv; in test_decode_msg_get_param()
3146 CryptReleaseContext(hCryptProv, 0); in test_decode_msg_get_param()
[all …]
H A Dcert.c552 keyContext.hCryptProv = 0; in testCertProperties()
559 size = sizeof(keyContext.hCryptProv); in testCertProperties()
561 CERT_KEY_PROV_HANDLE_PROP_ID, &keyContext.hCryptProv, &size); in testCertProperties()
575 ok(keyContext.hCryptProv == 0, "Expected no hCryptProv\n"); in testCertProperties()
3884 CryptReleaseContext(keyContext.hCryptProv, 0); in testAcquireCertPrivateKey()
/reactos/sdk/include/psdk/
H A Dwincrypt.h220 HCRYPTPROV hCryptProv; member
1159 _In_opt_ HCRYPTPROV_LEGACY hCryptProv,
1509 HCRYPTPROV_LEGACY hCryptProv; member
3891 HCRYPTPROV hCryptProv; member
3914 HCRYPTPROV hCryptProv; member
4670 _In_ HCRYPTPROV hCryptProv,
4714 _In_opt_ HCRYPTPROV_LEGACY hCryptProv,
5366 _In_opt_ HCRYPTPROV_LEGACY hCryptProv,
5377 _In_opt_ HCRYPTPROV_LEGACY hCryptProv,
5592 _In_ HCRYPTPROV hCryptProv,
[all …]
/reactos/modules/rostests/winetests/advapi32/
H A Dcrypt.c961 HCRYPTPROV hCryptProv; in test_machine_guid() local
991 ret = pCryptAcquireContextA(&hCryptProv, szKeySet, NULL, PROV_RSA_FULL, 0); in test_machine_guid()
994 pCryptReleaseContext(hCryptProv, 0); in test_machine_guid()