Lines Matching refs:hCryptProv
78 HCRYPTPROV hCryptProv;
391 if(ctx->hCryptProv)
392 CryptReleaseContext(ctx->hCryptProv, 0);
397 if(CryptAcquireContext(&ctx->hCryptProv, NULL, NULL,
399 CryptCreateHash(ctx->hCryptProv, CALG_MD5, 0, 0, &ctx->hHash);
418 if(CryptAcquireContext(&ctx->hCryptProv, NULL, NULL,
420 CryptCreateHash(ctx->hCryptProv, CALG_SHA1, 0, 0, &ctx->hHash);
439 if(CryptAcquireContext(&ctx->hCryptProv, NULL, NULL,
441 CryptCreateHash(ctx->hCryptProv, CALG_SHA_256, 0, 0, &ctx->hHash);