2 writes to _hAlgorithm
System.Security.Cryptography (2)
System\Security\Cryptography\HashProviderCng.cs (2)
38_hAlgorithm = Interop.BCrypt.BCryptAlgorithmCache.GetCachedBCryptAlgorithmHandle(hashAlgId, dwFlags, out _hashSize); 55_hAlgorithm = algorithmHandle;
3 references to _hAlgorithm
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); 124return new HashProviderCng(_hAlgorithm, clone, _key, _hashSize, _running); 159NTSTATUS ntStatus = Interop.BCrypt.BCryptCreateHash(_hAlgorithm, out hHash, IntPtr.Zero, 0, _key, _key == null ? 0 : _key.Length, Flags);