439 lines
21 KiB
C#
439 lines
21 KiB
C#
using System;
|
|
using System.Runtime.InteropServices;
|
|
using BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Digests;
|
|
using BestHTTP.SecureProtocol.Org.BouncyCastle.Math;
|
|
using BestHTTP.SecureProtocol.Org.BouncyCastle.Security;
|
|
using BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities;
|
|
using Cpp2IlInjected;
|
|
|
|
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Agreement.JPake
|
|
{
|
|
// Token: 0x0200173C RID: 5948
|
|
[Token(Token = "0x200173C")]
|
|
[StructLayout(3)]
|
|
public class JPakeParticipant
|
|
{
|
|
// Token: 0x0600A0C6 RID: 41158 RVA: 0x00256144 File Offset: 0x00254344
|
|
[Token(Token = "0x600A0C6")]
|
|
[Address(RVA = "0x65AF50", Offset = "0x659950", VA = "0x18065AF50")]
|
|
public JPakeParticipant(string participantId, char[] password)
|
|
{
|
|
JPakePrimeOrderGroup nist_ = JPakePrimeOrderGroups.NIST_3072;
|
|
Sha256Digest sha256Digest = new Sha256Digest();
|
|
SecureRandom secureRandom = new SecureRandom();
|
|
}
|
|
|
|
// Token: 0x0600A0C7 RID: 41159 RVA: 0x00256164 File Offset: 0x00254364
|
|
[Token(Token = "0x600A0C7")]
|
|
[Address(RVA = "0x65B050", Offset = "0x659A50", VA = "0x18065B050")]
|
|
public JPakeParticipant(string participantId, char[] password, JPakePrimeOrderGroup group)
|
|
{
|
|
Sha256Digest sha256Digest = new Sha256Digest();
|
|
SecureRandom secureRandom = new SecureRandom();
|
|
}
|
|
|
|
// Token: 0x0600A0C8 RID: 41160 RVA: 0x00256180 File Offset: 0x00254380
|
|
[Token(Token = "0x600A0C8")]
|
|
[Address(RVA = "0x65B100", Offset = "0x659B00", VA = "0x18065B100")]
|
|
public JPakeParticipant(string participantId, char[] password, JPakePrimeOrderGroup group, IDigest digest, SecureRandom random)
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (0600A0C8)
|
|
|
|
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Agreement.JPake.JPakeParticipant::.ctor(System.String,System.Char[],BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Agreement.JPake.JPakePrimeOrderGroup,BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.IDigest,BestHTTP.SecureProtocol.Org.BouncyCastle.Security.SecureRandom)
|
|
|
|
---> System.Exception: Basic block has to end with unconditional control flow.
|
|
{
|
|
IL_A9:
|
|
stloc:ArgumentNullException(var_6_B3, newobj:ArgumentNullException(ArgumentNullException::.ctor, ldstr:string("participantId")))
|
|
}
|
|
|
|
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: 0x17001936 RID: 6454
|
|
// (get) Token: 0x0600A0C9 RID: 41161 RVA: 0x00256244 File Offset: 0x00254444
|
|
[Token(Token = "0x17001936")]
|
|
public virtual int State
|
|
{
|
|
[Token(Token = "0x600A0C9")]
|
|
[Address(RVA = "0x54D7F0", Offset = "0x54C1F0", VA = "0x18054D7F0", Slot = "4")]
|
|
get
|
|
{
|
|
return this.state;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600A0CA RID: 41162 RVA: 0x00256258 File Offset: 0x00254458
|
|
[Token(Token = "0x600A0CA")]
|
|
[Address(RVA = "0x659A80", Offset = "0x658480", VA = "0x180659A80", Slot = "5")]
|
|
public virtual JPakeRound1Payload CreateRound1PayloadToSend()
|
|
{
|
|
int num = this.state;
|
|
BigInteger bigInteger = this.q;
|
|
SecureRandom secureRandom = this.random;
|
|
BigInteger zero = JPakeUtilities.Zero;
|
|
BigInteger one = JPakeUtilities.One;
|
|
BigInteger bigInteger2 = bigInteger.Subtract(one);
|
|
BigInteger bigInteger3 = BigIntegers.CreateRandomInRange(zero, bigInteger2, secureRandom);
|
|
BigInteger bigInteger4 = this.q;
|
|
SecureRandom secureRandom2 = this.random;
|
|
this.x1 = bigInteger3;
|
|
BigInteger one2 = JPakeUtilities.One;
|
|
BigInteger bigInteger5 = bigInteger4.Subtract(one2);
|
|
BigInteger bigInteger6 = BigIntegers.CreateRandomInRange(one2, bigInteger5, secureRandom2);
|
|
BigInteger bigInteger7 = this.g;
|
|
this.x2 = bigInteger6;
|
|
BigInteger bigInteger8 = this.p;
|
|
BigInteger bigInteger9 = this.x1;
|
|
BigInteger bigInteger10 = bigInteger7.ModPow(bigInteger9, bigInteger8);
|
|
BigInteger bigInteger11 = this.g;
|
|
this.gx1 = bigInteger10;
|
|
BigInteger bigInteger12 = this.p;
|
|
BigInteger bigInteger13 = this.x2;
|
|
BigInteger bigInteger14 = bigInteger11.ModPow(bigInteger13, bigInteger12);
|
|
IDigest digest = this.digest;
|
|
string text = this.participantId;
|
|
BigInteger bigInteger15 = this.x1;
|
|
BigInteger bigInteger16 = this.gx1;
|
|
BigInteger bigInteger17 = this.g;
|
|
BigInteger bigInteger18 = this.q;
|
|
BigInteger bigInteger19 = this.p;
|
|
this.gx2 = bigInteger14;
|
|
SecureRandom secureRandom3 = this.random;
|
|
BigInteger[] array = JPakeUtilities.CalculateZeroKnowledgeProof(bigInteger19, bigInteger18, bigInteger17, bigInteger16, bigInteger15, text, digest, secureRandom3);
|
|
SecureRandom secureRandom4 = this.random;
|
|
IDigest digest2 = this.digest;
|
|
string text2 = this.participantId;
|
|
BigInteger bigInteger20 = this.x2;
|
|
BigInteger bigInteger21 = this.gx2;
|
|
BigInteger bigInteger22 = this.g;
|
|
BigInteger bigInteger23 = this.q;
|
|
BigInteger[] array2 = JPakeUtilities.CalculateZeroKnowledgeProof(this.p, bigInteger23, bigInteger22, bigInteger21, bigInteger20, text2, digest2, secureRandom4);
|
|
string text3 = this.participantId;
|
|
BigInteger bigInteger24 = this.gx1;
|
|
BigInteger bigInteger25 = this.gx2;
|
|
int state_ROUND_1_CREATED = JPakeParticipant.STATE_ROUND_1_CREATED;
|
|
this.state = state_ROUND_1_CREATED;
|
|
return new JPakeRound1Payload(text3, bigInteger24, bigInteger25, array, array2);
|
|
}
|
|
|
|
// Token: 0x0600A0CB RID: 41163 RVA: 0x00256420 File Offset: 0x00254620
|
|
[Token(Token = "0x600A0CB")]
|
|
[Address(RVA = "0x65A460", Offset = "0x658E60", VA = "0x18065A460", Slot = "6")]
|
|
public virtual void ValidateRound1PayloadReceived(JPakeRound1Payload round1PayloadReceived)
|
|
{
|
|
int num = this.state;
|
|
string text = round1PayloadReceived.ToString();
|
|
this.partnerParticipantId = text;
|
|
string text2 = round1PayloadReceived.ParticipantId;
|
|
this.gx3 = text2;
|
|
BigInteger bigInteger = round1PayloadReceived.Gx1;
|
|
this.gx4 = bigInteger;
|
|
BigInteger bigInteger2 = round1PayloadReceived.Gx2;
|
|
BigInteger[] knowledgeProofForX = round1PayloadReceived.KnowledgeProofForX1;
|
|
string text3 = this.participantId;
|
|
string text4 = round1PayloadReceived.ToString();
|
|
JPakeUtilities.ValidateParticipantIdsDiffer(text3, text4);
|
|
BigInteger bigInteger3 = this.gx4;
|
|
BigInteger bigInteger4 = this.p;
|
|
string text5 = round1PayloadReceived.ToString();
|
|
IDigest digest = this.digest;
|
|
BigInteger bigInteger5 = this.p;
|
|
BigInteger bigInteger6 = this.q;
|
|
BigInteger bigInteger7 = this.g;
|
|
BigInteger bigInteger8 = this.gx4;
|
|
string text6 = round1PayloadReceived.ToString();
|
|
IDigest digest2 = this.digest;
|
|
JPakeUtilities.ValidateZeroKnowledgeProof(bigInteger5, bigInteger6, bigInteger7, bigInteger8, knowledgeProofForX, text6, digest2);
|
|
int state_ROUND_1_VALIDATED = JPakeParticipant.STATE_ROUND_1_VALIDATED;
|
|
this.state = state_ROUND_1_VALIDATED;
|
|
}
|
|
|
|
// Token: 0x0600A0CC RID: 41164 RVA: 0x00256510 File Offset: 0x00254710
|
|
[Token(Token = "0x600A0CC")]
|
|
[Address(RVA = "0x659DE0", Offset = "0x6587E0", VA = "0x180659DE0", Slot = "7")]
|
|
public virtual JPakeRound2Payload CreateRound2PayloadToSend()
|
|
{
|
|
BigInteger bigInteger11;
|
|
BigInteger[] array;
|
|
string text2;
|
|
for (;;)
|
|
{
|
|
int num = this.state;
|
|
int num2 = this.state;
|
|
BigInteger bigInteger = this.p;
|
|
BigInteger bigInteger2 = this.gx1;
|
|
BigInteger bigInteger3 = this.gx3;
|
|
BigInteger bigInteger4 = this.gx4;
|
|
BigInteger bigInteger5 = bigInteger2.Multiply(bigInteger3).Multiply(bigInteger4).Mod(bigInteger);
|
|
BigInteger bigInteger6 = JPakeUtilities.CalculateS(this.password);
|
|
BigInteger bigInteger7 = this.x2;
|
|
BigInteger bigInteger8 = this.q;
|
|
BigInteger bigInteger9 = bigInteger7.Multiply(bigInteger6).Mod(bigInteger8);
|
|
BigInteger bigInteger10 = this.p;
|
|
bigInteger11 = bigInteger5.ModPow(bigInteger9, bigInteger10);
|
|
SecureRandom secureRandom = this.random;
|
|
IDigest digest = this.digest;
|
|
string text = this.participantId;
|
|
BigInteger bigInteger12 = this.q;
|
|
array = JPakeUtilities.CalculateZeroKnowledgeProof(this.p, bigInteger12, bigInteger5, bigInteger11, bigInteger9, text, digest, secureRandom);
|
|
text2 = this.participantId;
|
|
int state_ROUND_2_CREATED = JPakeParticipant.STATE_ROUND_2_CREATED;
|
|
this.state = state_ROUND_2_CREATED;
|
|
if (text2 != 0)
|
|
{
|
|
if ((ulong)1L == 0UL)
|
|
{
|
|
}
|
|
if (bigInteger11 != 0)
|
|
{
|
|
if ((ulong)1L == 0UL)
|
|
{
|
|
}
|
|
if (array != 0)
|
|
{
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
JPakeRound2Payload jpakeRound2Payload;
|
|
jpakeRound2Payload.participantId = text2;
|
|
jpakeRound2Payload.a = bigInteger11;
|
|
BigInteger[] array2 = new BigInteger[array.Length];
|
|
jpakeRound2Payload.knowledgeProofForX2s = array2;
|
|
return jpakeRound2Payload;
|
|
}
|
|
|
|
// Token: 0x0600A0CD RID: 41165 RVA: 0x00256654 File Offset: 0x00254854
|
|
[Token(Token = "0x600A0CD")]
|
|
[Address(RVA = "0x65A7A0", Offset = "0x6591A0", VA = "0x18065A7A0", Slot = "8")]
|
|
public virtual void ValidateRound2PayloadReceived(JPakeRound2Payload round2PayloadReceived)
|
|
{
|
|
int num = this.state;
|
|
int num2 = this.state;
|
|
BigInteger bigInteger = this.p;
|
|
BigInteger bigInteger2 = this.gx3;
|
|
BigInteger bigInteger3 = this.gx1;
|
|
BigInteger bigInteger4 = this.gx2;
|
|
BigInteger bigInteger5 = bigInteger2.Multiply(bigInteger3).Multiply(bigInteger4).Mod(bigInteger);
|
|
string text = round2PayloadReceived.ParticipantId;
|
|
this.b = text;
|
|
BigInteger a = round2PayloadReceived.A;
|
|
string text2 = this.participantId;
|
|
string text3 = round2PayloadReceived.ToString();
|
|
JPakeUtilities.ValidateParticipantIdsDiffer(text2, text3);
|
|
string text4 = this.partnerParticipantId;
|
|
string text5 = round2PayloadReceived.ToString();
|
|
JPakeUtilities.ValidateParticipantIdsEqual(text4, text5);
|
|
BigInteger bigInteger6 = this.p;
|
|
string text6 = round2PayloadReceived.ToString();
|
|
IDigest digest = this.digest;
|
|
int state_ROUND_2_VALIDATED = JPakeParticipant.STATE_ROUND_2_VALIDATED;
|
|
this.state = state_ROUND_2_VALIDATED;
|
|
}
|
|
|
|
// Token: 0x0600A0CE RID: 41166 RVA: 0x0025672C File Offset: 0x0025492C
|
|
[Token(Token = "0x600A0CE")]
|
|
[Address(RVA = "0x6597C0", Offset = "0x6581C0", VA = "0x1806597C0", Slot = "9")]
|
|
public virtual BigInteger CalculateKeyingMaterial()
|
|
{
|
|
int num = this.state;
|
|
int num2 = this.state;
|
|
BigInteger bigInteger = JPakeUtilities.CalculateS(this.password);
|
|
char[] array = this.password;
|
|
int length = array.Length;
|
|
int num3 = 0;
|
|
Array.Clear(array, num3, length);
|
|
BigInteger bigInteger2 = this.x2;
|
|
int num4 = 0;
|
|
BigInteger bigInteger3 = this.p;
|
|
BigInteger bigInteger4 = this.q;
|
|
BigInteger bigInteger5 = this.b;
|
|
BigInteger bigInteger6 = this.gx4;
|
|
this.password = num4;
|
|
BigInteger bigInteger7 = bigInteger2.Multiply(bigInteger).Negate().Mod(bigInteger4);
|
|
BigInteger bigInteger8 = bigInteger6.ModPow(bigInteger7, bigInteger3).Multiply(bigInteger5).ModPow(bigInteger2, bigInteger3);
|
|
this.x1 = num4;
|
|
this.x2 = num4;
|
|
this.b = num4;
|
|
int state_KEY_CALCULATED = JPakeParticipant.STATE_KEY_CALCULATED;
|
|
this.state = state_KEY_CALCULATED;
|
|
return bigInteger8;
|
|
}
|
|
|
|
// Token: 0x0600A0CF RID: 41167 RVA: 0x00256808 File Offset: 0x00254A08
|
|
[Token(Token = "0x600A0CF")]
|
|
[Address(RVA = "0x65A210", Offset = "0x658C10", VA = "0x18065A210", Slot = "10")]
|
|
public virtual JPakeRound3Payload CreateRound3PayloadToSend(BigInteger keyingMaterial)
|
|
{
|
|
int num = this.state;
|
|
int num2 = this.state;
|
|
IDigest digest = this.digest;
|
|
string text = this.participantId;
|
|
string text2 = this.partnerParticipantId;
|
|
BigInteger bigInteger = this.gx1;
|
|
BigInteger bigInteger2 = this.gx2;
|
|
BigInteger bigInteger3 = this.gx3;
|
|
BigInteger bigInteger4 = this.gx4;
|
|
BigInteger bigInteger5 = JPakeUtilities.CalculateMacTag(text, text2, bigInteger, bigInteger2, bigInteger3, bigInteger4, keyingMaterial, digest);
|
|
string text3 = this.participantId;
|
|
int state_ROUND_3_CREATED = JPakeParticipant.STATE_ROUND_3_CREATED;
|
|
this.state = state_ROUND_3_CREATED;
|
|
JPakeRound3Payload jpakeRound3Payload;
|
|
jpakeRound3Payload.participantId = text3;
|
|
jpakeRound3Payload.macTag = bigInteger5;
|
|
return jpakeRound3Payload;
|
|
}
|
|
|
|
// Token: 0x0600A0D0 RID: 41168 RVA: 0x002568A4 File Offset: 0x00254AA4
|
|
[Token(Token = "0x600A0D0")]
|
|
[Address(RVA = "0x65AB30", Offset = "0x659530", VA = "0x18065AB30", Slot = "11")]
|
|
public virtual void ValidateRound3PayloadReceived(JPakeRound3Payload round3PayloadReceived, BigInteger keyingMaterial)
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (0600A0D0)
|
|
|
|
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Agreement.JPake.JPakeParticipant::ValidateRound3PayloadReceived(BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Agreement.JPake.JPakeRound3Payload,BestHTTP.SecureProtocol.Org.BouncyCastle.Math.BigInteger)
|
|
|
|
---> System.Exception: Basic block has to end with unconditional control flow.
|
|
{
|
|
IL_CF:
|
|
stloc:CryptoException(var_18_D9, newobj:CryptoException(CryptoException::.ctor, ldstr:string("Partner MacTag validation failed. Therefore, the password, MAC, or digest algorithm of each participant does not match.")))
|
|
}
|
|
|
|
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: 0x040069D6 RID: 27094
|
|
[Token(Token = "0x40069D6")]
|
|
public static readonly int STATE_INITIALIZED;
|
|
|
|
// Token: 0x040069D7 RID: 27095
|
|
[Token(Token = "0x40069D7")]
|
|
public static readonly int STATE_ROUND_1_CREATED;
|
|
|
|
// Token: 0x040069D8 RID: 27096
|
|
[Token(Token = "0x40069D8")]
|
|
public static readonly int STATE_ROUND_1_VALIDATED;
|
|
|
|
// Token: 0x040069D9 RID: 27097
|
|
[Token(Token = "0x40069D9")]
|
|
public static readonly int STATE_ROUND_2_CREATED;
|
|
|
|
// Token: 0x040069DA RID: 27098
|
|
[Token(Token = "0x40069DA")]
|
|
public static readonly int STATE_ROUND_2_VALIDATED;
|
|
|
|
// Token: 0x040069DB RID: 27099
|
|
[Token(Token = "0x40069DB")]
|
|
public static readonly int STATE_KEY_CALCULATED;
|
|
|
|
// Token: 0x040069DC RID: 27100
|
|
[Token(Token = "0x40069DC")]
|
|
public static readonly int STATE_ROUND_3_CREATED;
|
|
|
|
// Token: 0x040069DD RID: 27101
|
|
[Token(Token = "0x40069DD")]
|
|
public static readonly int STATE_ROUND_3_VALIDATED;
|
|
|
|
// Token: 0x040069DE RID: 27102
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
|
|
[Token(Token = "0x40069DE")]
|
|
private string participantId;
|
|
|
|
// Token: 0x040069DF RID: 27103
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
|
|
[Token(Token = "0x40069DF")]
|
|
private char[] password;
|
|
|
|
// Token: 0x040069E0 RID: 27104
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x20")]
|
|
[Token(Token = "0x40069E0")]
|
|
private IDigest digest;
|
|
|
|
// Token: 0x040069E1 RID: 27105
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x28")]
|
|
[Token(Token = "0x40069E1")]
|
|
private readonly SecureRandom random;
|
|
|
|
// Token: 0x040069E2 RID: 27106
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x30")]
|
|
[Token(Token = "0x40069E2")]
|
|
private readonly BigInteger p;
|
|
|
|
// Token: 0x040069E3 RID: 27107
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x38")]
|
|
[Token(Token = "0x40069E3")]
|
|
private readonly BigInteger q;
|
|
|
|
// Token: 0x040069E4 RID: 27108
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x40")]
|
|
[Token(Token = "0x40069E4")]
|
|
private readonly BigInteger g;
|
|
|
|
// Token: 0x040069E5 RID: 27109
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x48")]
|
|
[Token(Token = "0x40069E5")]
|
|
private string partnerParticipantId;
|
|
|
|
// Token: 0x040069E6 RID: 27110
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x50")]
|
|
[Token(Token = "0x40069E6")]
|
|
private BigInteger x1;
|
|
|
|
// Token: 0x040069E7 RID: 27111
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x58")]
|
|
[Token(Token = "0x40069E7")]
|
|
private BigInteger x2;
|
|
|
|
// Token: 0x040069E8 RID: 27112
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x60")]
|
|
[Token(Token = "0x40069E8")]
|
|
private BigInteger gx1;
|
|
|
|
// Token: 0x040069E9 RID: 27113
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x68")]
|
|
[Token(Token = "0x40069E9")]
|
|
private BigInteger gx2;
|
|
|
|
// Token: 0x040069EA RID: 27114
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x70")]
|
|
[Token(Token = "0x40069EA")]
|
|
private BigInteger gx3;
|
|
|
|
// Token: 0x040069EB RID: 27115
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x78")]
|
|
[Token(Token = "0x40069EB")]
|
|
private BigInteger gx4;
|
|
|
|
// Token: 0x040069EC RID: 27116
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x80")]
|
|
[Token(Token = "0x40069EC")]
|
|
private BigInteger b;
|
|
|
|
// Token: 0x040069ED RID: 27117
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x88")]
|
|
[Token(Token = "0x40069ED")]
|
|
private int state;
|
|
}
|
|
}
|