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