304 lines
18 KiB
C#
304 lines
18 KiB
C#
using System;
|
|
using Cpp2IlInjected;
|
|
|
|
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Math.EC
|
|
{
|
|
// Token: 0x020019F2 RID: 6642
|
|
[Token(Token = "0x20019F2")]
|
|
public class FpCurve : AbstractFpCurve
|
|
{
|
|
// Token: 0x0600A05E RID: 41054 RVA: 0x002245D0 File Offset: 0x002227D0
|
|
[Token(Token = "0x600A05E")]
|
|
[Address(RVA = "0x20A4EB0", Offset = "0x20A3CB0", VA = "0x1820A4EB0")]
|
|
[Obsolete]
|
|
public FpCurve(BigInteger q, BigInteger a, BigInteger b)
|
|
: base(q)
|
|
{
|
|
this.m_q = q;
|
|
BigInteger bigInteger = FpFieldElement.CalculateResidue(q);
|
|
this.m_r = bigInteger;
|
|
int num;
|
|
int num2;
|
|
ulong num3;
|
|
FpPoint fpPoint = new FpPoint(this, num, num2, num3 != 0UL);
|
|
num2 = 0;
|
|
num = 0;
|
|
this.m_infinity = fpPoint;
|
|
int fieldSize = this.FieldSize;
|
|
this.m_a = fieldSize;
|
|
int fieldSize2 = this.FieldSize;
|
|
this.m_b = fieldSize2;
|
|
this.m_order = (ulong)0L;
|
|
this.m_cofactor = (ulong)0L;
|
|
this.m_coord = (int)((ulong)4L);
|
|
}
|
|
|
|
// Token: 0x0600A05F RID: 41055 RVA: 0x0022464C File Offset: 0x0022284C
|
|
[Token(Token = "0x600A05F")]
|
|
[Address(RVA = "0x20A4DA0", Offset = "0x20A3BA0", VA = "0x1820A4DA0")]
|
|
public FpCurve(BigInteger q, BigInteger a, BigInteger b, BigInteger order, BigInteger cofactor)
|
|
: base(q)
|
|
{
|
|
this.m_q = q;
|
|
BigInteger bigInteger = FpFieldElement.CalculateResidue(q);
|
|
this.m_r = bigInteger;
|
|
int num;
|
|
int num2;
|
|
ulong num3;
|
|
FpPoint fpPoint = new FpPoint(this, num, num2, num3 != 0UL);
|
|
num2 = 0;
|
|
num = 0;
|
|
this.m_infinity = fpPoint;
|
|
int fieldSize = this.FieldSize;
|
|
this.m_a = fieldSize;
|
|
int fieldSize2 = this.FieldSize;
|
|
this.m_b = fieldSize2;
|
|
this.m_order = 0;
|
|
this.m_cofactor = 0;
|
|
this.m_coord = (int)((ulong)4L);
|
|
}
|
|
|
|
// Token: 0x0600A060 RID: 41056 RVA: 0x002246C4 File Offset: 0x002228C4
|
|
[Token(Token = "0x600A060")]
|
|
[Address(RVA = "0x20A4C90", Offset = "0x20A3A90", VA = "0x1820A4C90")]
|
|
[Obsolete]
|
|
protected FpCurve(BigInteger q, BigInteger r, ECFieldElement a, ECFieldElement b)
|
|
{
|
|
}
|
|
|
|
// Token: 0x0600A061 RID: 41057 RVA: 0x002246D4 File Offset: 0x002228D4
|
|
[Token(Token = "0x600A061")]
|
|
[Address(RVA = "0x20A4CC0", Offset = "0x20A3AC0", VA = "0x1820A4CC0")]
|
|
protected FpCurve(BigInteger q, BigInteger r, ECFieldElement a, ECFieldElement b, BigInteger order, BigInteger cofactor)
|
|
: base(q)
|
|
{
|
|
this.m_q = q;
|
|
this.m_r = r;
|
|
int num;
|
|
int num2;
|
|
ulong num3;
|
|
FpPoint fpPoint = new FpPoint(this, num, num2, num3 != 0UL);
|
|
num2 = 0;
|
|
num = 0;
|
|
this.m_b = 0;
|
|
this.m_order = 0;
|
|
this.m_a = a;
|
|
this.m_cofactor = 0;
|
|
this.m_infinity = fpPoint;
|
|
this.m_coord = (int)((ulong)4L);
|
|
}
|
|
|
|
// Token: 0x0600A062 RID: 41058 RVA: 0x00224734 File Offset: 0x00222934
|
|
[Token(Token = "0x600A062")]
|
|
[Address(RVA = "0x20A4700", Offset = "0x20A3500", VA = "0x1820A4700", Slot = "12")]
|
|
protected override ECCurve CloneCurve()
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (0600A062)
|
|
|
|
ICSharpCode.Decompiler.DecompilerException: Error decompiling BestHTTP.SecureProtocol.Org.BouncyCastle.Math.EC.ECCurve BestHTTP.SecureProtocol.Org.BouncyCastle.Math.EC.FpCurve::CloneCurve()
|
|
|
|
---> System.Exception: Basic block has to end with unconditional control flow.
|
|
{
|
|
Block_0:
|
|
stloc:BigInteger(var_0_06, ldfld:BigInteger(FpCurve::m_q, ldloc:FpCurve(this)))
|
|
stloc:BigInteger(var_1_0D, ldfld:BigInteger(FpCurve::m_r, ldloc:FpCurve(this)))
|
|
stloc:ECFieldElement(var_2_14, ldfld:ECFieldElement(ECCurve::m_a, ldloc:FpCurve[exp:ECCurve](this)))
|
|
stloc:ECFieldElement(var_3_1B, ldfld:ECFieldElement(ECCurve::m_b, ldloc:FpCurve[exp:ECCurve](this)))
|
|
stloc:BigInteger(var_4_22, ldfld:BigInteger(ECCurve::m_order, ldloc:FpCurve[exp:ECCurve](this)))
|
|
stloc:BigInteger(var_5_2A, ldfld:BigInteger(ECCurve::m_cofactor, ldloc:FpCurve[exp:ECCurve](this)))
|
|
stloc:FpCurve(var_6_39, newobj:FpCurve(FpCurve::.ctor, ldloc:BigInteger(var_0_06), ldloc:BigInteger(var_1_0D), ldloc:ECFieldElement(var_2_14), ldloc:ECFieldElement(var_3_1B), ldloc:BigInteger(var_4_22), ldloc:BigInteger(var_5_2A)))
|
|
}
|
|
|
|
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: 0x0600A063 RID: 41059 RVA: 0x0022477C File Offset: 0x0022297C
|
|
[Token(Token = "0x600A063")]
|
|
[Address(RVA = "0x20A4C80", Offset = "0x20A3A80", VA = "0x1820A4C80", Slot = "16")]
|
|
public override bool SupportsCoordinateSystem(int coord)
|
|
{
|
|
if (coord <= 2 || coord != 4)
|
|
{
|
|
}
|
|
return true;
|
|
}
|
|
|
|
// Token: 0x17001948 RID: 6472
|
|
// (get) Token: 0x0600A064 RID: 41060 RVA: 0x00224794 File Offset: 0x00222994
|
|
[Token(Token = "0x17001948")]
|
|
public virtual BigInteger Q
|
|
{
|
|
[Token(Token = "0x600A064")]
|
|
[Address(RVA = "0x415290", Offset = "0x414090", VA = "0x180415290", Slot = "38")]
|
|
get
|
|
{
|
|
return this.m_q;
|
|
}
|
|
}
|
|
|
|
// Token: 0x17001949 RID: 6473
|
|
// (get) Token: 0x0600A065 RID: 41061 RVA: 0x002247A8 File Offset: 0x002229A8
|
|
[Token(Token = "0x17001949")]
|
|
public override ECPoint Infinity
|
|
{
|
|
[Token(Token = "0x600A065")]
|
|
[Address(RVA = "0x423DE0", Offset = "0x422BE0", VA = "0x180423DE0", Slot = "22")]
|
|
get
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (0600A065)
|
|
|
|
ICSharpCode.Decompiler.DecompilerException: Error decompiling BestHTTP.SecureProtocol.Org.BouncyCastle.Math.EC.ECPoint BestHTTP.SecureProtocol.Org.BouncyCastle.Math.EC.FpCurve::get_Infinity()
|
|
|
|
---> System.Exception: Basic block has to end with unconditional control flow.
|
|
{
|
|
Block_0:
|
|
stloc:FpPoint(var_0_06, ldfld:FpPoint(FpCurve::m_infinity, ldloc:FpCurve(this)))
|
|
}
|
|
|
|
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: 0x1700194A RID: 6474
|
|
// (get) Token: 0x0600A066 RID: 41062 RVA: 0x002247BC File Offset: 0x002229BC
|
|
[Token(Token = "0x1700194A")]
|
|
public override int FieldSize
|
|
{
|
|
[Token(Token = "0x600A066")]
|
|
[Address(RVA = "0x20A4FC0", Offset = "0x20A3DC0", VA = "0x1820A4FC0", Slot = "4")]
|
|
get
|
|
{
|
|
return this.m_q.BitLength;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600A067 RID: 41063 RVA: 0x002247DC File Offset: 0x002229DC
|
|
[Token(Token = "0x600A067")]
|
|
[Address(RVA = "0x20A48E0", Offset = "0x20A36E0", VA = "0x1820A48E0", Slot = "5")]
|
|
public override ECFieldElement FromBigInteger(BigInteger x)
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (0600A067)
|
|
|
|
ICSharpCode.Decompiler.DecompilerException: Error decompiling BestHTTP.SecureProtocol.Org.BouncyCastle.Math.EC.ECFieldElement BestHTTP.SecureProtocol.Org.BouncyCastle.Math.EC.FpCurve::FromBigInteger(BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger)
|
|
|
|
---> System.Exception: Basic block has to end with unconditional control flow.
|
|
{
|
|
Block_0:
|
|
stloc:BigInteger(var_0_06, ldfld:BigInteger(FpCurve::m_q, ldloc:FpCurve(this)))
|
|
stloc:BigInteger(var_1_0D, ldfld:BigInteger(FpCurve::m_r, ldloc:FpCurve(this)))
|
|
stloc:FpFieldElement(var_2_16, newobj:FpFieldElement(FpFieldElement::.ctor, ldloc:BigInteger(var_0_06), ldloc:BigInteger(var_1_0D), ldloc:BigInteger(x)))
|
|
}
|
|
|
|
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: 0x0600A068 RID: 41064 RVA: 0x00224800 File Offset: 0x00222A00
|
|
[Token(Token = "0x600A068")]
|
|
[Address(RVA = "0x20A47B0", Offset = "0x20A35B0", VA = "0x1820A47B0", Slot = "13")]
|
|
protected internal override ECPoint CreateRawPoint(ECFieldElement x, ECFieldElement y, bool withCompression)
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (0600A068)
|
|
|
|
ICSharpCode.Decompiler.DecompilerException: Error decompiling BestHTTP.SecureProtocol.Org.BouncyCastle.Math.EC.ECPoint BestHTTP.SecureProtocol.Org.BouncyCastle.Math.EC.FpCurve::CreateRawPoint(BestHTTP.SecureProtocol.Org.BouncyCastle.Math.EC.ECFieldElement,BestHTTP.SecureProtocol.Org.BouncyCastle.Math.EC.ECFieldElement,System.Boolean)
|
|
|
|
---> System.Exception: Basic block has to end with unconditional control flow.
|
|
{
|
|
Block_0:
|
|
stloc:FpPoint(var_0_09, newobj:FpPoint(FpPoint::.ctor, ldloc:FpCurve[exp:ECCurve](this), ldloc:ECFieldElement(x), ldloc:ECFieldElement(y), ldloc:bool(withCompression)))
|
|
}
|
|
|
|
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: 0x0600A069 RID: 41065 RVA: 0x0000220F File Offset: 0x0000040F
|
|
[Token(Token = "0x600A069")]
|
|
[Address(RVA = "0x20A4840", Offset = "0x20A3640", VA = "0x1820A4840", Slot = "14")]
|
|
protected internal override ECPoint CreateRawPoint(ECFieldElement x, ECFieldElement y, ECFieldElement[] zs, bool withCompression)
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x0600A06A RID: 41066 RVA: 0x00224818 File Offset: 0x00222A18
|
|
[Token(Token = "0x600A06A")]
|
|
[Address(RVA = "0x20A4960", Offset = "0x20A3760", VA = "0x1820A4960", Slot = "19")]
|
|
public override ECPoint ImportPoint(ECPoint p)
|
|
{
|
|
bool flag = p.SatisfiesOrder();
|
|
if (this != flag && this.Cofactor == (ulong)2L && (p.m_x != (ulong)0L || p.m_y != (ulong)0L) && p.SatisfiesOrder() <= true)
|
|
{
|
|
string text = p.m_x.ToString();
|
|
int fieldSize = this.FieldSize;
|
|
string text2 = p.m_y.ToString();
|
|
int fieldSize2 = this.FieldSize;
|
|
ECFieldElement[] array = new ECFieldElement[1];
|
|
string text3 = p.YCoord.ToString();
|
|
int fieldSize3 = this.FieldSize;
|
|
throw new ArrayTypeMismatchException();
|
|
}
|
|
bool flag2 = p.SatisfiesOrder();
|
|
if (this != flag2)
|
|
{
|
|
if (p.m_x != (ulong)0L || p.m_y == (ulong)0L)
|
|
{
|
|
}
|
|
short num;
|
|
string text4 = num.ToString();
|
|
ushort num2;
|
|
string text5 = num2.ToString();
|
|
}
|
|
throw new NullReferenceException();
|
|
}
|
|
|
|
// Token: 0x04006A77 RID: 27255
|
|
[Token(Token = "0x4006A77")]
|
|
private const int FP_DEFAULT_COORDS = 4;
|
|
|
|
// Token: 0x04006A78 RID: 27256
|
|
[FieldOffset(Offset = "0x50")]
|
|
[Token(Token = "0x4006A78")]
|
|
protected readonly BigInteger m_q;
|
|
|
|
// Token: 0x04006A79 RID: 27257
|
|
[FieldOffset(Offset = "0x58")]
|
|
[Token(Token = "0x4006A79")]
|
|
protected readonly BigInteger m_r;
|
|
|
|
// Token: 0x04006A7A RID: 27258
|
|
[FieldOffset(Offset = "0x60")]
|
|
[Token(Token = "0x4006A7A")]
|
|
protected readonly FpPoint m_infinity;
|
|
}
|
|
}
|