Lines Matching refs:hash
110 HCRYPTHASH hash;
120 if (!CryptCreateHash(prov, alg, 0, 0, &hash)) {
127 if (!CryptHashData(hash, (BYTE *) addr[i], len[i], 0)) {
129 CryptDestroyHash(hash);
135 if (!CryptGetHashParam(hash, HP_HASHVAL, mac, &hlen, 0)) {
140 CryptDestroyHash(hash);
348 HCRYPTHASH hash;
419 if (!CryptCreateHash(ctx->prov, calg, ctx->key, 0, &ctx->hash)) {
441 if (!CryptSetHashParam(ctx->hash, HP_HMAC_INFO, (BYTE *) &info,
444 CryptDestroyHash(ctx->hash);
460 if (!CryptHashData(ctx->hash, (BYTE *) data, len, 0)) {
484 if (!CryptGetHashParam(ctx->hash, HP_HASHVAL, mac, &hlen, 0)) {