4 writes to _hMacProvider
System.Security.Cryptography (4)
System\Security\Cryptography\HMACCommon.cs (4)
48_hMacProvider = hmacProvider; 106_hMacProvider = null!; 108_hMacProvider = HashProviderDispenser.CreateMacProvider(_hashAlgorithmId, key); 149_hMacProvider = null!;
13 references to _hMacProvider
System.Security.Cryptography (13)
System\Security\Cryptography\HMACCommon.cs (13)
53public int HashSizeInBits => _hMacProvider.HashSizeInBytes * 8; 54public int HashSizeInBytes => _hMacProvider.HashSizeInBytes; 61[MemberNotNull(nameof(_hMacProvider))] 105HashProvider? oldHashProvider = _hMacProvider; 119_hMacProvider.AppendHashData(data, offset, count); 122_hMacProvider.AppendHashData(source); 126_hMacProvider.FinalizeHashAndReset(); 129_hMacProvider.FinalizeHashAndReset(destination); 132_hMacProvider.TryFinalizeHashAndReset(destination, out bytesWritten); 135_hMacProvider.GetCurrentHash(destination); 137public void Reset() => _hMacProvider.Reset(); 141return new HMACCommon(_hashAlgorithmId, _hMacProvider.Clone(), _blockSize, ActualKey); 148_hMacProvider?.Dispose(true);