terraria-cpp2il-methodrecon v1.4.4.9
Terraria mobile dump, with reconstructed method body. Dump with CallAnalysis: https://infinitynichto.github.io/terraria-cpp2il
Loading...
Searching...
No Matches

◆ Dispose() [2/2]

override void System.Security.Cryptography.HMAC.Dispose ( bool disposing)
inlineprotectedvirtualinherited

Reimplemented from System.Security.Cryptography.HashAlgorithm.

Definition at line 203 of file HMAC.cs.

204 {
205 if (this.m_hash1 != null)
206 {
207 return;
208 }
209 long num;
210 if (this.m_hash2 != null)
211 {
212 num = 0L;
213 return;
214 }
215 byte[] inner = this.m_inner;
216 if (inner != null)
217 {
218 long num2 = 0L;
219 Array.Clear(inner, (int)num2, (int)num);
220 }
221 byte[] outer = this.m_outer;
222 if (outer != null)
223 {
224 long num3 = 0L;
225 Array.Clear(outer, (int)num3, (int)num);
226 }
227 byte[] keyValue = this.KeyValue;
228 if (keyValue != null)
229 {
230 long num4 = 0L;
231 Array.Clear(keyValue, (int)num4, (int)num);
232 }
233 int num5 = 1;
234 this._disposed = num5 != 0;
235 }
class f__AnonymousType0<< Count > j__TPar
void IList. Clear()
Definition Array.cs:99

References System.Array.Clear(), j__TPar, System.Security.Cryptography.KeyedHashAlgorithm.KeyValue, System.L, System.Security.Cryptography.HMAC.m_hash1, System.Security.Cryptography.HMAC.m_hash2, System.Security.Cryptography.HMAC.m_inner, and System.Security.Cryptography.HMAC.m_outer.

Referenced by System.Security.Cryptography.Rfc2898DeriveBytes.Dispose().