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