99 lines
4.8 KiB
C#
99 lines
4.8 KiB
C#
using System;
|
|
using BestHTTP.SecureProtocol.Org.BouncyCastle.Math;
|
|
using Cpp2IlInjected;
|
|
|
|
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Agreement.JPake
|
|
{
|
|
// Token: 0x02001D1A RID: 7450
|
|
[Token(Token = "0x2001D1A")]
|
|
public class JPakePrimeOrderGroup
|
|
{
|
|
// Token: 0x0600BCAC RID: 48300 RVA: 0x002AEE88 File Offset: 0x002AD088
|
|
[Token(Token = "0x600BCAC")]
|
|
[Address(RVA = "0x200C470", Offset = "0x200B270", VA = "0x18200C470")]
|
|
public JPakePrimeOrderGroup(BigInteger p, BigInteger q, BigInteger g)
|
|
{
|
|
}
|
|
|
|
// Token: 0x0600BCAD RID: 48301 RVA: 0x002AEE98 File Offset: 0x002AD098
|
|
[Token(Token = "0x600BCAD")]
|
|
[Address(RVA = "0x200C000", Offset = "0x200AE00", VA = "0x18200C000")]
|
|
public JPakePrimeOrderGroup(BigInteger p, BigInteger q, BigInteger g, bool skipChecks)
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (0600BCAD)
|
|
|
|
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Agreement.JPake.JPakePrimeOrderGroup::.ctor(BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger,BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger,BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger,System.Boolean)
|
|
|
|
---> System.Exception: Basic block has to end with unconditional control flow.
|
|
{
|
|
IL_A1:
|
|
stloc:ArgumentException(var_6_AB, newobj:ArgumentException(ArgumentException::.ctor, ldstr:string("p must be prime")))
|
|
}
|
|
|
|
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 1660
|
|
*/;
|
|
}
|
|
|
|
// Token: 0x17001D38 RID: 7480
|
|
// (get) Token: 0x0600BCAE RID: 48302 RVA: 0x002AEF54 File Offset: 0x002AD154
|
|
[Token(Token = "0x17001D38")]
|
|
public virtual BigInteger P
|
|
{
|
|
[Token(Token = "0x600BCAE")]
|
|
[Address(RVA = "0x3F6E20", Offset = "0x3F5C20", VA = "0x1803F6E20", Slot = "4")]
|
|
get
|
|
{
|
|
return this.p;
|
|
}
|
|
}
|
|
|
|
// Token: 0x17001D39 RID: 7481
|
|
// (get) Token: 0x0600BCAF RID: 48303 RVA: 0x002AEF68 File Offset: 0x002AD168
|
|
[Token(Token = "0x17001D39")]
|
|
public virtual BigInteger Q
|
|
{
|
|
[Token(Token = "0x600BCAF")]
|
|
[Address(RVA = "0x3F5F40", Offset = "0x3F4D40", VA = "0x1803F5F40", Slot = "5")]
|
|
get
|
|
{
|
|
return this.q;
|
|
}
|
|
}
|
|
|
|
// Token: 0x17001D3A RID: 7482
|
|
// (get) Token: 0x0600BCB0 RID: 48304 RVA: 0x002AEF7C File Offset: 0x002AD17C
|
|
[Token(Token = "0x17001D3A")]
|
|
public virtual BigInteger G
|
|
{
|
|
[Token(Token = "0x600BCB0")]
|
|
[Address(RVA = "0x3F6400", Offset = "0x3F5200", VA = "0x1803F6400", Slot = "6")]
|
|
get
|
|
{
|
|
return this.g;
|
|
}
|
|
}
|
|
|
|
// Token: 0x04007831 RID: 30769
|
|
[FieldOffset(Offset = "0x10")]
|
|
[Token(Token = "0x4007831")]
|
|
private readonly BigInteger p;
|
|
|
|
// Token: 0x04007832 RID: 30770
|
|
[FieldOffset(Offset = "0x18")]
|
|
[Token(Token = "0x4007832")]
|
|
private readonly BigInteger q;
|
|
|
|
// Token: 0x04007833 RID: 30771
|
|
[FieldOffset(Offset = "0x20")]
|
|
[Token(Token = "0x4007833")]
|
|
private readonly BigInteger g;
|
|
}
|
|
}
|