2 writes to _hashSizeInBytes
System.Security.Cryptography (2)
System\Security\Cryptography\LiteHash.Unix.cs (2)
215_hashSizeInBytes = Interop.Crypto.EvpMdSize(algorithm); 230_hashSizeInBytes = hashSizeInBytes;
11 references to _hashSizeInBytes
System.Security.Cryptography (11)
System\Security\Cryptography\LiteHash.Unix.cs (11)
210public int HashSizeInBytes => _hashSizeInBytes; 217if (_hashSizeInBytes <= 0 || _hashSizeInBytes > Interop.Crypto.EVP_MAX_MD_SIZE) 219Debug.Fail($"Unexpected hash '{_hashSizeInBytes}' size from {nameof(Interop.Crypto.EvpMdSize)}."); 245Debug.Assert(destination.Length >= _hashSizeInBytes); 249Debug.Assert(length == _hashSizeInBytes); 250return _hashSizeInBytes; 255Debug.Assert(destination.Length >= _hashSizeInBytes); 259Debug.Assert(length == _hashSizeInBytes); 260return _hashSizeInBytes; 272return new LiteHmac(clone, _hashSizeInBytes);