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)
121
public int HashSizeInBytes =>
_hashSizeInBytes
;
130
if (
_hashSizeInBytes
<= 0 ||
_hashSizeInBytes
> Interop.Crypto.EVP_MAX_MD_SIZE)
132
Debug.Fail($"Unexpected hash '{
_hashSizeInBytes
}' size from {nameof(Interop.Crypto.EvpMdSize)}.");
159
Debug.Assert(destination.Length >=
_hashSizeInBytes
);
164
Debug.Assert(length ==
_hashSizeInBytes
);
165
return
_hashSizeInBytes
;
177
Debug.Assert(length ==
_hashSizeInBytes
);
178
return
_hashSizeInBytes
;
185
return new LiteHash(clone, _algorithm,
_hashSizeInBytes
);