m
This commit is contained in:
+174
@@ -0,0 +1,174 @@
|
||||
using System;
|
||||
using BestHTTP.SecureProtocol.Org.BouncyCastle.Math;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters
|
||||
{
|
||||
// Token: 0x02001CDB RID: 7387
|
||||
[Token(Token = "0x2001CDB")]
|
||||
public class Gost3410Parameters : ICipherParameters
|
||||
{
|
||||
// Token: 0x0600B6E8 RID: 46824 RVA: 0x00279504 File Offset: 0x00277704
|
||||
[Token(Token = "0x600B6E8")]
|
||||
[Address(RVA = "0x22DA5A0", Offset = "0x22D95A0", VA = "0x1822DA5A0")]
|
||||
public Gost3410Parameters(BigInteger p, BigInteger q, BigInteger a)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600B6E8)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.Gost3410Parameters::.ctor(BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger,BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger,BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger)
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
IL_3C:
|
||||
stloc:ArgumentNullException(var_1_46, newobj:ArgumentNullException(ArgumentNullException::.ctor, ldstr:string("q")))
|
||||
}
|
||||
|
||||
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: 0x0600B6E9 RID: 46825 RVA: 0x00279558 File Offset: 0x00277758
|
||||
[Token(Token = "0x600B6E9")]
|
||||
[Address(RVA = "0x22DA6C0", Offset = "0x22D96C0", VA = "0x1822DA6C0")]
|
||||
public Gost3410Parameters(BigInteger p, BigInteger q, BigInteger a, Gost3410ValidationParameters validation)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600B6E9)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.Gost3410Parameters::.ctor(BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger,BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger,BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger,BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters.Gost3410ValidationParameters)
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
IL_3A:
|
||||
stloc:ArgumentNullException(var_1_44, newobj:ArgumentNullException(ArgumentNullException::.ctor, ldstr:string("q")))
|
||||
}
|
||||
|
||||
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: 0x17001CCB RID: 7371
|
||||
// (get) Token: 0x0600B6EA RID: 46826 RVA: 0x002795AC File Offset: 0x002777AC
|
||||
[Token(Token = "0x17001CCB")]
|
||||
public BigInteger P
|
||||
{
|
||||
[Token(Token = "0x600B6EA")]
|
||||
[Address(RVA = "0x411530", Offset = "0x410530", VA = "0x180411530")]
|
||||
get
|
||||
{
|
||||
return this.p;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001CCC RID: 7372
|
||||
// (get) Token: 0x0600B6EB RID: 46827 RVA: 0x002795C0 File Offset: 0x002777C0
|
||||
[Token(Token = "0x17001CCC")]
|
||||
public BigInteger Q
|
||||
{
|
||||
[Token(Token = "0x600B6EB")]
|
||||
[Address(RVA = "0x4157B0", Offset = "0x4147B0", VA = "0x1804157B0")]
|
||||
get
|
||||
{
|
||||
return this.q;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001CCD RID: 7373
|
||||
// (get) Token: 0x0600B6EC RID: 46828 RVA: 0x002795D4 File Offset: 0x002777D4
|
||||
[Token(Token = "0x17001CCD")]
|
||||
public BigInteger A
|
||||
{
|
||||
[Token(Token = "0x600B6EC")]
|
||||
[Address(RVA = "0x4157C0", Offset = "0x4147C0", VA = "0x1804157C0")]
|
||||
get
|
||||
{
|
||||
return this.a;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001CCE RID: 7374
|
||||
// (get) Token: 0x0600B6ED RID: 46829 RVA: 0x002795E8 File Offset: 0x002777E8
|
||||
[Token(Token = "0x17001CCE")]
|
||||
public Gost3410ValidationParameters ValidationParameters
|
||||
{
|
||||
[Token(Token = "0x600B6ED")]
|
||||
[Address(RVA = "0x4157D0", Offset = "0x4147D0", VA = "0x1804157D0")]
|
||||
get
|
||||
{
|
||||
return this.validation;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600B6EE RID: 46830 RVA: 0x002795FC File Offset: 0x002777FC
|
||||
[Token(Token = "0x600B6EE")]
|
||||
[Address(RVA = "0x22DA480", Offset = "0x22D9480", VA = "0x1822DA480", Slot = "0")]
|
||||
public override bool Equals(object obj)
|
||||
{
|
||||
if (obj != this)
|
||||
{
|
||||
if (obj != 0 && obj != 0)
|
||||
{
|
||||
BigInteger bigInteger = this.p;
|
||||
BigInteger bigInteger2 = this.q;
|
||||
BigInteger bigInteger3 = this.a;
|
||||
}
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
// Token: 0x0600B6EF RID: 46831 RVA: 0x00279638 File Offset: 0x00277838
|
||||
[Token(Token = "0x600B6EF")]
|
||||
[Address(RVA = "0x22D3380", Offset = "0x22D2380", VA = "0x1822D3380")]
|
||||
protected bool Equals(Gost3410Parameters other)
|
||||
{
|
||||
BigInteger bigInteger = this.p;
|
||||
BigInteger bigInteger2 = this.q;
|
||||
BigInteger bigInteger3 = this.a;
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x0600B6F0 RID: 46832 RVA: 0x00279664 File Offset: 0x00277864
|
||||
[Token(Token = "0x600B6F0")]
|
||||
[Address(RVA = "0x22D3420", Offset = "0x22D2420", VA = "0x1822D3420", Slot = "2")]
|
||||
public override int GetHashCode()
|
||||
{
|
||||
this.p.Finalize();
|
||||
this.q.Finalize();
|
||||
this.a.Finalize();
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x0400739A RID: 29594
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x400739A")]
|
||||
private readonly BigInteger p;
|
||||
|
||||
// Token: 0x0400739B RID: 29595
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x400739B")]
|
||||
private readonly BigInteger q;
|
||||
|
||||
// Token: 0x0400739C RID: 29596
|
||||
[FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x400739C")]
|
||||
private readonly BigInteger a;
|
||||
|
||||
// Token: 0x0400739D RID: 29597
|
||||
[FieldOffset(Offset = "0x28")]
|
||||
[Token(Token = "0x400739D")]
|
||||
private readonly Gost3410ValidationParameters validation;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user