5 references to CreateHmac
Microsoft.AspNetCore.Cryptography.Internal.Tests (1)
Cng\CachedAlgorithmHandlesTests.cs (1)
176var hashHandle = algorithmHandle.CreateHmac(pKey, (uint)_hmacKey.Length);
Microsoft.AspNetCore.DataProtection (4)
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)
17_hashHandle = CachedAlgorithmHandles.HMAC_SHA512.CreateHmac(pbKdk, cbKdk);