Home | History | Annotate | Download | only in crypto

Lines Matching full:safe_hash

217   ScopedHCRYPTHASH safe_hash;
218 BOOL ok = CryptCreateHash(provider, CALG_HMAC, key, 0, safe_hash.receive());
226 ok = CryptSetHashParam(safe_hash, HP_HMAC_INFO,
231 hash->swap(safe_hash);
257 ScopedHCRYPTHASH safe_hash;
258 BOOL ok = CryptDuplicateHash(hash, NULL, 0, safe_hash.receive());
263 ok = CryptHashData(safe_hash, reinterpret_cast<const BYTE*>(salt.data()),
270 ok = CryptHashData(safe_hash,
277 ok = CryptGetHashParam(safe_hash, HP_HASHVAL, &hash_value[0], &size, 0);
287 safe_hash.reset();
288 ok = CryptDuplicateHash(hash, NULL, 0, safe_hash.receive());
292 ok = CryptHashData(safe_hash, &hash_value[0], hash_size, 0);
297 ok = CryptGetHashParam(safe_hash, HP_HASHVAL, &hash_value[0], &size, 0);