1 write to _hashSizeInBytes
System.Security.Cryptography (1)
System\Security\Cryptography\LiteHash.Unix.cs (1)
194
_hashSizeInBytes
= Interop.Crypto.EvpMdSize(algorithm);
10 references to _hashSizeInBytes
System.Security.Cryptography (10)
System\Security\Cryptography\LiteHash.Unix.cs (10)
189
public int HashSizeInBytes =>
_hashSizeInBytes
;
196
if (
_hashSizeInBytes
<= 0 ||
_hashSizeInBytes
> Interop.Crypto.EVP_MAX_MD_SIZE)
198
Debug.Fail($"Unexpected hash '{
_hashSizeInBytes
}' size from {nameof(Interop.Crypto.EvpMdSize)}.");
218
Debug.Assert(destination.Length >=
_hashSizeInBytes
);
222
Debug.Assert(length ==
_hashSizeInBytes
);
223
return
_hashSizeInBytes
;
228
Debug.Assert(destination.Length >=
_hashSizeInBytes
);
232
Debug.Assert(length ==
_hashSizeInBytes
);
233
return
_hashSizeInBytes
;