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: 0x02001DFA RID: 7674
|
|
[Token(Token = "0x2001DFA")]
|
|
public class JPakePrimeOrderGroup
|
|
{
|
|
// Token: 0x0600C07A RID: 49274 RVA: 0x002B76F0 File Offset: 0x002B58F0
|
|
[Token(Token = "0x600C07A")]
|
|
[Address(RVA = "0x25A7360", Offset = "0x25A6360", VA = "0x1825A7360")]
|
|
public JPakePrimeOrderGroup(BigInteger p, BigInteger q, BigInteger g)
|
|
{
|
|
}
|
|
|
|
// Token: 0x0600C07B RID: 49275 RVA: 0x002B7700 File Offset: 0x002B5900
|
|
[Token(Token = "0x600C07B")]
|
|
[Address(RVA = "0x25A6EF0", Offset = "0x25A5EF0", VA = "0x1825A6EF0")]
|
|
public JPakePrimeOrderGroup(BigInteger p, BigInteger q, BigInteger g, bool skipChecks)
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (0600C07B)
|
|
|
|
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 1663
|
|
*/;
|
|
}
|
|
|
|
// Token: 0x17001DD5 RID: 7637
|
|
// (get) Token: 0x0600C07C RID: 49276 RVA: 0x002B77BC File Offset: 0x002B59BC
|
|
[Token(Token = "0x17001DD5")]
|
|
public virtual BigInteger P
|
|
{
|
|
[Token(Token = "0x600C07C")]
|
|
[Address(RVA = "0x411530", Offset = "0x410530", VA = "0x180411530", Slot = "4")]
|
|
get
|
|
{
|
|
return this.p;
|
|
}
|
|
}
|
|
|
|
// Token: 0x17001DD6 RID: 7638
|
|
// (get) Token: 0x0600C07D RID: 49277 RVA: 0x002B77D0 File Offset: 0x002B59D0
|
|
[Token(Token = "0x17001DD6")]
|
|
public virtual BigInteger Q
|
|
{
|
|
[Token(Token = "0x600C07D")]
|
|
[Address(RVA = "0x4157B0", Offset = "0x4147B0", VA = "0x1804157B0", Slot = "5")]
|
|
get
|
|
{
|
|
return this.q;
|
|
}
|
|
}
|
|
|
|
// Token: 0x17001DD7 RID: 7639
|
|
// (get) Token: 0x0600C07E RID: 49278 RVA: 0x002B77E4 File Offset: 0x002B59E4
|
|
[Token(Token = "0x17001DD7")]
|
|
public virtual BigInteger G
|
|
{
|
|
[Token(Token = "0x600C07E")]
|
|
[Address(RVA = "0x4157C0", Offset = "0x4147C0", VA = "0x1804157C0", Slot = "6")]
|
|
get
|
|
{
|
|
return this.g;
|
|
}
|
|
}
|
|
|
|
// Token: 0x040079EA RID: 31210
|
|
[FieldOffset(Offset = "0x10")]
|
|
[Token(Token = "0x40079EA")]
|
|
private readonly BigInteger p;
|
|
|
|
// Token: 0x040079EB RID: 31211
|
|
[FieldOffset(Offset = "0x18")]
|
|
[Token(Token = "0x40079EB")]
|
|
private readonly BigInteger q;
|
|
|
|
// Token: 0x040079EC RID: 31212
|
|
[FieldOffset(Offset = "0x20")]
|
|
[Token(Token = "0x40079EC")]
|
|
private readonly BigInteger g;
|
|
}
|
|
}
|