/external/python/cpython2/Python/ |
D | random.c | 27 static HCRYPTPROV hCryptProv = 0; variable 53 if (! pCryptAcquireContext(&hCryptProv, NULL, NULL, in win32_urandom_init() 74 if (hCryptProv == 0) in win32_urandom() 83 if (!pCryptGenRandom(hCryptProv, chunk, buffer)) in win32_urandom() 425 if (hCryptProv) { in _PyRandom_Fini() 426 CryptReleaseContext(hCryptProv, 0); in _PyRandom_Fini() 427 hCryptProv = 0; in _PyRandom_Fini()
|
/external/python/cpython3/Python/ |
D | bootstrap_hash.c | 34 static HCRYPTPROV hCryptProv = 0; variable 40 if (!CryptAcquireContext(&hCryptProv, NULL, NULL, in win32_urandom_init() 60 if (hCryptProv == 0) in win32_urandom() 70 if (!CryptGenRandom(hCryptProv, (DWORD)chunk, buffer)) in win32_urandom() 624 if (hCryptProv) { in _Py_HashRandomization_Fini() 625 CryptReleaseContext(hCryptProv, 0); in _Py_HashRandomization_Fini() 626 hCryptProv = 0; in _Py_HashRandomization_Fini()
|
/external/curl/src/ |
D | tool_metalink.c | 82 HCRYPTPROV hCryptProv; member 395 if(ctx->hCryptProv) in win32_crypto_final() 396 CryptReleaseContext(ctx->hCryptProv, 0); in win32_crypto_final() 401 if(CryptAcquireContext(&ctx->hCryptProv, NULL, NULL, in MD5_Init() 403 CryptCreateHash(ctx->hCryptProv, CALG_MD5, 0, 0, &ctx->hHash); in MD5_Init() 422 if(CryptAcquireContext(&ctx->hCryptProv, NULL, NULL, in SHA1_Init() 424 CryptCreateHash(ctx->hCryptProv, CALG_SHA1, 0, 0, &ctx->hHash); in SHA1_Init() 443 if(CryptAcquireContext(&ctx->hCryptProv, NULL, NULL, in SHA256_Init() 445 CryptCreateHash(ctx->hCryptProv, CALG_SHA_256, 0, 0, &ctx->hHash); in SHA256_Init()
|
/external/curl/lib/ |
D | md5.c | 135 HCRYPTPROV hCryptProv; member 141 if(CryptAcquireContext(&ctx->hCryptProv, NULL, NULL, in MD5_Init() 143 CryptCreateHash(ctx->hCryptProv, CALG_MD5, 0, 0, &ctx->hHash); in MD5_Init() 162 if(ctx->hCryptProv) in MD5_Final() 163 CryptReleaseContext(ctx->hCryptProv, 0); in MD5_Final()
|
/external/curl/lib/vtls/ |
D | schannel.c | 2112 HCRYPTPROV hCryptProv = 0; in Curl_schannel_random() local 2116 if(!CryptAcquireContext(&hCryptProv, NULL, NULL, PROV_RSA_FULL, in Curl_schannel_random() 2120 if(!CryptGenRandom(hCryptProv, (DWORD)length, entropy)) { in Curl_schannel_random() 2121 CryptReleaseContext(hCryptProv, 0UL); in Curl_schannel_random() 2125 CryptReleaseContext(hCryptProv, 0UL); in Curl_schannel_random()
|
/external/syzkaller/sys/windows/ |
D | windows.txt | 2500 CryptMsgOpenToDecode(dwMsgEncodingType int32, dwFlags int32, dwMsgType int32, hCryptProv int64, pRe… 2506 CryptMsgVerifyCountersignatureEncoded(hCryptProv int64, dwEncodingType int32, pbSignerInfo ptr[inou… 2507 CryptMsgVerifyCountersignatureEncodedEx(hCryptProv int64, dwEncodingType int32, pbSignerInfo ptr[in… 2510 CertOpenStore(lpszStoreProvider ptr[inout, int8], dwEncodingType int32, hCryptProv int64, dwFlags i… 2594 CryptVerifyCertificateSignature(hCryptProv int64, dwCertEncodingType int32, pbEncoded ptr[inout, in… 2595 CryptVerifyCertificateSignatureEx(hCryptProv int64, dwCertEncodingType int32, dwSubjectType int32, … 2597 CryptHashToBeSigned(hCryptProv int64, dwCertEncodingType int32, pbEncoded ptr[inout, int8], cbEncod… 2598 CryptHashCertificate(hCryptProv int64, Algid int32, dwFlags int32, pbEncoded ptr[inout, int8], cbEn… 2612 CryptInstallDefaultContext(hCryptProv int64, dwDefaultType int32, pvDefaultPara ptr[inout, array[in… 2617 CryptImportPublicKeyInfo(hCryptProv int64, dwCertEncodingType int32, pInfo ptr[inout, intptr], phKe… [all …]
|