19 references to BCryptHashHandle
Microsoft.AspNetCore.Cryptography.Internal (11)
SafeHandles\BCryptAlgorithmHandle.cs (4)
24public BCryptHashHandle CreateHash() 29private BCryptHashHandle CreateHashCore(byte* pbKey, uint cbKey) 31BCryptHashHandle retVal; 43public BCryptHashHandle CreateHmac(byte* pbKey, uint cbKey)
SafeHandles\BCryptHashHandle.cs (2)
18public BCryptHashHandle DuplicateHash() 20BCryptHashHandle duplicateHandle;
UnsafeNativeMethods.cs (5)
52out BCryptHashHandle phHash, 130BCryptHashHandle hHash, 131out BCryptHashHandle phNewHash, 163BCryptHashHandle hHash, 220BCryptHashHandle hHash,
Microsoft.AspNetCore.Cryptography.Internal.Tests (2)
Cng\CachedAlgorithmHandlesTests.cs (2)
143var hashHandle = algorithmHandle.CreateHash(); 176var hashHandle = algorithmHandle.CreateHmac(pKey, (uint)_hmacKey.Length);
Microsoft.AspNetCore.Cryptography.KeyDerivation (1)
PBKDF2\Win8Pbkdf2Provider.cs (1)
141using (var hashHandle = prfAlgorithmHandle.CreateHash())
Microsoft.AspNetCore.DataProtection (5)
Cng\CbcAuthenticatedEncryptor.cs (3)
126using (var hashHandle = _hmacAlgorithmHandle.CreateHmac(pbHmacSubkey, _hmacAlgorithmSubkeyLengthInBytes)) 184using (var hashHandle = _hmacAlgorithmHandle.CreateHmac(pbHmacSubkey, _hmacAlgorithmSubkeyLengthInBytes)) 368using (var hashHandle = _hmacAlgorithmHandle.CreateHmac(pbHmacSubkey, _hmacAlgorithmSubkeyLengthInBytes))
SP800_108\Win7SP800_108_CTR_HMACSHA512Provider.cs (1)
61using (var hashHandle = _hashHandle.DuplicateHash())
SP800_108\Win8SP800_108_CTR_HMACSHA512Provider.cs (1)
90using (var hashHandle = CachedAlgorithmHandles.SHA512.CreateHash())