3 writes to _hHash
System.Security.Cryptography (3)
System\Security\Cryptography\HashProviderCng.cs (3)
39NTSTATUS ntStatus = Interop.BCrypt.BCryptCreateHash(_hAlgorithm, out _hHash, IntPtr.Zero, 0, key, key.Length, BCryptCreateHashFlags.BCRYPT_HASH_REUSABLE_FLAG); 56_hHash = hashHandle; 167SafeBCryptHashHandle? previousHash = Interlocked.Exchange(ref _hHash, hHash);
9 references to _hHash
System.Security.Cryptography (9)
System\Security\Cryptography\HashProviderCng.cs (9)
43_hHash.Dispose(); 64Debug.Assert(_hHash != null); 68NTSTATUS ntStatus = Interop.BCrypt.BCryptHashData(_hHash, source, source.Length, 0); 81Debug.Assert(_hHash != null); 85NTSTATUS ntStatus = Interop.BCrypt.BCryptFinishHash(_hHash, destination, _hashSize, 0); 101Debug.Assert(_hHash != null); 105using (SafeBCryptHashHandle tmpHash = Interop.BCrypt.BCryptDuplicateHash(_hHash)) 123SafeBCryptHashHandle clone = Interop.BCrypt.BCryptDuplicateHash(_hHash); 133_hHash.Dispose();