2 writes to _hashSize
System.Security.Cryptography (2)
System\Security\Cryptography\HashProviderCng.cs (2)
38
_hAlgorithm = Interop.BCrypt.BCryptAlgorithmCache.GetCachedBCryptAlgorithmHandle(hashAlgId, dwFlags, out
_hashSize
);
58
_hashSize
= hashSize;
8 references to _hashSize
System.Security.Cryptography (8)
System\Security\Cryptography\HashProviderCng.cs (8)
80
Debug.Assert(destination.Length >=
_hashSize
);
85
NTSTATUS ntStatus = Interop.BCrypt.BCryptFinishHash(_hHash, destination,
_hashSize
, 0);
94
return
_hashSize
;
100
Debug.Assert(destination.Length >=
_hashSize
);
107
NTSTATUS ntStatus = Interop.BCrypt.BCryptFinishHash(tmpHash, destination,
_hashSize
, 0);
114
return
_hashSize
;
124
return new HashProviderCng(_hAlgorithm, clone, _key,
_hashSize
, _running);
144
public sealed override int HashSizeInBytes =>
_hashSize
;