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)
210
public int HashSizeInBytes =>
_hashSizeInBytes
;
217
if (
_hashSizeInBytes
<= 0 ||
_hashSizeInBytes
> Interop.Crypto.EVP_MAX_MD_SIZE)
219
Debug.Fail($"Unexpected hash '{
_hashSizeInBytes
}' size from {nameof(Interop.Crypto.EvpMdSize)}.");
245
Debug.Assert(destination.Length >=
_hashSizeInBytes
);
249
Debug.Assert(length ==
_hashSizeInBytes
);
250
return
_hashSizeInBytes
;
255
Debug.Assert(destination.Length >=
_hashSizeInBytes
);
259
Debug.Assert(length ==
_hashSizeInBytes
);
260
return
_hashSizeInBytes
;
272
return new LiteHmac(clone,
_hashSizeInBytes
);