461 lines
22 KiB
C#
461 lines
22 KiB
C#
using System;
|
|
using System.Runtime.InteropServices;
|
|
using System.Runtime.Serialization.Formatters.Binary;
|
|
using Cpp2IlInjected;
|
|
|
|
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Macs
|
|
{
|
|
// Token: 0x02001676 RID: 5750
|
|
[Token(Token = "0x2001676")]
|
|
[StructLayout(3)]
|
|
public class Poly1305 : IMac
|
|
{
|
|
// Token: 0x060099AD RID: 39341 RVA: 0x00223548 File Offset: 0x00221748
|
|
[Token(Token = "0x60099AD")]
|
|
[Address(RVA = "0x20F8510", Offset = "0x20F6F10", VA = "0x1820F8510")]
|
|
public Poly1305()
|
|
{
|
|
byte[] array = new byte[1];
|
|
this.singleByte = array;
|
|
byte[] array2 = new byte[16];
|
|
this.currentBlock = array2;
|
|
base..ctor();
|
|
this.cipher = (ulong)0L;
|
|
}
|
|
|
|
// Token: 0x060099AE RID: 39342 RVA: 0x00223584 File Offset: 0x00221784
|
|
[Token(Token = "0x60099AE")]
|
|
[Address(RVA = "0x20F8580", Offset = "0x20F6F80", VA = "0x1820F8580")]
|
|
public Poly1305(IBlockCipher cipher)
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (060099AE)
|
|
|
|
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Macs.Poly1305::.ctor(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.IBlockCipher)
|
|
|
|
---> System.Exception: Basic block has to end with unconditional control flow.
|
|
{
|
|
IL_38:
|
|
stloc:ArgumentException(var_2_42, newobj:ArgumentException(ArgumentException::.ctor, ldstr:string("Poly1305 requires a 128 bit block cipher.")))
|
|
}
|
|
|
|
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
|
|
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
|
|
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
|
|
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1846
|
|
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
|
|
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
|
|
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
|
|
--- End of inner exception stack trace ---
|
|
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
|
|
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 1663
|
|
*/;
|
|
}
|
|
|
|
// Token: 0x060099AF RID: 39343 RVA: 0x002235D4 File Offset: 0x002217D4
|
|
[Token(Token = "0x60099AF")]
|
|
[Address(RVA = "0x20F7C10", Offset = "0x20F6610", VA = "0x1820F7C10", Slot = "4")]
|
|
public void Init(ICipherParameters parameters)
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (060099AF)
|
|
|
|
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Macs.Poly1305::Init(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.ICipherParameters)
|
|
|
|
---> System.Exception: Basic block has to end with unconditional control flow.
|
|
{
|
|
IL_4F:
|
|
stloc:ArgumentException(var_8_5E, newobj:ArgumentException(ArgumentException::.ctor, ldstr:string("Poly1305 requires an IV when used with a block cipher."), ldstr:string("parameters")))
|
|
}
|
|
|
|
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
|
|
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
|
|
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
|
|
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
|
|
--- End of inner exception stack trace ---
|
|
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
|
|
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 1663
|
|
*/;
|
|
}
|
|
|
|
// Token: 0x060099B0 RID: 39344 RVA: 0x00223640 File Offset: 0x00221840
|
|
[Token(Token = "0x60099B0")]
|
|
[Address(RVA = "0x20F8160", Offset = "0x20F6B60", VA = "0x1820F8160")]
|
|
private void SetKey(byte[] key, byte[] nonce)
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (060099B0)
|
|
|
|
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Macs.Poly1305::SetKey(System.Byte[],System.Byte[])
|
|
|
|
---> System.Exception: Basic block has to end with unconditional control flow.
|
|
{
|
|
IL_B2:
|
|
stloc:ArgumentException(var_6_BC, newobj:ArgumentException(ArgumentException::.ctor, ldstr:string("Poly1305 key must be 256 bits.")))
|
|
}
|
|
|
|
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
|
|
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
|
|
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
|
|
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1846
|
|
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
|
|
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
|
|
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
|
|
--- End of inner exception stack trace ---
|
|
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
|
|
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 1663
|
|
*/;
|
|
}
|
|
|
|
// Token: 0x17001893 RID: 6291
|
|
// (get) Token: 0x060099B1 RID: 39345 RVA: 0x0022370C File Offset: 0x0022190C
|
|
[Token(Token = "0x17001893")]
|
|
public string AlgorithmName
|
|
{
|
|
[Token(Token = "0x60099B1")]
|
|
[Address(RVA = "0x20F8650", Offset = "0x20F7050", VA = "0x1820F8650", Slot = "5")]
|
|
get
|
|
{
|
|
if (this.cipher == 0)
|
|
{
|
|
return "Poly1305";
|
|
}
|
|
string text;
|
|
return text;
|
|
}
|
|
}
|
|
|
|
// Token: 0x060099B2 RID: 39346 RVA: 0x0022372C File Offset: 0x0022192C
|
|
[Token(Token = "0x60099B2")]
|
|
[Address(RVA = "0x11B1BB0", Offset = "0x11B05B0", VA = "0x1811B1BB0", Slot = "6")]
|
|
public int GetMacSize()
|
|
{
|
|
return 16;
|
|
}
|
|
|
|
// Token: 0x060099B3 RID: 39347 RVA: 0x0022373C File Offset: 0x0022193C
|
|
[Token(Token = "0x60099B3")]
|
|
[Address(RVA = "0x20F8400", Offset = "0x20F6E00", VA = "0x1820F8400", Slot = "7")]
|
|
public void Update(byte input)
|
|
{
|
|
this.singleByte[0] = input;
|
|
byte[] array = this.singleByte;
|
|
int num = this.currentBlockOffset;
|
|
int num2 = 0;
|
|
if (num == 16)
|
|
{
|
|
this.ProcessBlock();
|
|
this.currentBlockOffset = num2;
|
|
}
|
|
uint num3;
|
|
num3 -= (uint)num2;
|
|
uint num4;
|
|
num4 -= (uint)num2;
|
|
int num5 = Math.Min((int)num4, (int)num3);
|
|
int num6 = this.currentBlockOffset;
|
|
byte[] array2 = this.currentBlock;
|
|
Array.Copy(array, num2, array2, num6, num5);
|
|
num2 += num5;
|
|
}
|
|
|
|
// Token: 0x060099B4 RID: 39348 RVA: 0x002237B4 File Offset: 0x002219B4
|
|
[Token(Token = "0x60099B4")]
|
|
[Address(RVA = "0x20F78A0", Offset = "0x20F62A0", VA = "0x1820F78A0", Slot = "8")]
|
|
public void BlockUpdate(byte[] input, int inOff, int len)
|
|
{
|
|
int num = 0;
|
|
if (len > 0)
|
|
{
|
|
if (this.currentBlockOffset == 16)
|
|
{
|
|
this.ProcessBlock();
|
|
this.currentBlockOffset = num;
|
|
}
|
|
uint num2;
|
|
num2 -= (uint)num;
|
|
int num3 = Math.Min(len, (int)num2);
|
|
int num4 = this.currentBlockOffset;
|
|
byte[] array = this.currentBlock;
|
|
Array.Copy(input, 0, array, num4, num3);
|
|
num += num3;
|
|
}
|
|
}
|
|
|
|
// Token: 0x060099B5 RID: 39349 RVA: 0x00223808 File Offset: 0x00221A08
|
|
[Token(Token = "0x60099B5")]
|
|
[Address(RVA = "0x20F7E30", Offset = "0x20F6830", VA = "0x1820F7E30")]
|
|
private void ProcessBlock()
|
|
{
|
|
if (this.currentBlockOffset < 16)
|
|
{
|
|
byte[] array = this.currentBlock;
|
|
int num = this.currentBlockOffset;
|
|
num++;
|
|
if (num < 16)
|
|
{
|
|
byte[] array2 = this.currentBlock;
|
|
num++;
|
|
}
|
|
}
|
|
byte[] array3 = this.currentBlock;
|
|
int num2 = 0;
|
|
int @int = SerializationHeaderRecord.GetInt32(array3, num2);
|
|
int int2 = SerializationHeaderRecord.GetInt32(this.currentBlock, 4);
|
|
int num3 = SerializationHeaderRecord.GetInt32(this.currentBlock, 8);
|
|
int int3 = SerializationHeaderRecord.GetInt32(this.currentBlock, 12);
|
|
uint num4 = this.h4;
|
|
num4 += (uint)int3;
|
|
if (this.currentBlockOffset == 16)
|
|
{
|
|
num4 += (uint)16777216;
|
|
}
|
|
uint num5 = this.r0;
|
|
uint num6 = this.s4;
|
|
uint num7 = this.s2;
|
|
uint num8 = this.s1;
|
|
uint num9 = this.s3;
|
|
uint num10 = this.r1;
|
|
uint num11 = num4 * num7;
|
|
uint num12 = num8 * num4;
|
|
int num13 = int3 * (int)num7;
|
|
num3 = int3;
|
|
num7 = num4;
|
|
num12 += (uint)num13;
|
|
num13 = @int;
|
|
int num14 = num13 * (int)num5;
|
|
uint num15 = num7 * num9;
|
|
num12 += (uint)num14;
|
|
num14 = num3;
|
|
int num16 = num14 * (int)num9;
|
|
num12 += (uint)num16;
|
|
num16 = int2;
|
|
int num17 = num16 * (int)num6;
|
|
num12 += (uint)num17;
|
|
num17 = int3;
|
|
int num18 = num17 * (int)num9;
|
|
num11 += (uint)num18;
|
|
num18 = @int;
|
|
int num19 = num18 * (int)num10;
|
|
num11 += (uint)num19;
|
|
num19 = int2;
|
|
int num20 = num19 * (int)num5;
|
|
num11 += (uint)num20;
|
|
num20 = num3;
|
|
int num21 = num20 * (int)num6;
|
|
num11 += (uint)num21;
|
|
num11 += num12;
|
|
int num22 = num3 * (int)num6;
|
|
num15 += (uint)num22;
|
|
num22 = @int;
|
|
int num23 = num22 * int3;
|
|
num15 += (uint)num23;
|
|
num23 = int2;
|
|
int num24 = num23 * (int)num10;
|
|
num15 += (uint)num24;
|
|
num24 = num3;
|
|
int num25 = num24 * (int)num5;
|
|
num15 += (uint)num25;
|
|
num15 += num11;
|
|
int num26 = num3 * (int)num5;
|
|
num11 = num4;
|
|
uint num27 = num11 * num6;
|
|
num26 += (int)num27;
|
|
int num28 = @int * (int)num9;
|
|
num26 += num28;
|
|
num28 = int2;
|
|
int num29 = num28 * int3;
|
|
num26 += num29;
|
|
num29 = num3;
|
|
int num30 = num29 * (int)num10;
|
|
num26 += num30;
|
|
num26 += (int)num15;
|
|
uint num31 = num4 * num5;
|
|
int num32 = num3 * (int)num10;
|
|
int num33 = int2 * (int)num9;
|
|
int num34 = num3 * int3;
|
|
uint num35 = num15 * (uint)@int;
|
|
num35 += (uint)num32;
|
|
num35 += num31;
|
|
num35 += (uint)num33;
|
|
num35 += (uint)num34;
|
|
num35 += (uint)num26;
|
|
num35 += num12;
|
|
num35 += num11;
|
|
}
|
|
|
|
// Token: 0x060099B6 RID: 39350 RVA: 0x00223A84 File Offset: 0x00221C84
|
|
[Token(Token = "0x60099B6")]
|
|
[Address(RVA = "0x20F7990", Offset = "0x20F6390", VA = "0x1820F7990", Slot = "9")]
|
|
public int DoFinal(byte[] output, int outOff)
|
|
{
|
|
uint num;
|
|
Check.DataLength(output, outOff, (int)num, "Output buffer is too short.");
|
|
if (this.currentBlockOffset > 0)
|
|
{
|
|
this.ProcessBlock();
|
|
}
|
|
uint num2 = this.h0;
|
|
num2 += (uint)outOff;
|
|
num2 += num2;
|
|
num2 += num2;
|
|
this.h0 = num2;
|
|
this.h1 = output;
|
|
this.h2 = output;
|
|
num2 += num2;
|
|
num2 += output;
|
|
return 16;
|
|
}
|
|
|
|
// Token: 0x060099B7 RID: 39351 RVA: 0x00223AE0 File Offset: 0x00221CE0
|
|
[Token(Token = "0x60099B7")]
|
|
[Address(RVA = "0x20F8150", Offset = "0x20F6B50", VA = "0x1820F8150", Slot = "10")]
|
|
public void Reset()
|
|
{
|
|
int num = 0;
|
|
this.currentBlockOffset = num;
|
|
this.h3 = (uint)num;
|
|
this.h1 = (uint)num;
|
|
}
|
|
|
|
// Token: 0x060099B8 RID: 39352 RVA: 0x00223B04 File Offset: 0x00221D04
|
|
[Token(Token = "0x60099B8")]
|
|
[Address(RVA = "0x20F86B0", Offset = "0x20F70B0", VA = "0x1820F86B0")]
|
|
private static ulong mul32x32_64(uint i1, uint i2)
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (060099B8)
|
|
|
|
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.UInt64 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Macs.Poly1305::mul32x32_64(System.UInt32,System.UInt32)
|
|
|
|
---> System.Exception: Basic block has to end with unconditional control flow.
|
|
{
|
|
Block_0:
|
|
stloc:uint32(var_0_03, mul:uint32(ldloc:uint32(i1), ldloc:uint32(i1)))
|
|
}
|
|
|
|
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
|
|
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
|
|
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
|
|
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
|
|
--- End of inner exception stack trace ---
|
|
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
|
|
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 1663
|
|
*/;
|
|
}
|
|
|
|
// Token: 0x040064E6 RID: 25830
|
|
[Token(Token = "0x40064E6")]
|
|
private const int BlockSize = 16;
|
|
|
|
// Token: 0x040064E7 RID: 25831
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
|
|
[Token(Token = "0x40064E7")]
|
|
private readonly IBlockCipher cipher;
|
|
|
|
// Token: 0x040064E8 RID: 25832
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
|
|
[Token(Token = "0x40064E8")]
|
|
private readonly byte[] singleByte;
|
|
|
|
// Token: 0x040064E9 RID: 25833
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x20")]
|
|
[Token(Token = "0x40064E9")]
|
|
private uint r0;
|
|
|
|
// Token: 0x040064EA RID: 25834
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x24")]
|
|
[Token(Token = "0x40064EA")]
|
|
private uint r1;
|
|
|
|
// Token: 0x040064EB RID: 25835
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x28")]
|
|
[Token(Token = "0x40064EB")]
|
|
private uint r2;
|
|
|
|
// Token: 0x040064EC RID: 25836
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x2C")]
|
|
[Token(Token = "0x40064EC")]
|
|
private uint r3;
|
|
|
|
// Token: 0x040064ED RID: 25837
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x30")]
|
|
[Token(Token = "0x40064ED")]
|
|
private uint r4;
|
|
|
|
// Token: 0x040064EE RID: 25838
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x34")]
|
|
[Token(Token = "0x40064EE")]
|
|
private uint s1;
|
|
|
|
// Token: 0x040064EF RID: 25839
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x38")]
|
|
[Token(Token = "0x40064EF")]
|
|
private uint s2;
|
|
|
|
// Token: 0x040064F0 RID: 25840
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x3C")]
|
|
[Token(Token = "0x40064F0")]
|
|
private uint s3;
|
|
|
|
// Token: 0x040064F1 RID: 25841
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x40")]
|
|
[Token(Token = "0x40064F1")]
|
|
private uint s4;
|
|
|
|
// Token: 0x040064F2 RID: 25842
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x44")]
|
|
[Token(Token = "0x40064F2")]
|
|
private uint k0;
|
|
|
|
// Token: 0x040064F3 RID: 25843
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x48")]
|
|
[Token(Token = "0x40064F3")]
|
|
private uint k1;
|
|
|
|
// Token: 0x040064F4 RID: 25844
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x4C")]
|
|
[Token(Token = "0x40064F4")]
|
|
private uint k2;
|
|
|
|
// Token: 0x040064F5 RID: 25845
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x50")]
|
|
[Token(Token = "0x40064F5")]
|
|
private uint k3;
|
|
|
|
// Token: 0x040064F6 RID: 25846
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x58")]
|
|
[Token(Token = "0x40064F6")]
|
|
private byte[] currentBlock;
|
|
|
|
// Token: 0x040064F7 RID: 25847
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x60")]
|
|
[Token(Token = "0x40064F7")]
|
|
private int currentBlockOffset;
|
|
|
|
// Token: 0x040064F8 RID: 25848
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x64")]
|
|
[Token(Token = "0x40064F8")]
|
|
private uint h0;
|
|
|
|
// Token: 0x040064F9 RID: 25849
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x68")]
|
|
[Token(Token = "0x40064F9")]
|
|
private uint h1;
|
|
|
|
// Token: 0x040064FA RID: 25850
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x6C")]
|
|
[Token(Token = "0x40064FA")]
|
|
private uint h2;
|
|
|
|
// Token: 0x040064FB RID: 25851
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x70")]
|
|
[Token(Token = "0x40064FB")]
|
|
private uint h3;
|
|
|
|
// Token: 0x040064FC RID: 25852
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x74")]
|
|
[Token(Token = "0x40064FC")]
|
|
private uint h4;
|
|
}
|
|
}
|