using System; using System.Runtime.InteropServices; using Cpp2IlInjected; namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Math.EC { // Token: 0x02001421 RID: 5153 [Token(Token = "0x2001421")] [StructLayout(3)] public abstract class ECPointBase : ECPoint { // Token: 0x06008543 RID: 34115 RVA: 0x001CFAA4 File Offset: 0x001CDCA4 [Token(Token = "0x6008543")] [Address(RVA = "0x21A4300", Offset = "0x21A2D00", VA = "0x1821A4300")] 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: 0x06008544 RID: 34116 RVA: 0x001CFAE4 File Offset: 0x001CDCE4 [Token(Token = "0x6008544")] [Address(RVA = "0x21A4260", Offset = "0x21A2C60", VA = "0x1821A4260")] 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: 0x06008545 RID: 34117 RVA: 0x001CFB1C File Offset: 0x001CDD1C [Token(Token = "0x6008545")] [Address(RVA = "0x21A3F40", Offset = "0x21A2940", VA = "0x1821A3F40", 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: 0x06008546 RID: 34118 RVA: 0x0000220F File Offset: 0x0000040F [Token(Token = "0x6008546")] [Address(RVA = "0x21A4170", Offset = "0x21A2B70", VA = "0x1821A4170", Slot = "31")] public override ECPoint Multiply(BigInteger k) { throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method."); } } }