Files
2026-04-10 22:50:51 +02:00

371 lines
14 KiB
C#

using System;
using System.Runtime.InteropServices;
using Cpp2IlInjected;
namespace System.Security.Cryptography
{
/// <summary>Performs a cryptographic transformation of data using the Rijndael algorithm. This class cannot be inherited.</summary>
// Token: 0x02000400 RID: 1024
[Token(Token = "0x2000400")]
[ComVisible(true)]
public sealed class RijndaelManagedTransform : ICryptoTransform, IDisposable
{
// Token: 0x06002254 RID: 8788 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002254")]
[Address(RVA = "0x2DF8360", Offset = "0x2DF7160", VA = "0x182DF8360")]
internal RijndaelManagedTransform(byte[] rgbKey, CipherMode mode, byte[] rgbIV, int blockSize, int feedbackSize, PaddingMode PaddingValue, RijndaelManagedTransformMode transformMode)
{
}
/// <summary>Releases all resources used by the current instance of the <see cref="T:System.Security.Cryptography.RijndaelManagedTransform" /> class.</summary>
// Token: 0x06002255 RID: 8789 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002255")]
[Address(RVA = "0x2DF5030", Offset = "0x2DF3E30", VA = "0x182DF5030", Slot = "10")]
public void Dispose()
{
}
/// <summary>Releases all resources used by the <see cref="T:System.Security.Cryptography.RijndaelManagedTransform" /> class.</summary>
// Token: 0x06002256 RID: 8790 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002256")]
[Address(RVA = "0x2DF5030", Offset = "0x2DF3E30", VA = "0x182DF5030")]
public void Clear()
{
}
// Token: 0x06002257 RID: 8791 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002257")]
[Address(RVA = "0x2DF6190", Offset = "0x2DF4F90", VA = "0x182DF6190")]
private void Dispose(bool disposing)
{
}
/// <summary>Gets the block size.</summary>
/// <returns>The size of the data blocks in bytes.</returns>
// Token: 0x170004BA RID: 1210
// (get) Token: 0x06002258 RID: 8792 RVA: 0x00014BF8 File Offset: 0x00012DF8
[Token(Token = "0x170004BA")]
public int BlockSizeValue
{
[Token(Token = "0x6002258")]
[Address(RVA = "0x41F5B0", Offset = "0x41E3B0", VA = "0x18041F5B0")]
get
{
return 0;
}
}
/// <summary>Gets the input block size.</summary>
/// <returns>The size of the input data blocks in bytes.</returns>
// Token: 0x170004BB RID: 1211
// (get) Token: 0x06002259 RID: 8793 RVA: 0x00014C10 File Offset: 0x00012E10
[Token(Token = "0x170004BB")]
public int InputBlockSize
{
[Token(Token = "0x6002259")]
[Address(RVA = "0x430CB0", Offset = "0x42FAB0", VA = "0x180430CB0", Slot = "4")]
get
{
return 0;
}
}
/// <summary>Gets the output block size.</summary>
/// <returns>The size of the output data blocks in bytes.</returns>
// Token: 0x170004BC RID: 1212
// (get) Token: 0x0600225A RID: 8794 RVA: 0x00014C28 File Offset: 0x00012E28
[Token(Token = "0x170004BC")]
public int OutputBlockSize
{
[Token(Token = "0x600225A")]
[Address(RVA = "0x42EE50", Offset = "0x42DC50", VA = "0x18042EE50", Slot = "5")]
get
{
return 0;
}
}
/// <summary>Gets a value indicating whether multiple blocks can be transformed.</summary>
/// <returns>
/// <see langword="true" /> if multiple blocks can be transformed; otherwise, <see langword="false" />.</returns>
// Token: 0x170004BD RID: 1213
// (get) Token: 0x0600225B RID: 8795 RVA: 0x00014C40 File Offset: 0x00012E40
[Token(Token = "0x170004BD")]
public bool CanTransformMultipleBlocks
{
[Token(Token = "0x600225B")]
[Address(RVA = "0x460D40", Offset = "0x45FB40", VA = "0x180460D40", Slot = "6")]
get
{
return default(bool);
}
}
/// <summary>Gets a value indicating whether the current transform can be reused.</summary>
/// <returns>Always <see langword="true" />.</returns>
// Token: 0x170004BE RID: 1214
// (get) Token: 0x0600225C RID: 8796 RVA: 0x00014C58 File Offset: 0x00012E58
[Token(Token = "0x170004BE")]
public bool CanReuseTransform
{
[Token(Token = "0x600225C")]
[Address(RVA = "0x460D40", Offset = "0x45FB40", VA = "0x180460D40", Slot = "7")]
get
{
return default(bool);
}
}
/// <summary>Computes the transformation for the specified region of the input byte array and copies the resulting transformation to the specified region of the output byte array.</summary>
/// <param name="inputBuffer">The input to perform the operation on.</param>
/// <param name="inputOffset">The offset into the input byte array to begin using data from.</param>
/// <param name="inputCount">The number of bytes in the input byte array to use as data.</param>
/// <param name="outputBuffer">The output to write the data to.</param>
/// <param name="outputOffset">The offset into the output byte array to begin writing data from.</param>
/// <returns>The number of bytes written.</returns>
/// <exception cref="T:System.ArgumentNullException">The <paramref name="inputBuffer" /> parameter is <see langword="null" />.
/// -or-
/// The <paramref name="outputBuffer" /> parameter is <see langword="null" />.</exception>
/// <exception cref="T:System.ArgumentException">The length of the input buffer is less than the sum of the input offset and the input count.
/// -or-
/// The value of the <paramref name="inputCount" /> parameter is less than or equal to 0.
/// -or-
/// The value of the <paramref name="inputCount" /> parameter is greater than the length of the <paramref name="inputBuffer" /> parameter.
/// -or-
/// The length of the <paramref name="inputCount" /> parameter is not evenly devisable by input block size.</exception>
/// <exception cref="T:System.ArgumentOutOfRangeException">The value of the <paramref name="inputOffset" /> parameter is negative.</exception>
// Token: 0x0600225D RID: 8797 RVA: 0x00014C70 File Offset: 0x00012E70
[Token(Token = "0x600225D")]
[Address(RVA = "0x2DF7B40", Offset = "0x2DF6940", VA = "0x182DF7B40", Slot = "8")]
public int TransformBlock(byte[] inputBuffer, int inputOffset, int inputCount, byte[] outputBuffer, int outputOffset)
{
return 0;
}
/// <summary>Computes the transformation for the specified region of the specified byte array.</summary>
/// <param name="inputBuffer">The input to perform the operation on.</param>
/// <param name="inputOffset">The offset into the byte array to begin using data from.</param>
/// <param name="inputCount">The number of bytes in the byte array to use as data.</param>
/// <returns>The computed transformation.</returns>
/// <exception cref="T:System.ArgumentNullException">The <paramref name="inputBuffer" /> parameter is <see langword="null" />.</exception>
/// <exception cref="T:System.ArgumentException">The value of the <paramref name="inputCount" /> parameter is less than 0.
/// -or-
/// The value of the <paramref name="inputCount" /> parameter is grater than the length of <paramref name="inputBuffer" /> parameter.</exception>
/// <exception cref="T:System.ArgumentOutOfRangeException">The value of the <paramref name="inputOffset" /> parameter is negative.</exception>
/// <exception cref="T:System.Security.Cryptography.CryptographicException">The length of the <paramref name="inputCount" /> parameter is not evenly devisable by input block size.</exception>
// Token: 0x0600225E RID: 8798 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x600225E")]
[Address(RVA = "0x2DF7EB0", Offset = "0x2DF6CB0", VA = "0x182DF7EB0", Slot = "9")]
public byte[] TransformFinalBlock(byte[] inputBuffer, int inputOffset, int inputCount)
{
return null;
}
/// <summary>Resets the internal state of <see cref="T:System.Security.Cryptography.RijndaelManagedTransform" /> so it can be used again to do a different encryption or decryption.</summary>
// Token: 0x0600225F RID: 8799 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x600225F")]
[Address(RVA = "0x2DF79A0", Offset = "0x2DF67A0", VA = "0x182DF79A0")]
public void Reset()
{
}
// Token: 0x06002260 RID: 8800 RVA: 0x00014C88 File Offset: 0x00012E88
[Token(Token = "0x6002260")]
[Address(RVA = "0x2DF6460", Offset = "0x2DF5260", VA = "0x182DF6460")]
private int EncryptData(byte[] inputBuffer, int inputOffset, int inputCount, ref byte[] outputBuffer, int outputOffset, PaddingMode paddingMode, bool fLast)
{
return 0;
}
// Token: 0x06002261 RID: 8801 RVA: 0x00014CA0 File Offset: 0x00012EA0
[Token(Token = "0x6002261")]
[Address(RVA = "0x2DF5280", Offset = "0x2DF4080", VA = "0x182DF5280")]
private int DecryptData(byte[] inputBuffer, int inputOffset, int inputCount, ref byte[] outputBuffer, int outputOffset, PaddingMode paddingMode, bool fLast)
{
return 0;
}
// Token: 0x06002262 RID: 8802 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002262")]
[Address(RVA = "0x2DF6260", Offset = "0x2DF5060", VA = "0x182DF6260")]
private unsafe void Enc(int* encryptindex, int* encryptKeyExpansion, int* T, int* TF, int* work, int* temp)
{
}
// Token: 0x06002263 RID: 8803 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002263")]
[Address(RVA = "0x2DF5040", Offset = "0x2DF3E40", VA = "0x182DF5040")]
private unsafe void Dec(int* decryptindex, int* decryptKeyExpansion, int* iT, int* iTF, int* work, int* temp)
{
}
// Token: 0x06002264 RID: 8804 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002264")]
[Address(RVA = "0x2DF7260", Offset = "0x2DF6060", VA = "0x182DF7260")]
private void GenerateKeyExpansion(byte[] rgbKey)
{
}
// Token: 0x06002265 RID: 8805 RVA: 0x00014CB8 File Offset: 0x00012EB8
[Token(Token = "0x6002265")]
[Address(RVA = "0x2DF8A20", Offset = "0x2DF7820", VA = "0x182DF8A20")]
private static int rot1(int val)
{
return 0;
}
// Token: 0x06002266 RID: 8806 RVA: 0x00014CD0 File Offset: 0x00012ED0
[Token(Token = "0x6002266")]
[Address(RVA = "0x2DF8A30", Offset = "0x2DF7830", VA = "0x182DF8A30")]
private static int rot2(int val)
{
return 0;
}
// Token: 0x06002267 RID: 8807 RVA: 0x00014CE8 File Offset: 0x00012EE8
[Token(Token = "0x6002267")]
[Address(RVA = "0x2DF8A40", Offset = "0x2DF7840", VA = "0x182DF8A40")]
private static int rot3(int val)
{
return 0;
}
// Token: 0x06002268 RID: 8808 RVA: 0x00014D00 File Offset: 0x00012F00
[Token(Token = "0x6002268")]
[Address(RVA = "0x2DF7A10", Offset = "0x2DF6810", VA = "0x182DF7A10")]
private static int SubWord(int a)
{
return 0;
}
// Token: 0x06002269 RID: 8809 RVA: 0x00014D18 File Offset: 0x00012F18
[Token(Token = "0x6002269")]
[Address(RVA = "0x2DF7970", Offset = "0x2DF6770", VA = "0x182DF7970")]
private static int MulX(int x)
{
return 0;
}
// Token: 0x0600226B RID: 8811 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x600226B")]
[Address(RVA = "0x2DF89F0", Offset = "0x2DF77F0", VA = "0x182DF89F0")]
internal RijndaelManagedTransform()
{
}
// Token: 0x0400138B RID: 5003
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
[Token(Token = "0x400138B")]
private CipherMode m_cipherMode;
// Token: 0x0400138C RID: 5004
[global::Cpp2IlInjected.FieldOffset(Offset = "0x14")]
[Token(Token = "0x400138C")]
private PaddingMode m_paddingValue;
// Token: 0x0400138D RID: 5005
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
[Token(Token = "0x400138D")]
private RijndaelManagedTransformMode m_transformMode;
// Token: 0x0400138E RID: 5006
[global::Cpp2IlInjected.FieldOffset(Offset = "0x1C")]
[Token(Token = "0x400138E")]
private int m_blockSizeBits;
// Token: 0x0400138F RID: 5007
[global::Cpp2IlInjected.FieldOffset(Offset = "0x20")]
[Token(Token = "0x400138F")]
private int m_blockSizeBytes;
// Token: 0x04001390 RID: 5008
[global::Cpp2IlInjected.FieldOffset(Offset = "0x24")]
[Token(Token = "0x4001390")]
private int m_inputBlockSize;
// Token: 0x04001391 RID: 5009
[global::Cpp2IlInjected.FieldOffset(Offset = "0x28")]
[Token(Token = "0x4001391")]
private int m_outputBlockSize;
// Token: 0x04001392 RID: 5010
[global::Cpp2IlInjected.FieldOffset(Offset = "0x30")]
[Token(Token = "0x4001392")]
private int[] m_encryptKeyExpansion;
// Token: 0x04001393 RID: 5011
[global::Cpp2IlInjected.FieldOffset(Offset = "0x38")]
[Token(Token = "0x4001393")]
private int[] m_decryptKeyExpansion;
// Token: 0x04001394 RID: 5012
[global::Cpp2IlInjected.FieldOffset(Offset = "0x40")]
[Token(Token = "0x4001394")]
private int m_Nr;
// Token: 0x04001395 RID: 5013
[global::Cpp2IlInjected.FieldOffset(Offset = "0x44")]
[Token(Token = "0x4001395")]
private int m_Nb;
// Token: 0x04001396 RID: 5014
[global::Cpp2IlInjected.FieldOffset(Offset = "0x48")]
[Token(Token = "0x4001396")]
private int m_Nk;
// Token: 0x04001397 RID: 5015
[global::Cpp2IlInjected.FieldOffset(Offset = "0x50")]
[Token(Token = "0x4001397")]
private int[] m_encryptindex;
// Token: 0x04001398 RID: 5016
[global::Cpp2IlInjected.FieldOffset(Offset = "0x58")]
[Token(Token = "0x4001398")]
private int[] m_decryptindex;
// Token: 0x04001399 RID: 5017
[global::Cpp2IlInjected.FieldOffset(Offset = "0x60")]
[Token(Token = "0x4001399")]
private int[] m_IV;
// Token: 0x0400139A RID: 5018
[global::Cpp2IlInjected.FieldOffset(Offset = "0x68")]
[Token(Token = "0x400139A")]
private int[] m_lastBlockBuffer;
// Token: 0x0400139B RID: 5019
[global::Cpp2IlInjected.FieldOffset(Offset = "0x70")]
[Token(Token = "0x400139B")]
private byte[] m_depadBuffer;
// Token: 0x0400139C RID: 5020
[global::Cpp2IlInjected.FieldOffset(Offset = "0x78")]
[Token(Token = "0x400139C")]
private byte[] m_shiftRegister;
// Token: 0x0400139D RID: 5021
[Token(Token = "0x400139D")]
private static readonly byte[] s_Sbox;
// Token: 0x0400139E RID: 5022
[Token(Token = "0x400139E")]
private static readonly int[] s_Rcon;
// Token: 0x0400139F RID: 5023
[Token(Token = "0x400139F")]
private static readonly int[] s_T;
// Token: 0x040013A0 RID: 5024
[Token(Token = "0x40013A0")]
private static readonly int[] s_TF;
// Token: 0x040013A1 RID: 5025
[Token(Token = "0x40013A1")]
private static readonly int[] s_iT;
// Token: 0x040013A2 RID: 5026
[Token(Token = "0x40013A2")]
private static readonly int[] s_iTF;
}
}