Lines Matching refs:dwKeySpec
313 DWORD dwKeySpec = 0;
320 &hCryptProv, &dwKeySpec, &bCallerFreeProv) == FALSE)
327 BOOL bGetUserKey = ::CryptGetUserKey(hCryptProv, dwKeySpec, &hUserKey);
539 DWORD dwKeySpec = AT_SIGNATURE;
549 dwKeySpec = AT_KEYEXCHANGE;
560 if (::CryptSignHash(hHash, dwKeySpec, NULL, dwFlags, NULL, &dwBufLen) == FALSE)
567 if (::CryptSignHash(hHash, dwKeySpec, NULL, dwFlags, (BYTE*)pSignedHashBuffer, &dwBufLen) == FALSE)
992 (LPBYTE) &keyProviderInfo.dwKeySpec,
1000 switch (keyProviderInfo.dwKeySpec) {
1003 keyProviderInfo.dwKeySpec = AT_KEYEXCHANGE;
1008 keyProviderInfo.dwKeySpec = AT_SIGNATURE;
1301 DWORD dwKeySpec;
1309 &dwKeySpec, NULL))) {
1316 if (!(::CryptGetUserKey(hCryptProv, dwKeySpec, &hKey))) {