26 references to BCryptHashHandle
Microsoft.AspNetCore.Cryptography.Internal (21)
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\LibraryImports.g.cs (10)
252internal static partial int BCryptCreateHash(global::Microsoft.AspNetCore.Cryptography.SafeHandles.BCryptAlgorithmHandle hAlgorithm, out global::Microsoft.AspNetCore.Cryptography.SafeHandles.BCryptHashHandle phHash, nint pbHashObject, uint cbHashObject, byte* pbSecret, uint cbSecret, uint dwFlags) 262global::System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<global::Microsoft.AspNetCore.Cryptography.SafeHandles.BCryptHashHandle>.ManagedToUnmanagedOut __phHash_native__marshaller = new(); 396internal static partial int BCryptDuplicateHash(global::Microsoft.AspNetCore.Cryptography.SafeHandles.BCryptHashHandle hHash, out global::Microsoft.AspNetCore.Cryptography.SafeHandles.BCryptHashHandle phNewHash, nint pbHashObject, uint cbHashObject, uint dwFlags) 406global::System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<global::Microsoft.AspNetCore.Cryptography.SafeHandles.BCryptHashHandle>.ManagedToUnmanagedOut __phNewHash_native__marshaller = new(); 407global::System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<global::Microsoft.AspNetCore.Cryptography.SafeHandles.BCryptHashHandle>.ManagedToUnmanagedIn __hHash_native__marshaller = new(); 487internal static partial int BCryptFinishHash(global::Microsoft.AspNetCore.Cryptography.SafeHandles.BCryptHashHandle hHash, byte* pbOutput, uint cbOutput, uint dwFlags) 494global::System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<global::Microsoft.AspNetCore.Cryptography.SafeHandles.BCryptHashHandle>.ManagedToUnmanagedIn __hHash_native__marshaller = new(); 624internal static partial int BCryptHashData(global::Microsoft.AspNetCore.Cryptography.SafeHandles.BCryptHashHandle hHash, byte* pbInput, uint cbInput, uint dwFlags) 631global::System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<global::Microsoft.AspNetCore.Cryptography.SafeHandles.BCryptHashHandle>.ManagedToUnmanagedIn __hHash_native__marshaller = new();
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.KeyDerivation (1)
PBKDF2\Win8Pbkdf2Provider.cs (1)
141using (var hashHandle = prfAlgorithmHandle.CreateHash())
Microsoft.AspNetCore.DataProtection (4)
Cng\CbcAuthenticatedEncryptor.cs (3)
118using (var hashHandle = _hmacAlgorithmHandle.CreateHmac(pbHmacSubkey, _hmacAlgorithmSubkeyLengthInBytes)) 360using (var hashHandle = _hmacAlgorithmHandle.CreateHmac(pbHmacSubkey, _hmacAlgorithmSubkeyLengthInBytes)) 551using (var hashHandle = _hmacAlgorithmHandle.CreateHmac(pbHmacSubkey, _hmacAlgorithmSubkeyLengthInBytes))
SP800_108\Win7SP800_108_CTR_HMACSHA512Provider.cs (1)
61using (var hashHandle = _hashHandle.DuplicateHash())