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)
53
public int HashSizeInBits =>
_hMacProvider
.HashSizeInBytes * 8;
54
public int HashSizeInBytes =>
_hMacProvider
.HashSizeInBytes;
61
[MemberNotNull(nameof(
_hMacProvider
))]
105
HashProvider? 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);
137
public void Reset() =>
_hMacProvider
.Reset();
141
return new HMACCommon(_hashAlgorithmId,
_hMacProvider
.Clone(), _blockSize, ActualKey);
148
_hMacProvider
?.Dispose(true);