1563 lines
64 KiB
C#
1563 lines
64 KiB
C#
using System;
|
|
using System.ComponentModel;
|
|
using System.Runtime.CompilerServices;
|
|
using System.Runtime.InteropServices;
|
|
using System.Runtime.Serialization.Formatters.Binary;
|
|
using System.Threading;
|
|
using BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto;
|
|
using BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Digests;
|
|
using BestHTTP.SecureProtocol.Org.BouncyCastle.Math.EC.Rfc7748;
|
|
using BestHTTP.SecureProtocol.Org.BouncyCastle.Math.Raw;
|
|
using BestHTTP.SecureProtocol.Org.BouncyCastle.Security;
|
|
using BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities;
|
|
using Cpp2IlInjected;
|
|
|
|
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Math.EC.Rfc8032
|
|
{
|
|
// Token: 0x0200142B RID: 5163
|
|
[Token(Token = "0x200142B")]
|
|
[StructLayout(3)]
|
|
public abstract class Ed25519
|
|
{
|
|
// Token: 0x060085C0 RID: 34240 RVA: 0x001D2AE4 File Offset: 0x001D0CE4
|
|
[Token(Token = "0x60085C0")]
|
|
[Address(RVA = "0x2086AE0", Offset = "0x20854E0", VA = "0x182086AE0")]
|
|
private static byte[] CalculateS(byte[] r, byte[] k, byte[] s)
|
|
{
|
|
uint[] array = new uint[16];
|
|
int num = 0;
|
|
Ed25519.DecodeScalar(r, num, array);
|
|
uint[] array2 = new uint[8];
|
|
int num2 = 0;
|
|
Ed25519.DecodeScalar(k, num2, array2);
|
|
uint[] array3 = new uint[8];
|
|
int num3 = 0;
|
|
Ed25519.DecodeScalar(s, num3, array3);
|
|
uint num4 = Nat256.MulAddTo(array2, array3, array);
|
|
byte[] array4 = new byte[64];
|
|
int num5 = 0;
|
|
int length = array.Length;
|
|
if (num5 < length)
|
|
{
|
|
uint num6 = array[num5];
|
|
num5++;
|
|
}
|
|
return Ed25519.ReduceScalar(array4);
|
|
}
|
|
|
|
// Token: 0x060085C1 RID: 34241 RVA: 0x001D2B6C File Offset: 0x001D0D6C
|
|
[Token(Token = "0x60085C1")]
|
|
[Address(RVA = "0x2086C80", Offset = "0x2085680", VA = "0x182086C80")]
|
|
private static bool CheckContextVar(byte[] ctx, byte phflag)
|
|
{
|
|
if (ctx == 0)
|
|
{
|
|
bool flag;
|
|
return flag;
|
|
}
|
|
return ctx.Length < 256;
|
|
}
|
|
|
|
// Token: 0x060085C2 RID: 34242 RVA: 0x001D2B8C File Offset: 0x001D0D8C
|
|
[Token(Token = "0x60085C2")]
|
|
[Address(RVA = "0x2086CA0", Offset = "0x20856A0", VA = "0x182086CA0")]
|
|
private static bool CheckPointVar(byte[] p)
|
|
{
|
|
uint[] array = new uint[8];
|
|
int num = 0;
|
|
int num2 = 0;
|
|
ulong num3;
|
|
Ed25519.Decode32(p, num2, array, num, (int)num3);
|
|
uint[] p2 = Ed25519.P;
|
|
return !Nat256.Gte(array, p2);
|
|
}
|
|
|
|
// Token: 0x060085C3 RID: 34243 RVA: 0x001D2BC8 File Offset: 0x001D0DC8
|
|
[Token(Token = "0x60085C3")]
|
|
[Address(RVA = "0x2086D70", Offset = "0x2085770", VA = "0x182086D70")]
|
|
private static bool CheckScalarVar(byte[] s)
|
|
{
|
|
uint[] array = new uint[8];
|
|
int num = 0;
|
|
Ed25519.DecodeScalar(s, num, array);
|
|
uint[] l = Ed25519.L;
|
|
return !Nat256.Gte(array, l);
|
|
}
|
|
|
|
// Token: 0x060085C4 RID: 34244 RVA: 0x001D2BF8 File Offset: 0x001D0DF8
|
|
[Token(Token = "0x60085C4")]
|
|
[Address(RVA = "0x2086E10", Offset = "0x2085810", VA = "0x182086E10")]
|
|
private static IDigest CreateDigest()
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (060085C4)
|
|
|
|
ICSharpCode.Decompiler.DecompilerException: Error decompiling BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.IDigest BestHTTP.SecureProtocol.Org.BouncyCastle.Math.EC.Rfc8032.Ed25519::CreateDigest()
|
|
|
|
---> System.Exception: Basic block has to end with unconditional control flow.
|
|
{
|
|
Block_0:
|
|
stloc:Sha512Digest(var_0_05, newobj:Sha512Digest(Sha512Digest::.ctor))
|
|
}
|
|
|
|
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: 0x060085C5 RID: 34245 RVA: 0x001D2C0C File Offset: 0x001D0E0C
|
|
[Token(Token = "0x60085C5")]
|
|
[Address(RVA = "0x2086E60", Offset = "0x2085860", VA = "0x182086E60")]
|
|
public static IDigest CreatePrehash()
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (060085C5)
|
|
|
|
ICSharpCode.Decompiler.DecompilerException: Error decompiling BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.IDigest BestHTTP.SecureProtocol.Org.BouncyCastle.Math.EC.Rfc8032.Ed25519::CreatePrehash()
|
|
|
|
---> System.Exception: Basic block has to end with unconditional control flow.
|
|
{
|
|
Block_0:
|
|
stloc:Sha512Digest(var_0_05, newobj:Sha512Digest(Sha512Digest::.ctor))
|
|
}
|
|
|
|
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: 0x060085C6 RID: 34246 RVA: 0x001D2C20 File Offset: 0x001D0E20
|
|
[Token(Token = "0x60085C6")]
|
|
[Address(RVA = "0x2086EE0", Offset = "0x20858E0", VA = "0x182086EE0")]
|
|
private static uint Decode24(byte[] bs, int off)
|
|
{
|
|
int length = bs.Length;
|
|
int num = off + 1;
|
|
throw new NullReferenceException();
|
|
}
|
|
|
|
// Token: 0x060085C7 RID: 34247 RVA: 0x001D2C40 File Offset: 0x001D0E40
|
|
[Token(Token = "0x60085C7")]
|
|
[Address(RVA = "0x74C4E0", Offset = "0x74AEE0", VA = "0x18074C4E0")]
|
|
private static uint Decode32(byte[] bs, int off)
|
|
{
|
|
int length = bs.Length;
|
|
int num = off + 1;
|
|
throw new NullReferenceException();
|
|
}
|
|
|
|
// Token: 0x060085C8 RID: 34248 RVA: 0x001D2C60 File Offset: 0x001D0E60
|
|
[Token(Token = "0x60085C8")]
|
|
[Address(RVA = "0x2086F70", Offset = "0x2085970", VA = "0x182086F70")]
|
|
private static void Decode32(byte[] bs, int bsOff, uint[] n, int nOff, int nLen)
|
|
{
|
|
}
|
|
|
|
// Token: 0x060085C9 RID: 34249 RVA: 0x001D2C74 File Offset: 0x001D0E74
|
|
[Token(Token = "0x60085C9")]
|
|
[Address(RVA = "0x2087040", Offset = "0x2085A40", VA = "0x182087040")]
|
|
private static bool DecodePointVar(byte[] p, int pOff, bool negate, Ed25519.PointExt r)
|
|
{
|
|
byte[] array = Arrays.CopyOfRange(p, pOff, negate ? 1 : 0);
|
|
if (Ed25519.CheckPointVar(array))
|
|
{
|
|
byte b = array[3];
|
|
array[3] = b;
|
|
int[] y = r.y;
|
|
int num = 0;
|
|
X25519Field.Decode(array, num, y);
|
|
int[] array2 = new int[10];
|
|
int[] array3 = new int[10];
|
|
X25519Field.Sqr(r.y, array2);
|
|
X25519Field.Mul(Ed25519.C_d, array2, array3);
|
|
int[] x = r.x;
|
|
bool flag = X25519Field.SqrtRatioVar(array2, array3, x);
|
|
if (flag)
|
|
{
|
|
X25519Field.Normalize(r.x);
|
|
if (!X25519Field.IsZeroVar(r.x))
|
|
{
|
|
int[] x2 = r.x;
|
|
int num2 = x2[0];
|
|
if (num2 != (negate ? 1 : 0))
|
|
{
|
|
int num3 = 0;
|
|
int num4 = x2[num3];
|
|
num3++;
|
|
x2[0] = num4;
|
|
}
|
|
Ed25519.PointExtendXY(r);
|
|
}
|
|
}
|
|
}
|
|
throw new IndexOutOfRangeException();
|
|
}
|
|
|
|
// Token: 0x060085CA RID: 34250 RVA: 0x001D2D60 File Offset: 0x001D0F60
|
|
[Token(Token = "0x60085CA")]
|
|
[Address(RVA = "0x20873B0", Offset = "0x2085DB0", VA = "0x1820873B0")]
|
|
private static void DecodeScalar(byte[] k, int kOff, uint[] n)
|
|
{
|
|
int num = 0;
|
|
ulong num2;
|
|
Ed25519.Decode32(k, kOff, n, num, (int)num2);
|
|
}
|
|
|
|
// Token: 0x060085CB RID: 34251 RVA: 0x001D2D7C File Offset: 0x001D0F7C
|
|
[Token(Token = "0x60085CB")]
|
|
[Address(RVA = "0x2087440", Offset = "0x2085E40", VA = "0x182087440")]
|
|
private static void Dom2(IDigest d, byte phflag, byte[] ctx)
|
|
{
|
|
if (ctx != 0)
|
|
{
|
|
int length = Ed25519.Dom2Prefix.Length;
|
|
int length2 = ctx.Length;
|
|
}
|
|
}
|
|
|
|
// Token: 0x060085CC RID: 34252 RVA: 0x001D2DA8 File Offset: 0x001D0FA8
|
|
[Token(Token = "0x60085CC")]
|
|
[Address(RVA = "0x2087560", Offset = "0x2085F60", VA = "0x182087560")]
|
|
private static void Encode24(uint n, byte[] bs, int off)
|
|
{
|
|
int num = off + 1;
|
|
}
|
|
|
|
// Token: 0x060085CD RID: 34253 RVA: 0x001D2DC0 File Offset: 0x001D0FC0
|
|
[Token(Token = "0x60085CD")]
|
|
[Address(RVA = "0x1DFD250", Offset = "0x1DFBC50", VA = "0x181DFD250")]
|
|
private static void Encode32(uint n, byte[] bs, int off)
|
|
{
|
|
int num = off + 1;
|
|
}
|
|
|
|
// Token: 0x060085CE RID: 34254 RVA: 0x001D2DD8 File Offset: 0x001D0FD8
|
|
[Token(Token = "0x60085CE")]
|
|
[Address(RVA = "0x20875E0", Offset = "0x2085FE0", VA = "0x1820875E0")]
|
|
private static void Encode56(ulong n, byte[] bs, int off)
|
|
{
|
|
Ed25519.Encode32((uint)n, bs, off);
|
|
bs[0] = (byte)n;
|
|
}
|
|
|
|
// Token: 0x060085CF RID: 34255 RVA: 0x001D2DFC File Offset: 0x001D0FFC
|
|
[Token(Token = "0x60085CF")]
|
|
[Address(RVA = "0x20876D0", Offset = "0x20860D0", VA = "0x1820876D0")]
|
|
private static void EncodePoint(Ed25519.PointAccum p, byte[] r, int rOff)
|
|
{
|
|
int[] array = new int[10];
|
|
int[] array2 = new int[10];
|
|
X25519Field.Inv(p.z, array2);
|
|
X25519Field.Mul(p.x, array2, array);
|
|
X25519Field.Mul(p.y, array2, array2);
|
|
X25519Field.Normalize(array);
|
|
X25519Field.Normalize(array2);
|
|
X25519Field.Encode(array2, r, rOff);
|
|
int num = array[0];
|
|
}
|
|
|
|
// Token: 0x060085D0 RID: 34256 RVA: 0x001D2E64 File Offset: 0x001D1064
|
|
[Token(Token = "0x60085D0")]
|
|
[Address(RVA = "0x2087860", Offset = "0x2086260", VA = "0x182087860")]
|
|
public static void GeneratePrivateKey(SecureRandom random, byte[] k)
|
|
{
|
|
bool isChanged = ((IChangeTracking)random).IsChanged;
|
|
}
|
|
|
|
// Token: 0x060085D1 RID: 34257 RVA: 0x001D2E80 File Offset: 0x001D1080
|
|
[Token(Token = "0x60085D1")]
|
|
[Address(RVA = "0x2087890", Offset = "0x2086290", VA = "0x182087890")]
|
|
public static void GeneratePublicKey(byte[] sk, int skOff, byte[] pk, int pkOff)
|
|
{
|
|
byte[] array = new byte[new Sha512Digest()];
|
|
int secretKeySize = Ed25519.SecretKeySize;
|
|
byte[] array2 = new byte[32];
|
|
int num = 0;
|
|
Ed25519.PruneScalar(array, num, array2);
|
|
Ed25519.ScalarMultBaseEncoded(array2, pk, pkOff);
|
|
}
|
|
|
|
// Token: 0x060085D2 RID: 34258 RVA: 0x001D2EC0 File Offset: 0x001D10C0
|
|
[Token(Token = "0x60085D2")]
|
|
[Address(RVA = "0x2087A00", Offset = "0x2086400", VA = "0x182087A00")]
|
|
private static sbyte[] GetWnaf(uint[] n, int width)
|
|
{
|
|
uint[] array = new uint[16];
|
|
int num = 0;
|
|
int num2 = array.Length;
|
|
num2 += -2;
|
|
uint num3;
|
|
array[0] = num3;
|
|
array[0] = num3;
|
|
sbyte[] array2 = new sbyte[256];
|
|
int length = array.Length;
|
|
if (num < length)
|
|
{
|
|
uint num4 = array[num];
|
|
if (num < 16)
|
|
{
|
|
if (num4 != (uint)num)
|
|
{
|
|
num4 += (uint)num;
|
|
num3 = num4;
|
|
num4 += num4;
|
|
num3 -= num4;
|
|
}
|
|
uint num5;
|
|
num += (int)num5;
|
|
}
|
|
num++;
|
|
num += 16;
|
|
}
|
|
return array2;
|
|
}
|
|
|
|
// Token: 0x060085D3 RID: 34259 RVA: 0x001D2F50 File Offset: 0x001D1150
|
|
[Token(Token = "0x60085D3")]
|
|
[Address(RVA = "0x2087E60", Offset = "0x2086860", VA = "0x182087E60")]
|
|
private static void ImplSign(IDigest d, byte[] h, byte[] s, byte[] pk, int pkOff, byte[] ctx, byte phflag, byte[] m, int mOff, int mLen, byte[] sig, int sigOff)
|
|
{
|
|
byte[] array = Ed25519.ReduceScalar(h);
|
|
byte[] array2 = new byte[32];
|
|
int num = 0;
|
|
Ed25519.ScalarMultBaseEncoded(array, array2, num);
|
|
int num2 = 0;
|
|
byte[] array3 = Ed25519.ReduceScalar(h);
|
|
uint[] array4 = new uint[16];
|
|
int num3 = 0;
|
|
Ed25519.DecodeScalar(array, num3, array4);
|
|
uint[] array5 = new uint[8];
|
|
int num4 = 0;
|
|
Ed25519.DecodeScalar(array3, num4, array5);
|
|
uint[] array6 = new uint[8];
|
|
int num5 = 0;
|
|
Ed25519.DecodeScalar(s, num5, array6);
|
|
uint num6 = Nat256.MulAddTo(array5, array6, array4);
|
|
byte[] array7 = new byte[64];
|
|
int length = array4.Length;
|
|
if (num2 < length)
|
|
{
|
|
uint num7 = array4[num2];
|
|
num2++;
|
|
}
|
|
byte[] array8 = Ed25519.ReduceScalar(array7);
|
|
}
|
|
|
|
// Token: 0x060085D4 RID: 34260 RVA: 0x001D300C File Offset: 0x001D120C
|
|
[Token(Token = "0x60085D4")]
|
|
[Address(RVA = "0x2087C00", Offset = "0x2086600", VA = "0x182087C00")]
|
|
private static void ImplSign(byte[] sk, int skOff, byte[] ctx, byte phflag, byte[] m, int mOff, int mLen, byte[] sig, int sigOff)
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (060085D4)
|
|
|
|
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Math.EC.Rfc8032.Ed25519::ImplSign(System.Byte[],System.Int32,System.Byte[],System.Byte,System.Byte[],System.Int32,System.Int32,System.Byte[],System.Int32)
|
|
|
|
---> System.Exception: Basic block has to end with unconditional control flow.
|
|
{
|
|
IL_53:
|
|
stloc:ArgumentException(var_9_5D, newobj:ArgumentException(ArgumentException::.ctor, ldstr:string("ctx")))
|
|
}
|
|
|
|
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.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
|
|
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
|
|
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1846
|
|
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: 0x060085D5 RID: 34261 RVA: 0x001D3078 File Offset: 0x001D1278
|
|
[Token(Token = "0x60085D5")]
|
|
[Address(RVA = "0x2088240", Offset = "0x2086C40", VA = "0x182088240")]
|
|
private static void ImplSign(byte[] sk, int skOff, byte[] pk, int pkOff, byte[] ctx, byte phflag, byte[] m, int mOff, int mLen, byte[] sig, int sigOff)
|
|
{
|
|
byte[] array = new byte[new Sha512Digest()];
|
|
int secretKeySize = Ed25519.SecretKeySize;
|
|
byte[] array2 = new byte[0];
|
|
int num = 0;
|
|
Ed25519.PruneScalar(array, num, array2);
|
|
}
|
|
|
|
// Token: 0x060085D6 RID: 34262 RVA: 0x001D30C0 File Offset: 0x001D12C0
|
|
[Token(Token = "0x60085D6")]
|
|
[Address(RVA = "0x2088490", Offset = "0x2086E90", VA = "0x182088490")]
|
|
private static bool ImplVerify(byte[] sig, int sigOff, byte[] pk, int pkOff, byte[] ctx, byte phflag, byte[] m, int mOff, int mLen)
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (060085D6)
|
|
|
|
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Math.EC.Rfc8032.Ed25519::ImplVerify(System.Byte[],System.Int32,System.Byte[],System.Int32,System.Byte[],System.Byte,System.Byte[],System.Int32,System.Int32)
|
|
|
|
---> System.Exception: Basic block has to end with unconditional control flow.
|
|
{
|
|
IL_D8:
|
|
stloc:ArgumentException(var_23_E2, newobj:ArgumentException(ArgumentException::.ctor, ldstr:string("ctx")))
|
|
}
|
|
|
|
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: 0x060085D7 RID: 34263 RVA: 0x001D31B0 File Offset: 0x001D13B0
|
|
[Token(Token = "0x60085D7")]
|
|
[Address(RVA = "0x2088F40", Offset = "0x2087940", VA = "0x182088F40")]
|
|
private static void PointAddVar(bool negate, Ed25519.PointExt p, Ed25519.PointAccum r)
|
|
{
|
|
int[] array = new int[10];
|
|
int[] array2 = new int[10];
|
|
int[] array3 = new int[10];
|
|
int[] array4 = new int[10];
|
|
int[] u = r.u;
|
|
int[] array5 = new int[10];
|
|
int[] array6 = new int[10];
|
|
int[] v = r.v;
|
|
if (!negate)
|
|
{
|
|
}
|
|
int[] x = r.x;
|
|
X25519Field.Apm(r.y, x, array2, array);
|
|
int[] x2 = p.x;
|
|
X25519Field.Apm(p.y, x2, array3, array4);
|
|
X25519Field.Mul(array, array3, array);
|
|
X25519Field.Mul(array2, array4, array2);
|
|
int[] v2 = r.v;
|
|
X25519Field.Mul(r.u, v2, array3);
|
|
int[] t = p.t;
|
|
X25519Field.Mul(array3, t, array3);
|
|
int[] c_d = Ed25519.C_d2;
|
|
X25519Field.Mul(array3, c_d, array3);
|
|
int[] z = p.z;
|
|
X25519Field.Mul(r.z, z, array4);
|
|
X25519Field.Add(array4, array4, array4);
|
|
X25519Field.Apm(array2, array, v, u);
|
|
X25519Field.Apm(array4, array3, array5, array6);
|
|
X25519Field.Carry(array5);
|
|
int[] x3 = r.x;
|
|
X25519Field.Mul(u, array5, x3);
|
|
int[] y = r.y;
|
|
X25519Field.Mul(array6, v, y);
|
|
int[] z2 = r.z;
|
|
X25519Field.Mul(array5, array6, z2);
|
|
}
|
|
|
|
// Token: 0x060085D8 RID: 34264 RVA: 0x001D32F8 File Offset: 0x001D14F8
|
|
[Token(Token = "0x60085D8")]
|
|
[Address(RVA = "0x2088B40", Offset = "0x2087540", VA = "0x182088B40")]
|
|
private static void PointAddVar(bool negate, Ed25519.PointExt p, Ed25519.PointExt q, Ed25519.PointExt r)
|
|
{
|
|
int[] array = new int[10];
|
|
int[] array2 = new int[10];
|
|
int[] array3 = new int[10];
|
|
int[] array4 = new int[10];
|
|
int[] array5 = new int[10];
|
|
int[] array6 = new int[10];
|
|
int[] array7 = new int[10];
|
|
int[] array8 = new int[10];
|
|
if (!negate)
|
|
{
|
|
}
|
|
int[] x = p.x;
|
|
int[] y = p.y;
|
|
X25519Field.Apm(y, x, array2, array);
|
|
X25519Field.Apm(y, x, array3, array4);
|
|
X25519Field.Mul(array, array3, array);
|
|
X25519Field.Mul(array2, array4, array2);
|
|
X25519Field.Mul(p.t, array4, array3);
|
|
int[] c_d = Ed25519.C_d2;
|
|
X25519Field.Mul(array3, c_d, array3);
|
|
X25519Field.Mul(p.z, c_d, array4);
|
|
X25519Field.Add(array4, array4, array4);
|
|
X25519Field.Apm(array2, array, array8, array5);
|
|
X25519Field.Apm(array4, array3, array6, array7);
|
|
X25519Field.Carry(array6);
|
|
int[] x2 = r.x;
|
|
X25519Field.Mul(array5, array6, x2);
|
|
int[] y2 = r.y;
|
|
X25519Field.Mul(array7, array8, y2);
|
|
int[] z = r.z;
|
|
X25519Field.Mul(array6, array7, z);
|
|
int[] t = r.t;
|
|
X25519Field.Mul(array5, array8, t);
|
|
}
|
|
|
|
// Token: 0x060085D9 RID: 34265 RVA: 0x001D3428 File Offset: 0x001D1628
|
|
[Token(Token = "0x60085D9")]
|
|
[Address(RVA = "0x20888E0", Offset = "0x20872E0", VA = "0x1820888E0")]
|
|
private static void PointAddPrecomp(Ed25519.PointPrecomp p, Ed25519.PointAccum r)
|
|
{
|
|
int[] array = new int[10];
|
|
int[] array2 = new int[10];
|
|
int[] array3 = new int[10];
|
|
int[] u = r.u;
|
|
int[] array4 = new int[10];
|
|
int[] array5 = new int[10];
|
|
int[] x = r.x;
|
|
int[] v = r.v;
|
|
X25519Field.Apm(r.y, x, array2, array);
|
|
int[] ymx_h = p.ymx_h;
|
|
X25519Field.Mul(array, ymx_h, array);
|
|
int[] ypx_h = p.ypx_h;
|
|
X25519Field.Mul(array2, ypx_h, array2);
|
|
int[] v2 = r.v;
|
|
X25519Field.Mul(r.u, v2, array3);
|
|
int[] xyd = p.xyd;
|
|
X25519Field.Mul(array3, xyd, array3);
|
|
X25519Field.Apm(array2, array, v, u);
|
|
X25519Field.Apm(r.z, array3, array5, array4);
|
|
X25519Field.Carry(array5);
|
|
int[] x2 = r.x;
|
|
X25519Field.Mul(u, array4, x2);
|
|
int[] y = r.y;
|
|
X25519Field.Mul(array5, v, y);
|
|
int[] z = r.z;
|
|
X25519Field.Mul(array4, array5, z);
|
|
}
|
|
|
|
// Token: 0x060085DA RID: 34266 RVA: 0x001D3530 File Offset: 0x001D1730
|
|
[Token(Token = "0x60085DA")]
|
|
[Address(RVA = "0x20892F0", Offset = "0x2087CF0", VA = "0x1820892F0")]
|
|
private static Ed25519.PointExt PointCopy(Ed25519.PointAccum p)
|
|
{
|
|
Ed25519.PointExt pointExt = new Ed25519.PointExt();
|
|
int[] x = p.x;
|
|
int[] x2 = pointExt.x;
|
|
int num = 0;
|
|
int num2 = x[num];
|
|
num++;
|
|
x2[0] = num2;
|
|
int[] y = pointExt.y;
|
|
int num3 = p.y[num];
|
|
num++;
|
|
y[0] = num3;
|
|
int[] z = pointExt.z;
|
|
int num4 = p.z[num];
|
|
num++;
|
|
z[0] = num4;
|
|
int[] t = pointExt.t;
|
|
int[] v = p.v;
|
|
X25519Field.Mul(p.u, v, t);
|
|
return pointExt;
|
|
}
|
|
|
|
// Token: 0x060085DB RID: 34267 RVA: 0x001D35D8 File Offset: 0x001D17D8
|
|
[Token(Token = "0x60085DB")]
|
|
[Address(RVA = "0x20894C0", Offset = "0x2087EC0", VA = "0x1820894C0")]
|
|
private static Ed25519.PointExt PointCopy(Ed25519.PointExt p)
|
|
{
|
|
Ed25519.PointExt pointExt = new Ed25519.PointExt();
|
|
int[] x = p.x;
|
|
int[] x2 = pointExt.x;
|
|
int num = 0;
|
|
int num2 = x[num];
|
|
num++;
|
|
x2[0] = num2;
|
|
int[] y = pointExt.y;
|
|
int num3 = p.y[num];
|
|
num++;
|
|
y[0] = num3;
|
|
int[] z = pointExt.z;
|
|
int num4 = p.z[num];
|
|
num++;
|
|
z[0] = num4;
|
|
int[] t = pointExt.t;
|
|
int num5 = p.t[num];
|
|
num++;
|
|
t[0] = num5;
|
|
return pointExt;
|
|
}
|
|
|
|
// Token: 0x060085DC RID: 34268 RVA: 0x001D3684 File Offset: 0x001D1884
|
|
[Token(Token = "0x60085DC")]
|
|
[Address(RVA = "0x20896E0", Offset = "0x20880E0", VA = "0x1820896E0")]
|
|
private static void PointDouble(Ed25519.PointAccum r)
|
|
{
|
|
int[] array = new int[10];
|
|
int[] array2 = new int[10];
|
|
int[] array3 = new int[10];
|
|
int[] u = r.u;
|
|
int[] array4 = new int[10];
|
|
int[] array5 = new int[10];
|
|
int[] x = r.x;
|
|
int[] v = r.v;
|
|
X25519Field.Sqr(x, array);
|
|
X25519Field.Sqr(r.y, array2);
|
|
X25519Field.Sqr(r.z, array3);
|
|
X25519Field.Add(array3, array3, array3);
|
|
X25519Field.Apm(array, array2, v, array5);
|
|
int[] y = r.y;
|
|
X25519Field.Add(r.x, y, u);
|
|
X25519Field.Sqr(u, u);
|
|
X25519Field.Sub(v, u, u);
|
|
X25519Field.Add(array3, array5, array4);
|
|
X25519Field.Carry(array4);
|
|
int[] x2 = r.x;
|
|
X25519Field.Mul(u, array4, x2);
|
|
int[] y2 = r.y;
|
|
X25519Field.Mul(array5, v, y2);
|
|
int[] z = r.z;
|
|
X25519Field.Mul(array4, array5, z);
|
|
}
|
|
|
|
// Token: 0x060085DD RID: 34269 RVA: 0x001D377C File Offset: 0x001D197C
|
|
[Token(Token = "0x60085DD")]
|
|
[Address(RVA = "0x2089940", Offset = "0x2088340", VA = "0x182089940")]
|
|
private static void PointExtendXY(Ed25519.PointAccum p)
|
|
{
|
|
int[] z = p.z;
|
|
int num = 0;
|
|
z[0] = (int)((uint)1);
|
|
z[0] = num;
|
|
int[] u = p.u;
|
|
int num2 = p.x[num];
|
|
num++;
|
|
u[0] = num2;
|
|
int[] v = p.v;
|
|
int num3 = p.y[num];
|
|
num++;
|
|
v[0] = num3;
|
|
}
|
|
|
|
// Token: 0x060085DE RID: 34270 RVA: 0x001D37F0 File Offset: 0x001D19F0
|
|
[Token(Token = "0x60085DE")]
|
|
[Address(RVA = "0x2089AB0", Offset = "0x20884B0", VA = "0x182089AB0")]
|
|
private static void PointExtendXY(Ed25519.PointExt p)
|
|
{
|
|
int[] z = p.z;
|
|
int num = 0;
|
|
z[0] = (int)((uint)1);
|
|
z[0] = num;
|
|
int[] t = p.t;
|
|
int[] y = p.y;
|
|
X25519Field.Mul(p.x, y, t);
|
|
}
|
|
|
|
// Token: 0x060085DF RID: 34271 RVA: 0x001D3838 File Offset: 0x001D1A38
|
|
[Token(Token = "0x60085DF")]
|
|
[Address(RVA = "0x2089B70", Offset = "0x2088570", VA = "0x182089B70")]
|
|
private static void PointLookup(int block, int index, Ed25519.PointPrecomp p)
|
|
{
|
|
long num = (long)(block * (int)((uint)240));
|
|
int num2 = 0;
|
|
int[] ypx_h = p.ypx_h;
|
|
int[] array = Ed25519.precompBase;
|
|
uint num3;
|
|
Nat.CMov((int)num3, num2, array, (int)num, ypx_h, num2);
|
|
int[] ymx_h = p.ymx_h;
|
|
int[] array2 = Ed25519.precompBase;
|
|
uint num4;
|
|
Nat.CMov((int)num4, num2, array2, (int)num, ymx_h, num2);
|
|
int[] xyd = p.xyd;
|
|
int[] array3 = Ed25519.precompBase;
|
|
uint num5;
|
|
Nat.CMov((int)num5, num2, array3, (int)num, xyd, num2);
|
|
num2++;
|
|
}
|
|
|
|
// Token: 0x060085E0 RID: 34272 RVA: 0x001D38B0 File Offset: 0x001D1AB0
|
|
[Token(Token = "0x60085E0")]
|
|
[Address(RVA = "0x2089CD0", Offset = "0x20886D0", VA = "0x182089CD0")]
|
|
private static Ed25519.PointExt[] PointPrecompVar(Ed25519.PointExt p, int count)
|
|
{
|
|
Ed25519.PointExt pointExt = new Ed25519.PointExt();
|
|
Ed25519.PointAddVar(false, p, p, pointExt);
|
|
Ed25519.PointExt[] array = new Ed25519.PointExt[count];
|
|
Ed25519.PointExt pointExt2 = Ed25519.PointCopy(p);
|
|
if (pointExt2 != 0)
|
|
{
|
|
}
|
|
array[0] = pointExt2;
|
|
if (count > 1)
|
|
{
|
|
Ed25519.PointExt pointExt3 = array[pointExt2];
|
|
Ed25519.PointExt pointExt4 = new Ed25519.PointExt();
|
|
if (pointExt4 != 0)
|
|
{
|
|
}
|
|
array[0] = pointExt4;
|
|
Ed25519.PointAddVar(false, pointExt3, pointExt, pointExt4);
|
|
}
|
|
return array;
|
|
}
|
|
|
|
// Token: 0x060085E1 RID: 34273 RVA: 0x001D391C File Offset: 0x001D1B1C
|
|
[Token(Token = "0x60085E1")]
|
|
[Address(RVA = "0x208A050", Offset = "0x2088A50", VA = "0x18208A050")]
|
|
private static void PointSetNeutral(Ed25519.PointAccum p)
|
|
{
|
|
int[] x = p.x;
|
|
int num = 0;
|
|
num++;
|
|
x[0] = num;
|
|
int[] y = p.y;
|
|
y[0] = (int)((uint)1);
|
|
y[0] = num;
|
|
int[] z = p.z;
|
|
z[0] = (int)((uint)1);
|
|
z[0] = num;
|
|
int[] u = p.u;
|
|
num++;
|
|
u[0] = num;
|
|
int[] v = p.v;
|
|
v[0] = (int)((uint)1);
|
|
v[0] = num;
|
|
}
|
|
|
|
// Token: 0x060085E2 RID: 34274 RVA: 0x001D39A4 File Offset: 0x001D1BA4
|
|
[Token(Token = "0x60085E2")]
|
|
[Address(RVA = "0x2089ED0", Offset = "0x20888D0", VA = "0x182089ED0")]
|
|
private static void PointSetNeutral(Ed25519.PointExt p)
|
|
{
|
|
int[] x = p.x;
|
|
int num = 0;
|
|
num++;
|
|
x[0] = num;
|
|
int[] y = p.y;
|
|
y[0] = (int)((uint)1);
|
|
y[0] = num;
|
|
int[] z = p.z;
|
|
z[0] = (int)((uint)1);
|
|
z[0] = num;
|
|
int[] t = p.t;
|
|
num++;
|
|
t[0] = num;
|
|
}
|
|
|
|
// Token: 0x060085E3 RID: 34275 RVA: 0x001D3A14 File Offset: 0x001D1C14
|
|
[Token(Token = "0x60085E3")]
|
|
[Address(RVA = "0x208A230", Offset = "0x2088C30", VA = "0x18208A230")]
|
|
public static void Precompute()
|
|
{
|
|
Ed25519.PointAccum pointAccum;
|
|
int num9;
|
|
Ed25519.PointExt[] array;
|
|
for (;;)
|
|
{
|
|
int num = 0;
|
|
object obj = Ed25519.precompLock;
|
|
Ed25519.PointExt pointExt = new Ed25519.PointExt();
|
|
int[] b_x = Ed25519.B_x;
|
|
int[] x = pointExt.x;
|
|
if (num < 10)
|
|
{
|
|
int num2 = b_x[num];
|
|
x[0] = num2;
|
|
num++;
|
|
}
|
|
int[] b_y = Ed25519.B_y;
|
|
int[] y = pointExt.y;
|
|
int num3 = 0;
|
|
if (num3 < 10)
|
|
{
|
|
int num4 = b_y[num3];
|
|
y[0] = num4;
|
|
num3++;
|
|
}
|
|
Ed25519.PointExtendXY(pointExt);
|
|
Ed25519.precompBaseTable = Ed25519.PointPrecompVar(pointExt, 32);
|
|
pointAccum = new Ed25519.PointAccum();
|
|
int[] b_x2 = Ed25519.B_x;
|
|
int[] x2 = pointAccum.x;
|
|
int num5 = 0;
|
|
if (num5 < 10)
|
|
{
|
|
int num6 = b_x2[num5];
|
|
x2[0] = num6;
|
|
num5++;
|
|
}
|
|
int[] b_y2 = Ed25519.B_y;
|
|
int[] y2 = pointAccum.y;
|
|
int num7 = 0;
|
|
if (num7 < 10)
|
|
{
|
|
int num8 = b_y2[num7];
|
|
y2[0] = num8;
|
|
num7++;
|
|
}
|
|
Ed25519.PointExtendXY(pointAccum);
|
|
Ed25519.precompBase = new int[1920];
|
|
num9 = 0;
|
|
if (num9 < 8)
|
|
{
|
|
break;
|
|
}
|
|
Monitor.Exit(array);
|
|
int num10;
|
|
if ((num10 != -1 && "{il2cpp array field local59->}" == (ulong)675L) || num10 == 0)
|
|
{
|
|
return;
|
|
}
|
|
}
|
|
Ed25519.PointExt[] array2 = new Ed25519.PointExt[4];
|
|
Ed25519.PointExt pointExt2 = new Ed25519.PointExt();
|
|
Ed25519.PointSetNeutral(pointExt2);
|
|
if (num9 < 4)
|
|
{
|
|
Ed25519.PointExt pointExt3 = Ed25519.PointCopy(pointAccum);
|
|
ulong num11;
|
|
Ed25519.PointAddVar(num11 != 0UL, pointExt2, pointExt3, pointExt2);
|
|
Ed25519.PointDouble(pointAccum);
|
|
Ed25519.PointExt pointExt4 = Ed25519.PointCopy(pointAccum);
|
|
throw new ArrayTypeMismatchException();
|
|
}
|
|
array = new Ed25519.PointExt[8];
|
|
throw new ArrayTypeMismatchException();
|
|
}
|
|
|
|
// Token: 0x060085E4 RID: 34276 RVA: 0x001D3E34 File Offset: 0x001D2034
|
|
[Token(Token = "0x60085E4")]
|
|
[Address(RVA = "0x208AB90", Offset = "0x2089590", VA = "0x18208AB90")]
|
|
private static void PruneScalar(byte[] n, int nOff, byte[] r)
|
|
{
|
|
int num = 0;
|
|
ulong num2;
|
|
Array.Copy(n, nOff, r, num, (int)num2);
|
|
byte b = r[3];
|
|
r[3] = b;
|
|
r[3] = b;
|
|
}
|
|
|
|
// Token: 0x060085E5 RID: 34277 RVA: 0x001D3E6C File Offset: 0x001D206C
|
|
[Token(Token = "0x60085E5")]
|
|
[Address(RVA = "0x208AC20", Offset = "0x2089620", VA = "0x18208AC20")]
|
|
private static byte[] ReduceScalar(byte[] n)
|
|
{
|
|
int num = 0;
|
|
int @int = SerializationHeaderRecord.GetInt32(n, num);
|
|
uint num2 = Ed25519.Decode24(n, 4);
|
|
int int2 = SerializationHeaderRecord.GetInt32(n, 7);
|
|
uint num3 = Ed25519.Decode24(n, 11);
|
|
int int3 = SerializationHeaderRecord.GetInt32(n, 14);
|
|
uint num4 = Ed25519.Decode24(n, 18);
|
|
int int4 = SerializationHeaderRecord.GetInt32(n, 21);
|
|
uint num5 = Ed25519.Decode24(n, 25);
|
|
int int5 = SerializationHeaderRecord.GetInt32(n, 28);
|
|
uint num6 = Ed25519.Decode24(n, 32);
|
|
int int6 = SerializationHeaderRecord.GetInt32(n, 35);
|
|
uint num7 = Ed25519.Decode24(n, 39);
|
|
int int7 = SerializationHeaderRecord.GetInt32(n, 42);
|
|
uint num8 = Ed25519.Decode24(n, 46);
|
|
int int8 = SerializationHeaderRecord.GetInt32(n, 49);
|
|
uint num9 = Ed25519.Decode24(n, 53);
|
|
int int9 = SerializationHeaderRecord.GetInt32(n, 56);
|
|
uint num10 = Ed25519.Decode24(n, 60);
|
|
byte b = n[7];
|
|
num10 += (uint)int9;
|
|
long num11 = (long)((ulong)b * (ulong)(-19280294L));
|
|
long num12 = (long)((ulong)num10 * (ulong)5343L);
|
|
long num13 = (long)((ulong)b * (ulong)6428113L);
|
|
num13 -= num12;
|
|
num13 += (long)int7;
|
|
long num14 = (long)((ulong)b * (ulong)127719000L);
|
|
num7 = (uint)((long)num7 - num14);
|
|
long num15 = (long)((ulong)num10 * (ulong)6428113L);
|
|
num7 = (uint)((long)num7 + num15);
|
|
long num16 = (long)((ulong)int9 * (ulong)5343L);
|
|
num7 = (uint)((long)num7 - num16);
|
|
num9 += (uint)int8;
|
|
long num17 = (long)((ulong)num10 * (ulong)127719000L);
|
|
num11 -= num17;
|
|
long num18 = (long)((ulong)int9 * (ulong)6428113L);
|
|
num11 += num18;
|
|
long num19 = (long)((ulong)num9 * (ulong)5343L);
|
|
num11 -= num19;
|
|
num11 += (long)int6;
|
|
long num20 = (long)((ulong)int9 * (ulong)127719000L);
|
|
num6 = (uint)((long)num6 - num20);
|
|
long num21 = (long)((ulong)num10 * (ulong)19280294L);
|
|
num6 = (uint)((long)num6 - num21);
|
|
long num22 = (long)((ulong)b * (ulong)50998291L);
|
|
num6 = (uint)((long)num6 + num22);
|
|
long num23 = (long)((ulong)num9 * (ulong)6428113L);
|
|
num6 = (uint)((long)num6 + num23);
|
|
long num24 = (long)((ulong)int8 * (ulong)5343L);
|
|
num6 = (uint)((long)num6 - num24);
|
|
long num25 = (long)((ulong)b * (ulong)5343L);
|
|
num8 = (uint)((long)num8 - num25);
|
|
num25 = num13;
|
|
num8 = (uint)((long)num8 + num25);
|
|
num13 += (long)num7;
|
|
long num26 = (long)((ulong)int8 * (ulong)127719000L);
|
|
num5 = (uint)((long)num5 - num26);
|
|
long num27 = (long)((ulong)num9 * (ulong)19280294L);
|
|
num5 = (uint)((long)num5 - num27);
|
|
long num28 = (long)((ulong)int9 * (ulong)50998291L);
|
|
num5 = (uint)((long)num5 + num28);
|
|
long num29 = (long)((ulong)num8 * (ulong)6428113L);
|
|
num5 = (uint)((long)num5 + num29);
|
|
long num30 = num13 * (long)((ulong)5343L);
|
|
num5 = (uint)((long)num5 - num30);
|
|
num30 = num11;
|
|
num7 = (uint)((long)num7 + num30);
|
|
num11 += (long)num6;
|
|
long num31 = (long)((ulong)int9 * (ulong)(-19280294L));
|
|
long num32 = (long)((ulong)num9 * (ulong)127719000L);
|
|
long num33 = num11 * (long)((ulong)(-19280294L));
|
|
num6 = num2;
|
|
num31 -= num32;
|
|
long num34 = (long)((ulong)num10 * (ulong)50998291L);
|
|
num31 += num34;
|
|
long num35 = (long)((ulong)int8 * (ulong)6428113L);
|
|
long num36 = num13 * (long)((ulong)(-19280294L));
|
|
num31 += num35;
|
|
long num37 = (long)((ulong)num8 * (ulong)5343L);
|
|
num31 -= num37;
|
|
num31 += (long)num5;
|
|
num31 += (long)int5;
|
|
num31 += (long)int5;
|
|
long num38 = num31 * (long)((ulong)50998291L);
|
|
num38 += (long)@int;
|
|
long num39 = num31 * (long)((ulong)19280294L);
|
|
num6 = (uint)((long)num6 - num39);
|
|
long num40 = num11 * (long)((ulong)50998291L);
|
|
num6 = (uint)((long)num6 + num40);
|
|
num40 = num38;
|
|
num6 = (uint)((long)num6 + num40);
|
|
long num41 = num31 * (long)((ulong)127719000L);
|
|
num33 -= num41;
|
|
long num42 = (long)((ulong)num7 * (ulong)50998291L);
|
|
num33 += num42;
|
|
num33 += (long)num6;
|
|
num33 += (long)int2;
|
|
long num43 = num11 * (long)((ulong)127719000L);
|
|
num3 = (uint)((long)num3 - num43);
|
|
long num44 = (long)((ulong)num7 * (ulong)19280294L);
|
|
num3 = (uint)((long)num3 - num44);
|
|
long num45 = num13 * (long)((ulong)50998291L);
|
|
num3 = (uint)((long)num3 + num45);
|
|
long num46 = num31 * (long)((ulong)6428113L);
|
|
num3 = (uint)((long)num3 + num46);
|
|
num46 = num33;
|
|
num3 = (uint)((long)num3 + num46);
|
|
long num47 = (long)((ulong)num7 * (ulong)127719000L);
|
|
num36 -= num47;
|
|
long num48 = (long)((ulong)num8 * (ulong)50998291L);
|
|
num36 += num48;
|
|
long num49 = num11 * (long)((ulong)6428113L);
|
|
num36 += num49;
|
|
long num50 = num31 * (long)((ulong)5343L);
|
|
num36 -= num50;
|
|
num36 += (long)num3;
|
|
num36 += (long)int3;
|
|
long num51 = num13 * (long)((ulong)127719000L);
|
|
num4 = (uint)((long)num4 - num51);
|
|
long num52 = (long)((ulong)num8 * (ulong)19280294L);
|
|
num4 = (uint)((long)num4 - num52);
|
|
long num53;
|
|
num4 = (uint)((long)num4 + num53);
|
|
long num54 = (long)((ulong)num7 * (ulong)6428113L);
|
|
num4 = (uint)((long)num4 + num54);
|
|
long num55 = num11 * (long)((ulong)5343L);
|
|
num4 = (uint)((long)num4 - num55);
|
|
num55 = num36;
|
|
num4 = (uint)((long)num4 + num55);
|
|
long num56 = (long)((ulong)num8 * (ulong)127719000L);
|
|
long num57;
|
|
num57 -= num56;
|
|
long num58 = (long)((ulong)num9 * (ulong)50998291L);
|
|
num57 += num58;
|
|
long num59;
|
|
num57 += num59;
|
|
long num60 = (long)((ulong)num7 * (ulong)5343L);
|
|
num57 -= num60;
|
|
num57 += (long)num4;
|
|
num57 += (long)int4;
|
|
num5 = (uint)((long)num5 + num57);
|
|
num31 += (long)num5;
|
|
num31 -= num31;
|
|
num38 += num31;
|
|
num6 = (uint)((long)num6 + num31);
|
|
num31 = num38;
|
|
num6 = (uint)((long)num6 + num31);
|
|
num33 += num31;
|
|
num33 += (long)num6;
|
|
num3 = (uint)((long)num3 + num31);
|
|
num36 += num31;
|
|
num31 = num33;
|
|
num3 = (uint)((long)num3 + num31);
|
|
num36 += (long)num3;
|
|
num4 = (uint)((long)num4 + num36);
|
|
num57 += (long)num4;
|
|
num5 = (uint)((long)num5 + num57);
|
|
byte[] array = new byte[32];
|
|
int num61 = 0;
|
|
Ed25519.Encode56((ulong)num6, array, num61);
|
|
num6 = num3;
|
|
Ed25519.Encode56((ulong)num6, array, 7);
|
|
num6 = num4;
|
|
Ed25519.Encode56((ulong)num6, array, 14);
|
|
num6 = num5;
|
|
Ed25519.Encode56((ulong)num6, array, 21);
|
|
num31 += (long)num5;
|
|
Ed25519.Encode32((uint)num31, array, 28);
|
|
return array;
|
|
}
|
|
|
|
// Token: 0x060085E6 RID: 34278 RVA: 0x001D440C File Offset: 0x001D260C
|
|
[Token(Token = "0x60085E6")]
|
|
[Address(RVA = "0x208B570", Offset = "0x2089F70", VA = "0x18208B570")]
|
|
private static void ScalarMultBase(byte[] k, Ed25519.PointAccum r)
|
|
{
|
|
Ed25519.Precompute();
|
|
Ed25519.PointSetNeutral(r);
|
|
uint[] array = new uint[8];
|
|
int num = 0;
|
|
Ed25519.DecodeScalar(k, num, array);
|
|
uint num2 = array[0];
|
|
uint[] l = Ed25519.L;
|
|
uint num3 = Nat.CAdd(8, (int)num2, array, l, array);
|
|
uint num4 = Nat.ShiftDownBit(8, array, (uint)1);
|
|
int num5 = 0;
|
|
uint num6 = Interleave.Shuffle2(array[num5]);
|
|
num5++;
|
|
array[0] = num6;
|
|
Ed25519.PointPrecomp pointPrecomp = new Ed25519.PointPrecomp();
|
|
int num7 = 0;
|
|
uint num8 = array[num7];
|
|
Ed25519.PointLookup(num7, (int)num8, pointPrecomp);
|
|
int[] ypx_h = pointPrecomp.ypx_h;
|
|
int[] ymx_h = pointPrecomp.ymx_h;
|
|
X25519Field.CSwap((int)num8, ypx_h, ymx_h);
|
|
int[] xyd = pointPrecomp.xyd;
|
|
X25519Field.CNegate((int)num8, xyd);
|
|
num7++;
|
|
}
|
|
|
|
// Token: 0x060085E7 RID: 34279 RVA: 0x001D44DC File Offset: 0x001D26DC
|
|
[Token(Token = "0x60085E7")]
|
|
[Address(RVA = "0x208B320", Offset = "0x2089D20", VA = "0x18208B320")]
|
|
private static void ScalarMultBaseEncoded(byte[] k, byte[] r, int rOff)
|
|
{
|
|
Ed25519.PointAccum pointAccum = new Ed25519.PointAccum();
|
|
Ed25519.ScalarMultBase(k, pointAccum);
|
|
Ed25519.EncodePoint(pointAccum, r, rOff);
|
|
}
|
|
|
|
// Token: 0x060085E8 RID: 34280 RVA: 0x001D4500 File Offset: 0x001D2700
|
|
[Token(Token = "0x60085E8")]
|
|
[Address(RVA = "0x208B3D0", Offset = "0x2089DD0", VA = "0x18208B3D0")]
|
|
internal static void ScalarMultBaseYZ(byte[] k, int kOff, int[] y, int[] z)
|
|
{
|
|
byte[] array = new byte[32];
|
|
Ed25519.PruneScalar(k, kOff, array);
|
|
Ed25519.PointAccum pointAccum = new Ed25519.PointAccum();
|
|
Ed25519.ScalarMultBase(array, pointAccum);
|
|
int[] y2 = pointAccum.y;
|
|
int num = 0;
|
|
int num2 = y2[num];
|
|
num++;
|
|
y[0] = num2;
|
|
int num3 = pointAccum.z[num];
|
|
num++;
|
|
z[0] = num3;
|
|
}
|
|
|
|
// Token: 0x060085E9 RID: 34281 RVA: 0x001D456C File Offset: 0x001D276C
|
|
[Token(Token = "0x60085E9")]
|
|
[Address(RVA = "0x208B840", Offset = "0x208A240", VA = "0x18208B840")]
|
|
private static void ScalarMultStraussVar(uint[] nb, uint[] np, Ed25519.PointExt p, Ed25519.PointAccum r)
|
|
{
|
|
Ed25519.Precompute();
|
|
sbyte[] wnaf = Ed25519.GetWnaf(nb, 7);
|
|
sbyte[] wnaf2 = Ed25519.GetWnaf(np, 5);
|
|
Ed25519.PointExt[] array = Ed25519.PointPrecompVar(p, 8);
|
|
Ed25519.PointSetNeutral(r);
|
|
if ((uint)255 == (uint)wnaf2.Length)
|
|
{
|
|
}
|
|
sbyte b;
|
|
Ed25519.PointExt pointExt = Ed25519.precompBaseTable[(int)b];
|
|
bool flag;
|
|
Ed25519.PointAddVar(flag, pointExt, r);
|
|
if ((uint)255 != 0U)
|
|
{
|
|
Ed25519.PointExt pointExt2;
|
|
Ed25519.PointAddVar((uint)255 != 0U, pointExt2, r);
|
|
}
|
|
Ed25519.PointDouble(r);
|
|
}
|
|
|
|
// Token: 0x060085EA RID: 34282 RVA: 0x001D45F0 File Offset: 0x001D27F0
|
|
[Token(Token = "0x60085EA")]
|
|
[Address(RVA = "0x208C220", Offset = "0x208AC20", VA = "0x18208C220")]
|
|
public static void Sign(byte[] sk, int skOff, byte[] m, int mOff, int mLen, byte[] sig, int sigOff)
|
|
{
|
|
}
|
|
|
|
// Token: 0x060085EB RID: 34283 RVA: 0x001D4600 File Offset: 0x001D2800
|
|
[Token(Token = "0x60085EB")]
|
|
[Address(RVA = "0x208BFB0", Offset = "0x208A9B0", VA = "0x18208BFB0")]
|
|
public static void Sign(byte[] sk, int skOff, byte[] pk, int pkOff, byte[] m, int mOff, int mLen, byte[] sig, int sigOff)
|
|
{
|
|
}
|
|
|
|
// Token: 0x060085EC RID: 34284 RVA: 0x001D4610 File Offset: 0x001D2810
|
|
[Token(Token = "0x60085EC")]
|
|
[Address(RVA = "0x208C160", Offset = "0x208AB60", VA = "0x18208C160")]
|
|
public static void Sign(byte[] sk, int skOff, byte[] ctx, byte[] m, int mOff, int mLen, byte[] sig, int sigOff)
|
|
{
|
|
}
|
|
|
|
// Token: 0x060085ED RID: 34285 RVA: 0x001D4620 File Offset: 0x001D2820
|
|
[Token(Token = "0x60085ED")]
|
|
[Address(RVA = "0x208C080", Offset = "0x208AA80", VA = "0x18208C080")]
|
|
public static void Sign(byte[] sk, int skOff, byte[] pk, int pkOff, byte[] ctx, byte[] m, int mOff, int mLen, byte[] sig, int sigOff)
|
|
{
|
|
}
|
|
|
|
// Token: 0x060085EE RID: 34286 RVA: 0x001D4630 File Offset: 0x001D2830
|
|
[Token(Token = "0x60085EE")]
|
|
[Address(RVA = "0x208BE00", Offset = "0x208A800", VA = "0x18208BE00")]
|
|
public static void SignPrehash(byte[] sk, int skOff, byte[] ctx, byte[] ph, int phOff, byte[] sig, int sigOff)
|
|
{
|
|
int prehashSize = Ed25519.PrehashSize;
|
|
}
|
|
|
|
// Token: 0x060085EF RID: 34287 RVA: 0x001D4644 File Offset: 0x001D2844
|
|
[Token(Token = "0x60085EF")]
|
|
[Address(RVA = "0x208BED0", Offset = "0x208A8D0", VA = "0x18208BED0")]
|
|
public static void SignPrehash(byte[] sk, int skOff, byte[] pk, int pkOff, byte[] ctx, byte[] ph, int phOff, byte[] sig, int sigOff)
|
|
{
|
|
int prehashSize = Ed25519.PrehashSize;
|
|
}
|
|
|
|
// Token: 0x060085F0 RID: 34288 RVA: 0x001D4658 File Offset: 0x001D2858
|
|
[Token(Token = "0x60085F0")]
|
|
[Address(RVA = "0x208BAE0", Offset = "0x208A4E0", VA = "0x18208BAE0")]
|
|
public static void SignPrehash(byte[] sk, int skOff, byte[] ctx, IDigest ph, byte[] sig, int sigOff)
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (060085F0)
|
|
|
|
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Math.EC.Rfc8032.Ed25519::SignPrehash(System.Byte[],System.Int32,System.Byte[],BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.IDigest,System.Byte[],System.Int32)
|
|
|
|
---> System.Exception: Basic block has to end with unconditional control flow.
|
|
{
|
|
IL_21:
|
|
stloc:ArgumentException(var_5_2B, newobj:ArgumentException(ArgumentException::.ctor, ldstr:string("ph")))
|
|
}
|
|
|
|
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.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
|
|
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
|
|
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1846
|
|
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: 0x060085F1 RID: 34289 RVA: 0x001D4694 File Offset: 0x001D2894
|
|
[Token(Token = "0x60085F1")]
|
|
[Address(RVA = "0x208BC60", Offset = "0x208A660", VA = "0x18208BC60")]
|
|
public static void SignPrehash(byte[] sk, int skOff, byte[] pk, int pkOff, byte[] ctx, IDigest ph, byte[] sig, int sigOff)
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (060085F1)
|
|
|
|
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Math.EC.Rfc8032.Ed25519::SignPrehash(System.Byte[],System.Int32,System.Byte[],System.Int32,System.Byte[],BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.IDigest,System.Byte[],System.Int32)
|
|
|
|
---> System.Exception: Basic block has to end with unconditional control flow.
|
|
{
|
|
IL_21:
|
|
stloc:ArgumentException(var_6_2B, newobj:ArgumentException(ArgumentException::.ctor, ldstr:string("ph")))
|
|
}
|
|
|
|
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.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
|
|
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
|
|
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1846
|
|
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: 0x060085F2 RID: 34290 RVA: 0x001D46D0 File Offset: 0x001D28D0
|
|
[Token(Token = "0x60085F2")]
|
|
[Address(RVA = "0x208C530", Offset = "0x208AF30", VA = "0x18208C530")]
|
|
public static bool Verify(byte[] sig, int sigOff, byte[] pk, int pkOff, byte[] m, int mOff, int mLen)
|
|
{
|
|
bool flag;
|
|
return flag;
|
|
}
|
|
|
|
// Token: 0x060085F3 RID: 34291 RVA: 0x001D46E0 File Offset: 0x001D28E0
|
|
[Token(Token = "0x60085F3")]
|
|
[Address(RVA = "0x208C5E0", Offset = "0x208AFE0", VA = "0x18208C5E0")]
|
|
public static bool Verify(byte[] sig, int sigOff, byte[] pk, int pkOff, byte[] ctx, byte[] m, int mOff, int mLen)
|
|
{
|
|
bool flag;
|
|
return flag;
|
|
}
|
|
|
|
// Token: 0x060085F4 RID: 34292 RVA: 0x001D46F0 File Offset: 0x001D28F0
|
|
[Token(Token = "0x60085F4")]
|
|
[Address(RVA = "0x208C2E0", Offset = "0x208ACE0", VA = "0x18208C2E0")]
|
|
public static bool VerifyPrehash(byte[] sig, int sigOff, byte[] pk, int pkOff, byte[] ctx, byte[] ph, int phOff)
|
|
{
|
|
int prehashSize = Ed25519.PrehashSize;
|
|
bool flag;
|
|
return flag;
|
|
}
|
|
|
|
// Token: 0x060085F5 RID: 34293 RVA: 0x001D4704 File Offset: 0x001D2904
|
|
[Token(Token = "0x60085F5")]
|
|
[Address(RVA = "0x208C3B0", Offset = "0x208ADB0", VA = "0x18208C3B0")]
|
|
public static bool VerifyPrehash(byte[] sig, int sigOff, byte[] pk, int pkOff, byte[] ctx, IDigest ph)
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (060085F5)
|
|
|
|
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Boolean BestHTTP.SecureProtocol.Org.BouncyCastle.Math.EC.Rfc8032.Ed25519::VerifyPrehash(System.Byte[],System.Int32,System.Byte[],System.Int32,System.Byte[],BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.IDigest)
|
|
|
|
---> System.Exception: Basic block has to end with unconditional control flow.
|
|
{
|
|
IL_23:
|
|
stloc:ArgumentException(var_7_2D, newobj:ArgumentException(ArgumentException::.ctor, ldstr:string("ph")))
|
|
}
|
|
|
|
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.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
|
|
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
|
|
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1846
|
|
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: 0x060085F6 RID: 34294 RVA: 0x001D4740 File Offset: 0x001D2940
|
|
[Token(Token = "0x60085F6")]
|
|
[Address(RVA = "0x3C1670", Offset = "0x3C0070", VA = "0x1803C1670")]
|
|
protected Ed25519()
|
|
{
|
|
}
|
|
|
|
// Token: 0x060085F7 RID: 34295 RVA: 0x001D4754 File Offset: 0x001D2954
|
|
// Note: this type is marked as 'beforefieldinit'.
|
|
[Token(Token = "0x60085F7")]
|
|
[Address(RVA = "0x208C6A0", Offset = "0x208B0A0", VA = "0x18208C6A0")]
|
|
static Ed25519()
|
|
{
|
|
uint[] array = new uint[8];
|
|
RuntimeHelpers.InitializeArray(array, fieldof(<PrivateImplementationDetails>.86B0F85AC13B58F88DEFFD8FD6EE095438B98F10).FieldHandle);
|
|
Ed25519.P = array;
|
|
uint[] array2 = new uint[8];
|
|
RuntimeHelpers.InitializeArray(array2, fieldof(<PrivateImplementationDetails>.400E52B9E7F331D1ACC81B4EA40D228C7A6D60F8).FieldHandle);
|
|
Ed25519.L = array2;
|
|
int[] array3 = new int[10];
|
|
RuntimeHelpers.InitializeArray(array3, fieldof(<PrivateImplementationDetails>.98CF708E75DA60C2A04D06606E726EC975E6DBAB).FieldHandle);
|
|
Ed25519.B_x = array3;
|
|
int[] array4 = new int[10];
|
|
RuntimeHelpers.InitializeArray(array4, fieldof(<PrivateImplementationDetails>.58F8E05C1E95C042205E13B76D1BFC0F7ABA6F88).FieldHandle);
|
|
Ed25519.B_y = array4;
|
|
int[] array5 = new int[10];
|
|
RuntimeHelpers.InitializeArray(array5, fieldof(<PrivateImplementationDetails>.4C8FA1E9ACD72AED71F3923AEC5DF6AC8B6EFFE4).FieldHandle);
|
|
Ed25519.C_d = array5;
|
|
int[] array6 = new int[10];
|
|
RuntimeHelpers.InitializeArray(array6, fieldof(<PrivateImplementationDetails>.5BF56A4EEA44BBE4974BB61DA08B42B6EC49B72D).FieldHandle);
|
|
Ed25519.C_d2 = array6;
|
|
int[] array7 = new int[10];
|
|
RuntimeHelpers.InitializeArray(array7, fieldof(<PrivateImplementationDetails>.BBBDF1388DDDDEEC01227AF1738F138452242E3A).FieldHandle);
|
|
Ed25519.C_d4 = array7;
|
|
Ed25519.precompLock = new object();
|
|
int num = 0;
|
|
Ed25519.precompBaseTable = num;
|
|
Ed25519.precompBase = num;
|
|
}
|
|
|
|
// Token: 0x04005C61 RID: 23649
|
|
[Token(Token = "0x4005C61")]
|
|
private const long M28L = 268435455L;
|
|
|
|
// Token: 0x04005C62 RID: 23650
|
|
[Token(Token = "0x4005C62")]
|
|
private const long M32L = 4294967295L;
|
|
|
|
// Token: 0x04005C63 RID: 23651
|
|
[Token(Token = "0x4005C63")]
|
|
private const int PointBytes = 32;
|
|
|
|
// Token: 0x04005C64 RID: 23652
|
|
[Token(Token = "0x4005C64")]
|
|
private const int ScalarUints = 8;
|
|
|
|
// Token: 0x04005C65 RID: 23653
|
|
[Token(Token = "0x4005C65")]
|
|
private const int ScalarBytes = 32;
|
|
|
|
// Token: 0x04005C66 RID: 23654
|
|
[Token(Token = "0x4005C66")]
|
|
public static readonly int PrehashSize;
|
|
|
|
// Token: 0x04005C67 RID: 23655
|
|
[Token(Token = "0x4005C67")]
|
|
public static readonly int PublicKeySize;
|
|
|
|
// Token: 0x04005C68 RID: 23656
|
|
[Token(Token = "0x4005C68")]
|
|
public static readonly int SecretKeySize;
|
|
|
|
// Token: 0x04005C69 RID: 23657
|
|
[Token(Token = "0x4005C69")]
|
|
public static readonly int SignatureSize;
|
|
|
|
// Token: 0x04005C6A RID: 23658
|
|
[Token(Token = "0x4005C6A")]
|
|
private static readonly byte[] Dom2Prefix = Strings.ToByteArray("SigEd25519 no Ed25519 collisions");
|
|
|
|
// Token: 0x04005C6B RID: 23659
|
|
[Token(Token = "0x4005C6B")]
|
|
private static readonly uint[] P;
|
|
|
|
// Token: 0x04005C6C RID: 23660
|
|
[Token(Token = "0x4005C6C")]
|
|
private static readonly uint[] L;
|
|
|
|
// Token: 0x04005C6D RID: 23661
|
|
[Token(Token = "0x4005C6D")]
|
|
private const int L0 = -50998291;
|
|
|
|
// Token: 0x04005C6E RID: 23662
|
|
[Token(Token = "0x4005C6E")]
|
|
private const int L1 = 19280294;
|
|
|
|
// Token: 0x04005C6F RID: 23663
|
|
[Token(Token = "0x4005C6F")]
|
|
private const int L2 = 127719000;
|
|
|
|
// Token: 0x04005C70 RID: 23664
|
|
[Token(Token = "0x4005C70")]
|
|
private const int L3 = -6428113;
|
|
|
|
// Token: 0x04005C71 RID: 23665
|
|
[Token(Token = "0x4005C71")]
|
|
private const int L4 = 5343;
|
|
|
|
// Token: 0x04005C72 RID: 23666
|
|
[Token(Token = "0x4005C72")]
|
|
private static readonly int[] B_x;
|
|
|
|
// Token: 0x04005C73 RID: 23667
|
|
[Token(Token = "0x4005C73")]
|
|
private static readonly int[] B_y;
|
|
|
|
// Token: 0x04005C74 RID: 23668
|
|
[Token(Token = "0x4005C74")]
|
|
private static readonly int[] C_d;
|
|
|
|
// Token: 0x04005C75 RID: 23669
|
|
[Token(Token = "0x4005C75")]
|
|
private static readonly int[] C_d2;
|
|
|
|
// Token: 0x04005C76 RID: 23670
|
|
[Token(Token = "0x4005C76")]
|
|
private static readonly int[] C_d4;
|
|
|
|
// Token: 0x04005C77 RID: 23671
|
|
[Token(Token = "0x4005C77")]
|
|
private const int WnafWidthBase = 7;
|
|
|
|
// Token: 0x04005C78 RID: 23672
|
|
[Token(Token = "0x4005C78")]
|
|
private const int PrecompBlocks = 8;
|
|
|
|
// Token: 0x04005C79 RID: 23673
|
|
[Token(Token = "0x4005C79")]
|
|
private const int PrecompTeeth = 4;
|
|
|
|
// Token: 0x04005C7A RID: 23674
|
|
[Token(Token = "0x4005C7A")]
|
|
private const int PrecompSpacing = 8;
|
|
|
|
// Token: 0x04005C7B RID: 23675
|
|
[Token(Token = "0x4005C7B")]
|
|
private const int PrecompPoints = 8;
|
|
|
|
// Token: 0x04005C7C RID: 23676
|
|
[Token(Token = "0x4005C7C")]
|
|
private const int PrecompMask = 7;
|
|
|
|
// Token: 0x04005C7D RID: 23677
|
|
[Token(Token = "0x4005C7D")]
|
|
private static readonly object precompLock;
|
|
|
|
// Token: 0x04005C7E RID: 23678
|
|
[Token(Token = "0x4005C7E")]
|
|
private static Ed25519.PointExt[] precompBaseTable;
|
|
|
|
// Token: 0x04005C7F RID: 23679
|
|
[Token(Token = "0x4005C7F")]
|
|
private static int[] precompBase;
|
|
|
|
// Token: 0x0200142C RID: 5164
|
|
[Token(Token = "0x200142C")]
|
|
public enum Algorithm
|
|
{
|
|
// Token: 0x04005C81 RID: 23681
|
|
[Token(Token = "0x4005C81")]
|
|
Ed25519,
|
|
// Token: 0x04005C82 RID: 23682
|
|
[Token(Token = "0x4005C82")]
|
|
Ed25519ctx,
|
|
// Token: 0x04005C83 RID: 23683
|
|
[Token(Token = "0x4005C83")]
|
|
Ed25519ph
|
|
}
|
|
|
|
// Token: 0x0200142D RID: 5165
|
|
[Token(Token = "0x200142D")]
|
|
private class PointAccum
|
|
{
|
|
// Token: 0x060085F8 RID: 34296 RVA: 0x001D4844 File Offset: 0x001D2A44
|
|
[Token(Token = "0x60085F8")]
|
|
[Address(RVA = "0x20C1390", Offset = "0x20BFD90", VA = "0x1820C1390")]
|
|
public PointAccum()
|
|
{
|
|
int[] array = X25519Field.Create();
|
|
this.x = array;
|
|
int[] array2 = X25519Field.Create();
|
|
this.y = array2;
|
|
int[] array3 = X25519Field.Create();
|
|
this.z = array3;
|
|
int[] array4 = X25519Field.Create();
|
|
this.u = array4;
|
|
int[] array5 = X25519Field.Create();
|
|
this.v = array5;
|
|
base..ctor();
|
|
}
|
|
|
|
// Token: 0x04005C84 RID: 23684
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
|
|
[Token(Token = "0x4005C84")]
|
|
internal int[] x;
|
|
|
|
// Token: 0x04005C85 RID: 23685
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
|
|
[Token(Token = "0x4005C85")]
|
|
internal int[] y;
|
|
|
|
// Token: 0x04005C86 RID: 23686
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x20")]
|
|
[Token(Token = "0x4005C86")]
|
|
internal int[] z;
|
|
|
|
// Token: 0x04005C87 RID: 23687
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x28")]
|
|
[Token(Token = "0x4005C87")]
|
|
internal int[] u;
|
|
|
|
// Token: 0x04005C88 RID: 23688
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x30")]
|
|
[Token(Token = "0x4005C88")]
|
|
internal int[] v;
|
|
}
|
|
|
|
// Token: 0x0200142E RID: 5166
|
|
[Token(Token = "0x200142E")]
|
|
private class PointExt
|
|
{
|
|
// Token: 0x060085F9 RID: 34297 RVA: 0x001D48AC File Offset: 0x001D2AAC
|
|
[Token(Token = "0x60085F9")]
|
|
[Address(RVA = "0x20C1420", Offset = "0x20BFE20", VA = "0x1820C1420")]
|
|
public PointExt()
|
|
{
|
|
int[] array = X25519Field.Create();
|
|
this.x = array;
|
|
int[] array2 = X25519Field.Create();
|
|
this.y = array2;
|
|
int[] array3 = X25519Field.Create();
|
|
this.z = array3;
|
|
int[] array4 = X25519Field.Create();
|
|
this.t = array4;
|
|
base..ctor();
|
|
}
|
|
|
|
// Token: 0x04005C89 RID: 23689
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
|
|
[Token(Token = "0x4005C89")]
|
|
internal int[] x;
|
|
|
|
// Token: 0x04005C8A RID: 23690
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
|
|
[Token(Token = "0x4005C8A")]
|
|
internal int[] y;
|
|
|
|
// Token: 0x04005C8B RID: 23691
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x20")]
|
|
[Token(Token = "0x4005C8B")]
|
|
internal int[] z;
|
|
|
|
// Token: 0x04005C8C RID: 23692
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x28")]
|
|
[Token(Token = "0x4005C8C")]
|
|
internal int[] t;
|
|
}
|
|
|
|
// Token: 0x0200142F RID: 5167
|
|
[Token(Token = "0x200142F")]
|
|
private class PointPrecomp
|
|
{
|
|
// Token: 0x060085FA RID: 34298 RVA: 0x001D4904 File Offset: 0x001D2B04
|
|
[Token(Token = "0x60085FA")]
|
|
[Address(RVA = "0x20C14E0", Offset = "0x20BFEE0", VA = "0x1820C14E0")]
|
|
public PointPrecomp()
|
|
{
|
|
int[] array = X25519Field.Create();
|
|
this.ypx_h = array;
|
|
int[] array2 = X25519Field.Create();
|
|
this.ymx_h = array2;
|
|
int[] array3 = X25519Field.Create();
|
|
this.xyd = array3;
|
|
base..ctor();
|
|
}
|
|
|
|
// Token: 0x04005C8D RID: 23693
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
|
|
[Token(Token = "0x4005C8D")]
|
|
internal int[] ypx_h;
|
|
|
|
// Token: 0x04005C8E RID: 23694
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
|
|
[Token(Token = "0x4005C8E")]
|
|
internal int[] ymx_h;
|
|
|
|
// Token: 0x04005C8F RID: 23695
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x20")]
|
|
[Token(Token = "0x4005C8F")]
|
|
internal int[] xyd;
|
|
}
|
|
}
|
|
}
|