2 writes to _hashSizeInBytes
System.Security.Cryptography (2)
System\Security\Cryptography\LiteHash.Unix.cs (2)
128_hashSizeInBytes = Interop.Crypto.EvpMdSize(algorithm); 144_hashSizeInBytes = hashSizeInBytes;
10 references to _hashSizeInBytes
System.Security.Cryptography (10)
System\Security\Cryptography\LiteHash.Unix.cs (10)
121public int HashSizeInBytes => _hashSizeInBytes; 130if (_hashSizeInBytes <= 0 || _hashSizeInBytes > Interop.Crypto.EVP_MAX_MD_SIZE) 132Debug.Fail($"Unexpected hash '{_hashSizeInBytes}' size from {nameof(Interop.Crypto.EvpMdSize)}."); 159Debug.Assert(destination.Length >= _hashSizeInBytes); 164Debug.Assert(length == _hashSizeInBytes); 165return _hashSizeInBytes; 177Debug.Assert(length == _hashSizeInBytes); 178return _hashSizeInBytes; 185return new LiteHash(clone, _algorithm, _hashSizeInBytes);