Lines Matching refs:hHash
77 HCRYPTHASH hHash;
328 CryptGetHashParam(ctx->hHash, HP_HASHVAL, NULL, &length, 0);
330 CryptGetHashParam(ctx->hHash, HP_HASHVAL, digest, &length, 0);
331 if(ctx->hHash)
332 CryptDestroyHash(ctx->hHash);
341 CryptCreateHash(ctx->hCryptProv, CALG_MD5, 0, 0, &ctx->hHash);
350 CryptHashData(ctx->hHash, (unsigned char *)input, inputLen, 0);
362 CryptCreateHash(ctx->hCryptProv, CALG_SHA1, 0, 0, &ctx->hHash);
371 CryptHashData(ctx->hHash, (unsigned char *)input, inputLen, 0);
383 CryptCreateHash(ctx->hCryptProv, CALG_SHA_256, 0, 0, &ctx->hHash);
392 CryptHashData(ctx->hHash, (unsigned char *)input, inputLen, 0);