/reactos/dll/win32/crypt32/ |
H A D | cert.c | 635 to->dwKeySpec = from->dwKeySpec; in CRYPT_CopyKeyProvInfo() 784 keyContext.dwKeySpec = AT_SIGNATURE; in CertContext_SetProperty() 871 *pdwKeySpec = info->dwKeySpec; in CRYPT_AcquirePrivateKeyFromProvInfo() 920 *pdwKeySpec = keyContext.dwKeySpec; in CryptAcquireCertificatePrivateKey() 928 &keyContext.hCryptProv, &keyContext.dwKeySpec); in CryptAcquireCertificatePrivateKey() 933 *pdwKeySpec = keyContext.dwKeySpec; in CryptAcquireCertificatePrivateKey() 1016 keyProvInfo->dwKeySpec = AT_SIGNATURE; in container_matches_cert() 3366 info.dwKeySpec = AT_SIGNATURE; in CertContext_SetKeyProvInfo() 3561 DWORD pubKeySize = 0, dwKeySpec; in CertCreateSelfSignCertificate() local 3573 dwKeySpec = pKeyProvInfo ? pKeyProvInfo->dwKeySpec : AT_SIGNATURE; in CertCreateSelfSignCertificate() [all …]
|
H A D | encode.c | 4775 BOOL WINAPI CryptExportPublicKeyInfo(HCRYPTPROV_OR_NCRYPT_KEY_HANDLE hCryptProv, DWORD dwKeySpec, in CryptExportPublicKeyInfo() argument 4778 return CryptExportPublicKeyInfoEx(hCryptProv, dwKeySpec, dwCertEncodingType, in CryptExportPublicKeyInfo() 4787 DWORD dwKeySpec, DWORD dwCertEncodingType, LPSTR pszPublicKeyObjId, in CRYPT_ExportPublicKeyInfoEx() argument 4795 dwKeySpec, dwCertEncodingType, debugstr_a(pszPublicKeyObjId), dwFlags, in CRYPT_ExportPublicKeyInfoEx() 4798 if ((ret = CryptGetUserKey(hCryptProv, dwKeySpec, &key))) in CRYPT_ExportPublicKeyInfoEx() 4931 DWORD dwKeySpec, DWORD dwCertEncodingType, LPSTR pszPublicKeyObjId, 4934 BOOL WINAPI CryptExportPublicKeyInfoEx(HCRYPTPROV_OR_NCRYPT_KEY_HANDLE hCryptProv, DWORD dwKeySpec, in CryptExportPublicKeyInfoEx() argument 4944 dwKeySpec, dwCertEncodingType, debugstr_a(pszPublicKeyObjId), dwFlags, in CryptExportPublicKeyInfoEx() 4963 ret = exportFunc(hCryptProv, dwKeySpec, dwCertEncodingType, in CryptExportPublicKeyInfoEx()
|
H A D | msg.c | 601 DWORD dwKeySpec; member 1451 info->rgSigners[i].dwKeySpec; in CSignedEncodeMsg_Open() 3390 pKeyTransDecryptPara->dwKeySpec ? pKeyTransDecryptPara->dwKeySpec : in CRYPT_ImportKeyTrans() 3439 decryptPara.dwKeySpec = para->dwKeySpec; in CRYPT_ImportEncryptedKey()
|
H A D | message.c | 442 signer.dwKeySpec = keySpec; in CryptSignMessage()
|
/reactos/dll/win32/advapi32/wine/ |
H A D | crypt.h | 49 BOOL (WINAPI *pCPGetUserKey)(HCRYPTPROV hProv, DWORD dwKeySpec, HCRYPTKEY *phUserKey); 57 …BOOL (WINAPI *pCPSignHash)(HCRYPTPROV hProv, HCRYPTHASH hHash, DWORD dwKeySpec, LPCWSTR sDescripti…
|
H A D | crypt.c | 1718 BOOL WINAPI CryptGetUserKey (HCRYPTPROV hProv, DWORD dwKeySpec, HCRYPTKEY *phUserKey) in CryptGetUserKey() argument 1723 TRACE("(0x%lx, %d, %p)\n", hProv, dwKeySpec, phUserKey); in CryptGetUserKey() 1743 if (prov->pFuncs->pCPGetUserKey(prov->hPrivate, dwKeySpec, &key->hPrivate)) in CryptGetUserKey() 1908 BOOL WINAPI CryptSignHashW (HCRYPTHASH hHash, DWORD dwKeySpec, LPCWSTR sDescription, in CryptSignHashW() argument 1915 hHash, dwKeySpec, debugstr_w(sDescription), dwFlags, pbSignature, pdwSigLen); in CryptSignHashW() 1930 return prov->pFuncs->pCPSignHash(prov->hPrivate, hash->hPrivate, dwKeySpec, sDescription, in CryptSignHashW() 1939 BOOL WINAPI CryptSignHashA (HCRYPTHASH hHash, DWORD dwKeySpec, LPCSTR sDescription, in CryptSignHashA() argument 1946 hHash, dwKeySpec, debugstr_a(sDescription), dwFlags, pbSignature, pdwSigLen); in CryptSignHashA() 1949 result = CryptSignHashW(hHash, dwKeySpec, wsDescription, dwFlags, pbSignature, pdwSigLen); in CryptSignHashA()
|
/reactos/dll/win32/rsaenh/ |
H A D | rsaenh.c | 969 static LPCSTR map_key_spec_to_key_pair_name(DWORD dwKeySpec) in map_key_spec_to_key_pair_name() argument 973 switch (dwKeySpec) in map_key_spec_to_key_pair_name() 982 WARN("invalid key spec %d\n", dwKeySpec); in map_key_spec_to_key_pair_name() 1007 if (!(szValueName = map_key_spec_to_key_pair_name(dwKeySpec))) in store_key_pair() 1050 static LPCSTR map_key_spec_to_permissions_name(DWORD dwKeySpec) in map_key_spec_to_permissions_name() argument 1054 switch (dwKeySpec) in map_key_spec_to_permissions_name() 1063 WARN("invalid key spec %d\n", dwKeySpec); in map_key_spec_to_permissions_name() 1084 if (!(szValueName = map_key_spec_to_permissions_name(dwKeySpec))) in store_key_permissions() 1355 if (!(szValueName = map_key_spec_to_key_pair_name(dwKeySpec))) in read_key_value() 4118 switch (dwKeySpec) in RSAENH_CPGetUserKey() [all …]
|
H A D | implglue.c | 303 BOOL encrypt_block_impl(ALG_ID aiAlgid, DWORD dwKeySpec, KEY_CONTEXT *pKeyContext, const BYTE *in, in encrypt_block_impl() argument 351 … if (rsa_exptmod(in, inlen, out, &outlen, dwKeySpec, &pKeyContext->rsa) != CRYPT_OK) { in encrypt_block_impl() 364 … if (rsa_exptmod(in_reversed, inlen, out, &outlen, dwKeySpec, &pKeyContext->rsa) != CRYPT_OK) { in encrypt_block_impl()
|
H A D | implglue.h | 90 BOOL encrypt_block_impl(ALG_ID aiAlgid, DWORD dwKeySpec, KEY_CONTEXT *pKeyContext, const BYTE *pbIn,
|
/reactos/dll/win32/mssign32/ |
H A D | mssign32_private.h | 118 DWORD dwKeySpec; member
|
/reactos/modules/rostests/winetests/crypt32/ |
H A D | cert.c | 553 keyContext.dwKeySpec = AT_SIGNATURE; in testCertProperties() 2244 ok(pInfo->dwKeySpec == AT_SIGNATURE, in testCreateSelfSignCert() 2273 info.dwKeySpec = AT_KEYEXCHANGE; in testCreateSelfSignCert() 2287 info.dwKeySpec = AT_SIGNATURE; in testCreateSelfSignCert() 2318 ok(pInfo->dwKeySpec == AT_SIGNATURE, in testCreateSelfSignCert() 2335 info.dwKeySpec = AT_KEYEXCHANGE; in testCreateSelfSignCert() 2365 ok(pInfo->dwKeySpec == AT_KEYEXCHANGE, in testCreateSelfSignCert() 2395 info.dwKeySpec = AT_SIGNATURE; in testCreateSelfSignCert() 2411 info.dwKeySpec = AT_KEYEXCHANGE; in testCreateSelfSignCert() 2442 ok(pInfo->dwKeySpec == AT_KEYEXCHANGE, in testCreateSelfSignCert() [all …]
|
H A D | message.c | 1061 keyContext.dwKeySpec = AT_SIGNATURE; in test_sign_message()
|
/reactos/sdk/include/psdk/ |
H A D | wincrypt.h | 176 DWORD dwKeySpec; member 215 DWORD dwKeySpec; member 221 DWORD dwKeySpec; member 3892 DWORD dwKeySpec; member 4450 _In_ DWORD dwKeySpec, 4461 _In_ DWORD dwKeySpec, 5414 _In_opt_ DWORD dwKeySpec, 5427 _In_opt_ DWORD dwKeySpec, 5572 _In_opt_ DWORD dwKeySpec, 5581 _In_opt_ DWORD dwKeySpec, [all …]
|
/reactos/dll/win32/wintrust/ |
H A D | wintrust_main.c | 1205 LPCWSTR pwszPurpose, DWORD dwKeySpec) in FindCertsByIssuer() argument 1209 debugstr_w(pwszPurpose), dwKeySpec); in FindCertsByIssuer()
|
/reactos/modules/rostests/winetests/secur32/ |
H A D | schannel.c | 307 keyProvInfo.dwKeySpec = AT_SIGNATURE; in testAcquireSecurityContext()
|
/reactos/dll/win32/cryptui/ |
H A D | main.c | 5727 else if (!export_is_key_exportable(hProv, info->dwKeySpec)) in export_private_key_dlg_proc()
|