Lines Matching defs:h*h
776 HCRYPTHASH hash;
819 /* Create the hash object */
820 if(!CryptCreateHash(capi_key->hprov, alg, 0, 0, &hash))
826 /* Set the hash value to the value passed */
828 if(!CryptSetHashParam(hash, HP_HASHVAL, (unsigned char *)m, 0))
838 if(!CryptSignHashA(hash, capi_key->keyspec, NULL, 0, sigret, &slen))
861 CryptDestroyHash(hash);
932 HCRYPTHASH hash;
957 /* Create the hash object */
958 if(!CryptCreateHash(capi_key->hprov, CALG_SHA1, 0, 0, &hash))
965 /* Set the hash value to the value passed */
966 if(!CryptSetHashParam(hash, HP_HASHVAL, (unsigned char *)digest, 0))
976 if(!CryptSignHashA(hash, capi_key->keyspec, NULL, 0, csigbuf, &slen))
1004 CryptDestroyHash(hash);