Files
Aug2021-Cpp2IL-Dump/Assembly-CSharp/BestHTTP/SecureProtocol/Org/BouncyCastle/Math/EC/ECPointBase.cs
T
2026-04-10 22:50:51 +02:00

73 lines
2.1 KiB
C#

using System;
using Cpp2IlInjected;
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Math.EC
{
// Token: 0x020019FE RID: 6654
[Token(Token = "0x20019FE")]
public abstract class ECPointBase : ECPoint
{
// Token: 0x0600A11D RID: 41245 RVA: 0x00227060 File Offset: 0x00225260
[Token(Token = "0x600A11D")]
[Address(RVA = "0x209E9C0", Offset = "0x209D7C0", VA = "0x18209E9C0")]
protected internal ECPointBase(ECCurve curve, ECFieldElement x, ECFieldElement y, bool withCompression)
{
ECFieldElement[] initialZCoords = ECPoint.GetInitialZCoords(curve);
base..ctor();
this.m_curve = curve;
this.m_y = y;
this.m_zs = initialZCoords;
this.m_withCompression = false;
this.m_x = x;
}
// Token: 0x0600A11E RID: 41246 RVA: 0x002270A0 File Offset: 0x002252A0
[Token(Token = "0x600A11E")]
[Address(RVA = "0x209E920", Offset = "0x209D720", VA = "0x18209E920")]
protected internal ECPointBase(ECCurve curve, ECFieldElement x, ECFieldElement y, ECFieldElement[] zs, bool withCompression)
{
this.m_zs = 0;
this.m_curve = curve;
this.m_x = x;
this.m_withCompression = false;
this.m_y = y;
}
// Token: 0x0600A11F RID: 41247 RVA: 0x002270D8 File Offset: 0x002252D8
[Token(Token = "0x600A11F")]
[Address(RVA = "0x209E600", Offset = "0x209D400", VA = "0x18209E600", Slot = "24")]
public override byte[] GetEncoded(bool compressed)
{
bool flag = this.IsNormalized();
byte[] array;
if (!compressed)
{
array = new byte[0];
array[0] = (byte)((ulong)4L);
uint num;
num += (uint)1;
return array;
}
int num2 = array.Length;
num2++;
byte[] array2 = new byte[num2];
bool flag2 = array2 != 0;
array2[0] = (flag2 ? 1 : 0);
return array2;
}
// Token: 0x0600A120 RID: 41248 RVA: 0x00227140 File Offset: 0x00225340
[Token(Token = "0x600A120")]
[Address(RVA = "0x209E830", Offset = "0x209D630", VA = "0x18209E830", Slot = "31")]
public override ECPoint Multiply(BigInteger k)
{
bool flag = this.SatisfiesOrder();
int num = 0;
num += num;
num++;
OVRMesh.JAAHPDGFADH jaahpdgfadh = ((OVRMesh.PJPHJNNOBBH)flag).POCDCJMHEGL();
throw new NullReferenceException();
}
}
}