using System; using Cpp2IlInjected; namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto { // Token: 0x02001AC7 RID: 6855 [Token(Token = "0x2001AC7")] public abstract class BufferedCipherBase : IBufferedCipher { // Token: 0x17001B15 RID: 6933 // (get) Token: 0x0600AA6A RID: 43626 [Token(Token = "0x17001B15")] public abstract string AlgorithmName { [Token(Token = "0x600AA6A")] [Address(Slot = "22")] get; } // Token: 0x0600AA6B RID: 43627 [Token(Token = "0x600AA6B")] [Address(Slot = "23")] public abstract void Init(bool forEncryption, ICipherParameters parameters); // Token: 0x0600AA6C RID: 43628 [Token(Token = "0x600AA6C")] [Address(Slot = "24")] public abstract int GetBlockSize(); // Token: 0x0600AA6D RID: 43629 [Token(Token = "0x600AA6D")] [Address(Slot = "25")] public abstract int GetOutputSize(int inputLen); // Token: 0x0600AA6E RID: 43630 [Token(Token = "0x600AA6E")] [Address(Slot = "26")] public abstract int GetUpdateOutputSize(int inputLen); // Token: 0x0600AA6F RID: 43631 [Token(Token = "0x600AA6F")] [Address(Slot = "27")] public abstract byte[] ProcessByte(byte input); // Token: 0x0600AA70 RID: 43632 RVA: 0x00254918 File Offset: 0x00252B18 [Token(Token = "0x600AA70")] [Address(RVA = "0x1B34300", Offset = "0x1B33100", VA = "0x181B34300", Slot = "28")] public virtual int ProcessByte(byte input, byte[] output, int outOff) { int updateOutputSize = this.GetUpdateOutputSize((int)input); if (updateOutputSize != 0) { } return updateOutputSize; } // Token: 0x0600AA71 RID: 43633 RVA: 0x00254940 File Offset: 0x00252B40 [Token(Token = "0x600AA71")] [Address(RVA = "0x1B343D0", Offset = "0x1B331D0", VA = "0x181B343D0", Slot = "29")] public virtual byte[] ProcessBytes(byte[] input) { return this.ProcessBytes(input); } // Token: 0x0600AA72 RID: 43634 [Token(Token = "0x600AA72")] [Address(Slot = "30")] public abstract byte[] ProcessBytes(byte[] input, int inOff, int length); // Token: 0x0600AA73 RID: 43635 RVA: 0x0025495C File Offset: 0x00252B5C [Token(Token = "0x600AA73")] [Address(RVA = "0x1B34410", Offset = "0x1B33210", VA = "0x181B34410", Slot = "31")] public virtual int ProcessBytes(byte[] input, byte[] output, int outOff) { int num; return num; } // Token: 0x0600AA74 RID: 43636 RVA: 0x00254970 File Offset: 0x00252B70 [Token(Token = "0x600AA74")] [Address(RVA = "0x1B34450", Offset = "0x1B33250", VA = "0x181B34450", Slot = "32")] public virtual int ProcessBytes(byte[] input, int inOff, int length, byte[] output, int outOff) { /* An exception occurred when decompiling this method (0600AA74) ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.BufferedCipherBase::ProcessBytes(System.Byte[],System.Int32,System.Int32,System.Byte[],System.Int32) ---> System.Exception: Basic block has to end with unconditional control flow. { IL_13: stloc:DataLengthException(var_2_1D, newobj:DataLengthException(DataLengthException::.ctor, ldstr:string("output buffer too short"))) } 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: 0x0600AA75 RID: 43637 [Token(Token = "0x600AA75")] [Address(Slot = "33")] public abstract byte[] DoFinal(); // Token: 0x0600AA76 RID: 43638 RVA: 0x0025499C File Offset: 0x00252B9C [Token(Token = "0x600AA76")] [Address(RVA = "0x1B34140", Offset = "0x1B32F40", VA = "0x181B34140", Slot = "34")] public virtual byte[] DoFinal(byte[] input) { return this.DoFinal(input); } // Token: 0x0600AA77 RID: 43639 [Token(Token = "0x600AA77")] [Address(Slot = "35")] public abstract byte[] DoFinal(byte[] input, int inOff, int length); // Token: 0x0600AA78 RID: 43640 RVA: 0x002549B8 File Offset: 0x00252BB8 [Token(Token = "0x600AA78")] [Address(RVA = "0x1B34200", Offset = "0x1B33000", VA = "0x181B34200", Slot = "36")] public virtual int DoFinal(byte[] output, int outOff) { int num; return num; } // Token: 0x0600AA79 RID: 43641 RVA: 0x002549CC File Offset: 0x00252BCC [Token(Token = "0x600AA79")] [Address(RVA = "0x1B342C0", Offset = "0x1B330C0", VA = "0x181B342C0", Slot = "37")] public virtual int DoFinal(byte[] input, byte[] output, int outOff) { int num; return num; } // Token: 0x0600AA7A RID: 43642 RVA: 0x002549E0 File Offset: 0x00252BE0 [Token(Token = "0x600AA7A")] [Address(RVA = "0x1B34180", Offset = "0x1B32F80", VA = "0x181B34180", Slot = "38")] public virtual int DoFinal(byte[] input, int inOff, int length, byte[] output, int outOff) { /* An exception occurred when decompiling this method (0600AA7A) ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Int32 BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.BufferedCipherBase::DoFinal(System.Byte[],System.Int32,System.Int32,System.Byte[],System.Int32) ---> System.Exception: Basic block has to end with unconditional control flow. { Block_0: stloc:uint8[](var_1, add:uint8[](ldloc:uint8[](var_1), ldloc:int32[exp:uint8[]](var_0))) } 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: 0x0600AA7B RID: 43643 [Token(Token = "0x600AA7B")] [Address(Slot = "39")] public abstract void Reset(); // Token: 0x0600AA7C RID: 43644 RVA: 0x002549F0 File Offset: 0x00252BF0 [Token(Token = "0x600AA7C")] [Address(RVA = "0x3F5100", Offset = "0x3F3F00", VA = "0x1803F5100")] protected BufferedCipherBase() { } // Token: 0x0600AA7D RID: 43645 RVA: 0x00254A04 File Offset: 0x00252C04 // Note: this type is marked as 'beforefieldinit'. [Token(Token = "0x600AA7D")] [Address(RVA = "0x1B34530", Offset = "0x1B33330", VA = "0x181B34530")] static BufferedCipherBase() { byte[] array = new byte[0]; } // Token: 0x04006C9E RID: 27806 [Token(Token = "0x4006C9E")] protected static readonly byte[] EmptyBuffer; } }