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

◆ OpenHmac()

HMAC System.Security.Cryptography.Rfc2898DeriveBytes.OpenHmac ( )
inlineprivate

Definition at line 196 of file Rfc2898DeriveBytes.cs.

197 {
198 /*
199An exception occurred when decompiling this method (0600177C)
200
201ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Security.Cryptography.HMAC System.Security.Cryptography.Rfc2898DeriveBytes::OpenHmac()
202
203 ---> System.Exception: Basic block has to end with unconditional control flow.
204{
205 Block_0:
206 stloc:HashAlgorithmName(var_0_06, ldfld:HashAlgorithmName(Rfc2898DeriveBytes::<HashAlgorithm>k__BackingField, ldloc:Rfc2898DeriveBytes(this)))
207 stloc:HashAlgorithmName(var_3_0E, callgetter:HashAlgorithmName(HashAlgorithmName::get_SHA1))
208 stloc:bool(var_4_16, call:bool(HashAlgorithmName::op_Equality, ldloc:HashAlgorithmName(var_0_06), ldloc:HashAlgorithmName(var_3_0E)))
209 stloc:uint8[](var_5_1E, ldfld:uint8[](Rfc2898DeriveBytes::_password, ldloc:Rfc2898DeriveBytes(this)))
210 stloc:HashAlgorithmName(var_7_28, callgetter:HashAlgorithmName(HashAlgorithmName::get_SHA256))
211 stloc:HashAlgorithmName(var_10_32, callgetter:HashAlgorithmName(HashAlgorithmName::get_SHA384))
212 stloc:HashAlgorithmName(var_13_3C, callgetter:HashAlgorithmName(HashAlgorithmName::get_SHA512))
213 stloc:string(var_15_4A, call:string(SR::Format, ldstr:string("'{0}' is not a known hash algorithm."), ldloc:uint8[][exp:object](var_5_1E)))
214}
215
216 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
217 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
218 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
219 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
220 --- End of inner exception stack trace ---
221 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
222 at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1683
223*/;
224 }

Referenced by System.Security.Cryptography.Rfc2898DeriveBytes.Rfc2898DeriveBytes(), and System.Security.Cryptography.Rfc2898DeriveBytes.Rfc2898DeriveBytes().