2 writes to _hashSize
System.Security.Cryptography (2)
System\Security\Cryptography\HashProviderCng.cs (2)
38_hAlgorithm = Interop.BCrypt.BCryptAlgorithmCache.GetCachedBCryptAlgorithmHandle(hashAlgId, dwFlags, out _hashSize); 58_hashSize = hashSize;
8 references to _hashSize
System.Security.Cryptography (8)
System\Security\Cryptography\HashProviderCng.cs (8)
80Debug.Assert(destination.Length >= _hashSize); 85NTSTATUS ntStatus = Interop.BCrypt.BCryptFinishHash(_hHash, destination, _hashSize, 0); 94return _hashSize; 100Debug.Assert(destination.Length >= _hashSize); 107NTSTATUS ntStatus = Interop.BCrypt.BCryptFinishHash(tmpHash, destination, _hashSize, 0); 114return _hashSize; 124return new HashProviderCng(_hAlgorithm, clone, _key, _hashSize, _running); 144public sealed override int HashSizeInBytes => _hashSize;