This commit is contained in:
niko
2026-04-12 16:51:38 +02:00
parent 1b6f6d81d0
commit c12fbe3fc6
17828 changed files with 2994770 additions and 0 deletions
@@ -0,0 +1,72 @@
using System;
using Cpp2IlInjected;
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Math.EC
{
// Token: 0x02001ADE RID: 6878
[Token(Token = "0x2001ADE")]
public abstract class ECPointBase : ECPoint
{
// Token: 0x0600A4EB RID: 42219 RVA: 0x002300FC File Offset: 0x0022E2FC
[Token(Token = "0x600A4EB")]
[Address(RVA = "0x7D6060", Offset = "0x7D5060", VA = "0x1807D6060")]
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: 0x0600A4EC RID: 42220 RVA: 0x0023013C File Offset: 0x0022E33C
[Token(Token = "0x600A4EC")]
[Address(RVA = "0x7D5FC0", Offset = "0x7D4FC0", VA = "0x1807D5FC0")]
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: 0x0600A4ED RID: 42221 RVA: 0x00230174 File Offset: 0x0022E374
[Token(Token = "0x600A4ED")]
[Address(RVA = "0x7D5CA0", Offset = "0x7D4CA0", VA = "0x1807D5CA0", 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: 0x0600A4EE RID: 42222 RVA: 0x002301DC File Offset: 0x0022E3DC
[Token(Token = "0x600A4EE")]
[Address(RVA = "0x7D5ED0", Offset = "0x7D4ED0", VA = "0x1807D5ED0", Slot = "31")]
public override ECPoint Multiply(BigInteger k)
{
bool flag = this.SatisfiesOrder();
int num = 0;
num += num;
num++;
TypeCode typeCode = ((IConvertible)flag).GetTypeCode();
throw new NullReferenceException();
}
}
}