This commit is contained in:
niko
2026-04-08 23:40:05 +02:00
parent d6894bcbc7
commit 18dc73f922
7750 changed files with 1795369 additions and 0 deletions
@@ -0,0 +1,58 @@
using System;
using System.Runtime.InteropServices;
using BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Parameters;
using BestHTTP.SecureProtocol.Org.BouncyCastle.Math;
using Cpp2IlInjected;
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Agreement
{
// Token: 0x0200172C RID: 5932
[Token(Token = "0x200172C")]
[StructLayout(3)]
public class ECDHCBasicAgreement : IBasicAgreement
{
// Token: 0x0600A067 RID: 41063 RVA: 0x002543F8 File Offset: 0x002525F8
[Token(Token = "0x600A067")]
[Address(RVA = "0x658590", Offset = "0x656F90", VA = "0x180658590", Slot = "7")]
public virtual void Init(ICipherParameters parameters)
{
int num;
do
{
num = 0;
}
while (parameters != 0 && ((parameters != 0 && (parameters == 0 || parameters == 0)) || (parameters != 0 && parameters == 0)));
this.privKey = num;
}
// Token: 0x0600A068 RID: 41064 RVA: 0x00254430 File Offset: 0x00252630
[Token(Token = "0x600A068")]
[Address(RVA = "0x658180", Offset = "0x656B80", VA = "0x180658180", Slot = "8")]
public virtual int GetFieldSize()
{
string text = this.privKey.parameters.curve.ToString();
text += 0;
throw new NullReferenceException();
}
// Token: 0x0600A069 RID: 41065 RVA: 0x0000220F File Offset: 0x0000040F
[Token(Token = "0x600A069")]
[Address(RVA = "0x658330", Offset = "0x656D30", VA = "0x180658330", Slot = "9")]
public virtual BigInteger CalculateAgreement(ICipherParameters pubKey)
{
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
}
// Token: 0x0600A06A RID: 41066 RVA: 0x0025445C File Offset: 0x0025265C
[Token(Token = "0x600A06A")]
[Address(RVA = "0x3C1670", Offset = "0x3C0070", VA = "0x1803C1670")]
public ECDHCBasicAgreement()
{
}
// Token: 0x04006982 RID: 27010
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
[Token(Token = "0x4006982")]
private ECPrivateKeyParameters privKey;
}
}