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