1 write to _hashSizeInBytes
System.Security.Cryptography (1)
System\Security\Cryptography\LiteHash.Unix.cs (1)
121
_hashSizeInBytes
= Interop.Crypto.EvpMdSize(algorithm);
9 references to _hashSizeInBytes
System.Security.Cryptography (9)
System\Security\Cryptography\LiteHash.Unix.cs (9)
114
public int HashSizeInBytes =>
_hashSizeInBytes
;
123
if (
_hashSizeInBytes
<= 0 ||
_hashSizeInBytes
> Interop.Crypto.EVP_MAX_MD_SIZE)
125
Debug.Fail($"Unexpected hash '{
_hashSizeInBytes
}' size from {nameof(Interop.Crypto.EvpMdSize)}.");
145
Debug.Assert(destination.Length >=
_hashSizeInBytes
);
150
Debug.Assert(length ==
_hashSizeInBytes
);
151
return
_hashSizeInBytes
;
163
Debug.Assert(length ==
_hashSizeInBytes
);
164
return
_hashSizeInBytes
;