scripts
This commit is contained in:
+485
@@ -0,0 +1,485 @@
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Signers
|
||||
{
|
||||
// Token: 0x020015D8 RID: 5592
|
||||
[Token(Token = "0x20015D8")]
|
||||
[StructLayout(3)]
|
||||
public class Iso9796d2Signer : ISignerWithRecovery, ISigner
|
||||
{
|
||||
// Token: 0x06009575 RID: 38261 RVA: 0x00211BD4 File Offset: 0x0020FDD4
|
||||
[Token(Token = "0x6009575")]
|
||||
[Address(RVA = "0x3D32F0", Offset = "0x3D1CF0", VA = "0x1803D32F0", Slot = "5")]
|
||||
public byte[] GetRecoveredMessage()
|
||||
{
|
||||
return this.recoveredMessage;
|
||||
}
|
||||
|
||||
// Token: 0x06009576 RID: 38262 RVA: 0x00211BE8 File Offset: 0x0020FDE8
|
||||
[Token(Token = "0x6009576")]
|
||||
[Address(RVA = "0x1E46B20", Offset = "0x1E45520", VA = "0x181E46B20")]
|
||||
public Iso9796d2Signer(IAsymmetricBlockCipher cipher, IDigest digest, bool isImplicit)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (06009576)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Signers.Iso9796d2Signer::.ctor(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.IAsymmetricBlockCipher,BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.IDigest,System.Boolean)
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
IL_3D:
|
||||
stloc:ArgumentException(var_1_4C, newobj:ArgumentException(ArgumentException::.ctor, ldstr:string("no valid trailer"), ldstr:string("digest")))
|
||||
}
|
||||
|
||||
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.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: 0x06009577 RID: 38263 RVA: 0x00211C44 File Offset: 0x0020FE44
|
||||
[Token(Token = "0x6009577")]
|
||||
[Address(RVA = "0x1E46C20", Offset = "0x1E45620", VA = "0x181E46C20")]
|
||||
public Iso9796d2Signer(IAsymmetricBlockCipher cipher, IDigest digest)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (06009577)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Signers.Iso9796d2Signer::.ctor(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.IAsymmetricBlockCipher,BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.IDigest)
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
IL_2C:
|
||||
stloc:ArgumentException(var_1_3B, newobj:ArgumentException(ArgumentException::.ctor, ldstr:string("no valid trailer"), ldstr:string("digest")))
|
||||
}
|
||||
|
||||
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: 0x170017E9 RID: 6121
|
||||
// (get) Token: 0x06009578 RID: 38264 RVA: 0x00211C8C File Offset: 0x0020FE8C
|
||||
[Token(Token = "0x170017E9")]
|
||||
public virtual string AlgorithmName
|
||||
{
|
||||
[Token(Token = "0x6009578")]
|
||||
[Address(RVA = "0x1E46D10", Offset = "0x1E45710", VA = "0x181E46D10", Slot = "14")]
|
||||
get
|
||||
{
|
||||
IDigest digest = this.digest;
|
||||
return 0 + "withISO9796-2S1";
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06009579 RID: 38265 RVA: 0x00211CB4 File Offset: 0x0020FEB4
|
||||
[Token(Token = "0x6009579")]
|
||||
[Address(RVA = "0x1E45B90", Offset = "0x1E44590", VA = "0x181E45B90", Slot = "15")]
|
||||
public virtual void Init(bool forSigning, ICipherParameters parameters)
|
||||
{
|
||||
do
|
||||
{
|
||||
if (parameters == 0)
|
||||
{
|
||||
}
|
||||
}
|
||||
while (parameters == 0);
|
||||
IAsymmetricBlockCipher asymmetricBlockCipher = this.cipher;
|
||||
int num = 0;
|
||||
int num2;
|
||||
this.keyBits = num2;
|
||||
num2 += 7;
|
||||
num += num2;
|
||||
byte[] array = new byte[num];
|
||||
this.block = array;
|
||||
if (this.trailer != 188)
|
||||
{
|
||||
IDigest digest = this.digest;
|
||||
int num3 = array.Length;
|
||||
num3 -= array;
|
||||
num3 += -3;
|
||||
}
|
||||
IDigest digest2 = this.digest;
|
||||
int num4 = array.Length;
|
||||
num4 -= array;
|
||||
num4 += -2;
|
||||
byte[] array2 = new byte[num4];
|
||||
this.mBuf = array2;
|
||||
string algorithmName = ((ISigner)this).AlgorithmName;
|
||||
}
|
||||
|
||||
// Token: 0x0600957A RID: 38266 RVA: 0x00211D5C File Offset: 0x0020FF5C
|
||||
[Token(Token = "0x600957A")]
|
||||
[Address(RVA = "0x1E45D20", Offset = "0x1E44720", VA = "0x181E45D20")]
|
||||
private bool IsSameAs(byte[] a, byte[] b)
|
||||
{
|
||||
byte[] array = this.mBuf;
|
||||
int num = this.messageLength;
|
||||
int num2 = array.Length;
|
||||
int length = b.Length;
|
||||
if (num == length)
|
||||
{
|
||||
num2 = length;
|
||||
int length2 = b.Length;
|
||||
int num3 = 0;
|
||||
if (num2 != 0)
|
||||
{
|
||||
num3++;
|
||||
while (num3 != num2)
|
||||
{
|
||||
}
|
||||
}
|
||||
return true;
|
||||
}
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x0600957B RID: 38267 RVA: 0x00211DB0 File Offset: 0x0020FFB0
|
||||
[Token(Token = "0x600957B")]
|
||||
[Address(RVA = "0x1E43A90", Offset = "0x1E42490", VA = "0x181E43A90")]
|
||||
private void ClearBlock(byte[] block)
|
||||
{
|
||||
int length = block.Length;
|
||||
int num = 0;
|
||||
Array.Clear(block, num, length);
|
||||
}
|
||||
|
||||
// Token: 0x0600957C RID: 38268 RVA: 0x00211DD4 File Offset: 0x0020FFD4
|
||||
[Token(Token = "0x600957C")]
|
||||
[Address(RVA = "0x1E45F00", Offset = "0x1E44900", VA = "0x181E45F00", Slot = "16")]
|
||||
public virtual void UpdateWithRecoveredMessage(byte[] signature)
|
||||
{
|
||||
int length;
|
||||
for (;;)
|
||||
{
|
||||
IAsymmetricBlockCipher asymmetricBlockCipher = this.cipher;
|
||||
length = signature.Length;
|
||||
uint num;
|
||||
if (length == 192 && num == (uint)15)
|
||||
{
|
||||
if (num != (uint)0)
|
||||
{
|
||||
if (IsoTrailers.NoTrailerAvailable(this.digest))
|
||||
{
|
||||
continue;
|
||||
}
|
||||
int num2 = IsoTrailers.GetTrailer(this.digest);
|
||||
}
|
||||
int num3 = 0;
|
||||
int num4 = 0;
|
||||
if (num4 != asymmetricBlockCipher && num != (uint)15)
|
||||
{
|
||||
num3++;
|
||||
}
|
||||
IDigest digest = this.digest;
|
||||
uint num5;
|
||||
num5 -= (uint)num3;
|
||||
uint num6;
|
||||
num5 -= num6;
|
||||
num5 -= 1U;
|
||||
if (num5 > (uint)0)
|
||||
{
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
this.fullMessage = false;
|
||||
this.fullMessage = true;
|
||||
byte[] array = new byte[1];
|
||||
this.recoveredMessage = array;
|
||||
int length2 = array.Length;
|
||||
byte[] array2 = this.recoveredMessage;
|
||||
this.preSig = signature;
|
||||
this.preBlock = length;
|
||||
IDigest digest2 = this.digest;
|
||||
int length3 = array2.Length;
|
||||
int length4 = this.recoveredMessage.Length;
|
||||
byte[] array3 = this.mBuf;
|
||||
this.messageLength = length4;
|
||||
}
|
||||
|
||||
// Token: 0x0600957D RID: 38269 RVA: 0x00211EE8 File Offset: 0x002100E8
|
||||
[Token(Token = "0x600957D")]
|
||||
[Address(RVA = "0x1E462F0", Offset = "0x1E44CF0", VA = "0x181E462F0", Slot = "17")]
|
||||
public virtual void Update(byte input)
|
||||
{
|
||||
IDigest digest = this.digest;
|
||||
byte[] array = this.mBuf;
|
||||
int num = this.messageLength;
|
||||
int length = array.Length;
|
||||
if (num < length)
|
||||
{
|
||||
}
|
||||
num++;
|
||||
this.messageLength = num;
|
||||
}
|
||||
|
||||
// Token: 0x0600957E RID: 38270 RVA: 0x00211F28 File Offset: 0x00210128
|
||||
[Token(Token = "0x600957E")]
|
||||
[Address(RVA = "0x1E45750", Offset = "0x1E44150", VA = "0x181E45750", Slot = "18")]
|
||||
public virtual void BlockUpdate(byte[] input, int inOff, int length)
|
||||
{
|
||||
if (length > 0)
|
||||
{
|
||||
int length2 = this.mBuf.Length;
|
||||
if (this.messageLength < length2)
|
||||
{
|
||||
}
|
||||
}
|
||||
IDigest digest = this.digest;
|
||||
}
|
||||
|
||||
// Token: 0x0600957F RID: 38271 RVA: 0x00211F60 File Offset: 0x00210160
|
||||
[Token(Token = "0x600957F")]
|
||||
[Address(RVA = "0x1E45DF0", Offset = "0x1E447F0", VA = "0x181E45DF0", Slot = "19")]
|
||||
public virtual void Reset()
|
||||
{
|
||||
IDigest digest = this.digest;
|
||||
byte[] array = this.mBuf;
|
||||
int num = 0;
|
||||
this.messageLength = num;
|
||||
int length = array.Length;
|
||||
int num2 = 0;
|
||||
Array.Clear(array, num2, length);
|
||||
byte[] array2 = this.recoveredMessage;
|
||||
if (array2 != 0)
|
||||
{
|
||||
int length2 = array2.Length;
|
||||
int num3 = 0;
|
||||
Array.Clear(array2, num3, length2);
|
||||
}
|
||||
this.recoveredMessage = num;
|
||||
this.fullMessage = num != 0;
|
||||
if (this.preSig != num)
|
||||
{
|
||||
byte[] array3 = this.preBlock;
|
||||
this.preSig = num;
|
||||
int length3 = array3.Length;
|
||||
int num4 = 0;
|
||||
Array.Clear(array3, num4, length3);
|
||||
this.preBlock = num;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06009580 RID: 38272 RVA: 0x00212008 File Offset: 0x00210208
|
||||
[Token(Token = "0x6009580")]
|
||||
[Address(RVA = "0x1E45830", Offset = "0x1E44230", VA = "0x181E45830", Slot = "20")]
|
||||
public virtual byte[] GenerateSignature()
|
||||
{
|
||||
IDigest digest = this.digest;
|
||||
byte[] array = this.block;
|
||||
if (this.trailer != 188)
|
||||
{
|
||||
int length = array.Length;
|
||||
IDigest digest2 = this.digest;
|
||||
int length2 = this.block.Length;
|
||||
int num = this.trailer;
|
||||
int length3 = this.block.Length;
|
||||
int num2 = this.trailer;
|
||||
int num3 = length3 - 1;
|
||||
}
|
||||
int num4 = array.Length;
|
||||
IDigest digest3 = this.digest;
|
||||
int num5 = this.block.Length;
|
||||
int num6 = num5 - 1;
|
||||
int num7 = this.messageLength;
|
||||
uint num8;
|
||||
num5 += (int)num8;
|
||||
num5 += 7;
|
||||
num5 += (int)num8;
|
||||
num7 -= num5;
|
||||
num4 -= num7;
|
||||
byte[] array2 = this.block;
|
||||
int num9 = 0;
|
||||
Array.Copy(this.mBuf, num9, array2, num4, num7);
|
||||
int num10 = num4 - 1;
|
||||
byte[] array3 = this.block;
|
||||
byte[] array4 = this.block;
|
||||
byte[] array5 = this.block;
|
||||
while (num10 != array5.Length)
|
||||
{
|
||||
}
|
||||
byte[] array6 = this.block;
|
||||
byte[] array7 = this.block;
|
||||
byte[] array8 = this.block;
|
||||
byte[] array9 = this.block;
|
||||
IAsymmetricBlockCipher asymmetricBlockCipher = this.cipher;
|
||||
int length4 = array9.Length;
|
||||
byte[] array10 = this.mBuf;
|
||||
this.messageLength = (int)((ulong)0L);
|
||||
int length5 = array10.Length;
|
||||
int num11 = 0;
|
||||
Array.Clear(array10, num11, length5);
|
||||
byte[] array11 = this.block;
|
||||
int length6 = array11.Length;
|
||||
int num12 = 0;
|
||||
Array.Clear(array11, num12, length6);
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x06009581 RID: 38273 RVA: 0x0021218C File Offset: 0x0021038C
|
||||
[Token(Token = "0x6009581")]
|
||||
[Address(RVA = "0x1E46390", Offset = "0x1E44D90", VA = "0x181E46390", Slot = "21")]
|
||||
public virtual bool VerifySignature(byte[] signature)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (06009581)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Signers.Iso9796d2Signer::VerifySignature(System.Byte[])
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
IL_21E:
|
||||
stloc:InvalidOperationException(var_42_22F, newobj:InvalidOperationException(InvalidOperationException::.ctor, call:string(string::Concat, ldstr:string[exp:object]("signer initialised with wrong digest for trailer "), ldloc:InvalidOperationException[exp:object](var_41))))
|
||||
}
|
||||
|
||||
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: 0x06009582 RID: 38274 RVA: 0x002123CC File Offset: 0x002105CC
|
||||
[Token(Token = "0x6009582")]
|
||||
[Address(RVA = "0x1E45EB0", Offset = "0x1E448B0", VA = "0x181E45EB0")]
|
||||
private bool ReturnFalse(byte[] block)
|
||||
{
|
||||
this.messageLength = (int)((ulong)0L);
|
||||
byte[] array = this.mBuf;
|
||||
int length = array.Length;
|
||||
int num = 0;
|
||||
Array.Clear(array, num, length);
|
||||
int length2 = block.Length;
|
||||
int num2 = 0;
|
||||
Array.Clear(block, num2, length2);
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x06009583 RID: 38275 RVA: 0x00212418 File Offset: 0x00210618
|
||||
[Token(Token = "0x6009583")]
|
||||
[Address(RVA = "0x3C1C60", Offset = "0x3C0660", VA = "0x1803C1C60", Slot = "22")]
|
||||
public virtual bool HasFullMessage()
|
||||
{
|
||||
return this.fullMessage;
|
||||
}
|
||||
|
||||
// Token: 0x040062A2 RID: 25250
|
||||
[Token(Token = "0x40062A2")]
|
||||
[Obsolete]
|
||||
public const int TrailerImplicit = 188;
|
||||
|
||||
// Token: 0x040062A3 RID: 25251
|
||||
[Token(Token = "0x40062A3")]
|
||||
[Obsolete]
|
||||
public const int TrailerRipeMD160 = 12748;
|
||||
|
||||
// Token: 0x040062A4 RID: 25252
|
||||
[Token(Token = "0x40062A4")]
|
||||
[Obsolete]
|
||||
public const int TrailerRipeMD128 = 13004;
|
||||
|
||||
// Token: 0x040062A5 RID: 25253
|
||||
[Token(Token = "0x40062A5")]
|
||||
[Obsolete]
|
||||
public const int TrailerSha1 = 13260;
|
||||
|
||||
// Token: 0x040062A6 RID: 25254
|
||||
[Token(Token = "0x40062A6")]
|
||||
[Obsolete]
|
||||
public const int TrailerSha256 = 13516;
|
||||
|
||||
// Token: 0x040062A7 RID: 25255
|
||||
[Token(Token = "0x40062A7")]
|
||||
[Obsolete]
|
||||
public const int TrailerSha512 = 13772;
|
||||
|
||||
// Token: 0x040062A8 RID: 25256
|
||||
[Token(Token = "0x40062A8")]
|
||||
[Obsolete]
|
||||
public const int TrailerSha384 = 14028;
|
||||
|
||||
// Token: 0x040062A9 RID: 25257
|
||||
[Token(Token = "0x40062A9")]
|
||||
[Obsolete]
|
||||
public const int TrailerWhirlpool = 14284;
|
||||
|
||||
// Token: 0x040062AA RID: 25258
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x40062AA")]
|
||||
private IDigest digest;
|
||||
|
||||
// Token: 0x040062AB RID: 25259
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x40062AB")]
|
||||
private IAsymmetricBlockCipher cipher;
|
||||
|
||||
// Token: 0x040062AC RID: 25260
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x40062AC")]
|
||||
private int trailer;
|
||||
|
||||
// Token: 0x040062AD RID: 25261
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x24")]
|
||||
[Token(Token = "0x40062AD")]
|
||||
private int keyBits;
|
||||
|
||||
// Token: 0x040062AE RID: 25262
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x28")]
|
||||
[Token(Token = "0x40062AE")]
|
||||
private byte[] block;
|
||||
|
||||
// Token: 0x040062AF RID: 25263
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x30")]
|
||||
[Token(Token = "0x40062AF")]
|
||||
private byte[] mBuf;
|
||||
|
||||
// Token: 0x040062B0 RID: 25264
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x38")]
|
||||
[Token(Token = "0x40062B0")]
|
||||
private int messageLength;
|
||||
|
||||
// Token: 0x040062B1 RID: 25265
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x3C")]
|
||||
[Token(Token = "0x40062B1")]
|
||||
private bool fullMessage;
|
||||
|
||||
// Token: 0x040062B2 RID: 25266
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x40")]
|
||||
[Token(Token = "0x40062B2")]
|
||||
private byte[] recoveredMessage;
|
||||
|
||||
// Token: 0x040062B3 RID: 25267
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x48")]
|
||||
[Token(Token = "0x40062B3")]
|
||||
private byte[] preSig;
|
||||
|
||||
// Token: 0x040062B4 RID: 25268
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x50")]
|
||||
[Token(Token = "0x40062B4")]
|
||||
private byte[] preBlock;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user