Files
niko c12fbe3fc6 m
2026-04-12 16:51:38 +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: 0x0200041C RID: 1052
[Token(Token = "0x200041C")]
[ComVisible(true)]
public sealed class RijndaelManagedTransform : ICryptoTransform, IDisposable
{
// Token: 0x06002460 RID: 9312 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002460")]
[Address(RVA = "0x102C7B0", Offset = "0x102B7B0", VA = "0x18102C7B0")]
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: 0x06002461 RID: 9313 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002461")]
[Address(RVA = "0x1029480", Offset = "0x1028480", VA = "0x181029480", Slot = "10")]
public void Dispose()
{
}
/// <summary>Releases all resources used by the <see cref="T:System.Security.Cryptography.RijndaelManagedTransform" /> class.</summary>
// Token: 0x06002462 RID: 9314 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002462")]
[Address(RVA = "0x1029480", Offset = "0x1028480", VA = "0x181029480")]
public void Clear()
{
}
// Token: 0x06002463 RID: 9315 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002463")]
[Address(RVA = "0x102A5E0", Offset = "0x10295E0", VA = "0x18102A5E0")]
private void Dispose(bool disposing)
{
}
/// <summary>Gets the block size.</summary>
/// <returns>The size of the data blocks in bytes.</returns>
// Token: 0x17000531 RID: 1329
// (get) Token: 0x06002464 RID: 9316 RVA: 0x00016FC8 File Offset: 0x000151C8
[Token(Token = "0x17000531")]
public int BlockSizeValue
{
[Token(Token = "0x6002464")]
[Address(RVA = "0x497590", Offset = "0x496590", VA = "0x180497590")]
get
{
return 0;
}
}
/// <summary>Gets the input block size.</summary>
/// <returns>The size of the input data blocks in bytes.</returns>
// Token: 0x17000532 RID: 1330
// (get) Token: 0x06002465 RID: 9317 RVA: 0x00016FE0 File Offset: 0x000151E0
[Token(Token = "0x17000532")]
public int InputBlockSize
{
[Token(Token = "0x6002465")]
[Address(RVA = "0x470B60", Offset = "0x46FB60", VA = "0x180470B60", Slot = "4")]
get
{
return 0;
}
}
/// <summary>Gets the output block size.</summary>
/// <returns>The size of the output data blocks in bytes.</returns>
// Token: 0x17000533 RID: 1331
// (get) Token: 0x06002466 RID: 9318 RVA: 0x00016FF8 File Offset: 0x000151F8
[Token(Token = "0x17000533")]
public int OutputBlockSize
{
[Token(Token = "0x6002466")]
[Address(RVA = "0x471180", Offset = "0x470180", VA = "0x180471180", 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: 0x17000534 RID: 1332
// (get) Token: 0x06002467 RID: 9319 RVA: 0x00017010 File Offset: 0x00015210
[Token(Token = "0x17000534")]
public bool CanTransformMultipleBlocks
{
[Token(Token = "0x6002467")]
[Address(RVA = "0x4246A0", Offset = "0x4236A0", VA = "0x1804246A0", 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: 0x17000535 RID: 1333
// (get) Token: 0x06002468 RID: 9320 RVA: 0x00017028 File Offset: 0x00015228
[Token(Token = "0x17000535")]
public bool CanReuseTransform
{
[Token(Token = "0x6002468")]
[Address(RVA = "0x4246A0", Offset = "0x4236A0", VA = "0x1804246A0", 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: 0x06002469 RID: 9321 RVA: 0x00017040 File Offset: 0x00015240
[Token(Token = "0x6002469")]
[Address(RVA = "0x102BF90", Offset = "0x102AF90", VA = "0x18102BF90", 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: 0x0600246A RID: 9322 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x600246A")]
[Address(RVA = "0x102C300", Offset = "0x102B300", VA = "0x18102C300", 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: 0x0600246B RID: 9323 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x600246B")]
[Address(RVA = "0x102BDF0", Offset = "0x102ADF0", VA = "0x18102BDF0")]
public void Reset()
{
}
// Token: 0x0600246C RID: 9324 RVA: 0x00017058 File Offset: 0x00015258
[Token(Token = "0x600246C")]
[Address(RVA = "0x102A8B0", Offset = "0x10298B0", VA = "0x18102A8B0")]
private int EncryptData(byte[] inputBuffer, int inputOffset, int inputCount, ref byte[] outputBuffer, int outputOffset, PaddingMode paddingMode, bool fLast)
{
return 0;
}
// Token: 0x0600246D RID: 9325 RVA: 0x00017070 File Offset: 0x00015270
[Token(Token = "0x600246D")]
[Address(RVA = "0x10296D0", Offset = "0x10286D0", VA = "0x1810296D0")]
private int DecryptData(byte[] inputBuffer, int inputOffset, int inputCount, ref byte[] outputBuffer, int outputOffset, PaddingMode paddingMode, bool fLast)
{
return 0;
}
// Token: 0x0600246E RID: 9326 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x600246E")]
[Address(RVA = "0x102A6B0", Offset = "0x10296B0", VA = "0x18102A6B0")]
private unsafe void Enc(int* encryptindex, int* encryptKeyExpansion, int* T, int* TF, int* work, int* temp)
{
}
// Token: 0x0600246F RID: 9327 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x600246F")]
[Address(RVA = "0x1029490", Offset = "0x1028490", VA = "0x181029490")]
private unsafe void Dec(int* decryptindex, int* decryptKeyExpansion, int* iT, int* iTF, int* work, int* temp)
{
}
// Token: 0x06002470 RID: 9328 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002470")]
[Address(RVA = "0x102B6B0", Offset = "0x102A6B0", VA = "0x18102B6B0")]
private void GenerateKeyExpansion(byte[] rgbKey)
{
}
// Token: 0x06002471 RID: 9329 RVA: 0x00017088 File Offset: 0x00015288
[Token(Token = "0x6002471")]
[Address(RVA = "0x102CE70", Offset = "0x102BE70", VA = "0x18102CE70")]
private static int rot1(int val)
{
return 0;
}
// Token: 0x06002472 RID: 9330 RVA: 0x000170A0 File Offset: 0x000152A0
[Token(Token = "0x6002472")]
[Address(RVA = "0x102CE80", Offset = "0x102BE80", VA = "0x18102CE80")]
private static int rot2(int val)
{
return 0;
}
// Token: 0x06002473 RID: 9331 RVA: 0x000170B8 File Offset: 0x000152B8
[Token(Token = "0x6002473")]
[Address(RVA = "0x102CE90", Offset = "0x102BE90", VA = "0x18102CE90")]
private static int rot3(int val)
{
return 0;
}
// Token: 0x06002474 RID: 9332 RVA: 0x000170D0 File Offset: 0x000152D0
[Token(Token = "0x6002474")]
[Address(RVA = "0x102BE60", Offset = "0x102AE60", VA = "0x18102BE60")]
private static int SubWord(int a)
{
return 0;
}
// Token: 0x06002475 RID: 9333 RVA: 0x000170E8 File Offset: 0x000152E8
[Token(Token = "0x6002475")]
[Address(RVA = "0x102BDC0", Offset = "0x102ADC0", VA = "0x18102BDC0")]
private static int MulX(int x)
{
return 0;
}
// Token: 0x06002477 RID: 9335 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002477")]
[Address(RVA = "0x102CE40", Offset = "0x102BE40", VA = "0x18102CE40")]
internal RijndaelManagedTransform()
{
}
// Token: 0x0400144E RID: 5198
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
[Token(Token = "0x400144E")]
private CipherMode m_cipherMode;
// Token: 0x0400144F RID: 5199
[global::Cpp2IlInjected.FieldOffset(Offset = "0x14")]
[Token(Token = "0x400144F")]
private PaddingMode m_paddingValue;
// Token: 0x04001450 RID: 5200
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
[Token(Token = "0x4001450")]
private RijndaelManagedTransformMode m_transformMode;
// Token: 0x04001451 RID: 5201
[global::Cpp2IlInjected.FieldOffset(Offset = "0x1C")]
[Token(Token = "0x4001451")]
private int m_blockSizeBits;
// Token: 0x04001452 RID: 5202
[global::Cpp2IlInjected.FieldOffset(Offset = "0x20")]
[Token(Token = "0x4001452")]
private int m_blockSizeBytes;
// Token: 0x04001453 RID: 5203
[global::Cpp2IlInjected.FieldOffset(Offset = "0x24")]
[Token(Token = "0x4001453")]
private int m_inputBlockSize;
// Token: 0x04001454 RID: 5204
[global::Cpp2IlInjected.FieldOffset(Offset = "0x28")]
[Token(Token = "0x4001454")]
private int m_outputBlockSize;
// Token: 0x04001455 RID: 5205
[global::Cpp2IlInjected.FieldOffset(Offset = "0x30")]
[Token(Token = "0x4001455")]
private int[] m_encryptKeyExpansion;
// Token: 0x04001456 RID: 5206
[global::Cpp2IlInjected.FieldOffset(Offset = "0x38")]
[Token(Token = "0x4001456")]
private int[] m_decryptKeyExpansion;
// Token: 0x04001457 RID: 5207
[global::Cpp2IlInjected.FieldOffset(Offset = "0x40")]
[Token(Token = "0x4001457")]
private int m_Nr;
// Token: 0x04001458 RID: 5208
[global::Cpp2IlInjected.FieldOffset(Offset = "0x44")]
[Token(Token = "0x4001458")]
private int m_Nb;
// Token: 0x04001459 RID: 5209
[global::Cpp2IlInjected.FieldOffset(Offset = "0x48")]
[Token(Token = "0x4001459")]
private int m_Nk;
// Token: 0x0400145A RID: 5210
[global::Cpp2IlInjected.FieldOffset(Offset = "0x50")]
[Token(Token = "0x400145A")]
private int[] m_encryptindex;
// Token: 0x0400145B RID: 5211
[global::Cpp2IlInjected.FieldOffset(Offset = "0x58")]
[Token(Token = "0x400145B")]
private int[] m_decryptindex;
// Token: 0x0400145C RID: 5212
[global::Cpp2IlInjected.FieldOffset(Offset = "0x60")]
[Token(Token = "0x400145C")]
private int[] m_IV;
// Token: 0x0400145D RID: 5213
[global::Cpp2IlInjected.FieldOffset(Offset = "0x68")]
[Token(Token = "0x400145D")]
private int[] m_lastBlockBuffer;
// Token: 0x0400145E RID: 5214
[global::Cpp2IlInjected.FieldOffset(Offset = "0x70")]
[Token(Token = "0x400145E")]
private byte[] m_depadBuffer;
// Token: 0x0400145F RID: 5215
[global::Cpp2IlInjected.FieldOffset(Offset = "0x78")]
[Token(Token = "0x400145F")]
private byte[] m_shiftRegister;
// Token: 0x04001460 RID: 5216
[Token(Token = "0x4001460")]
private static readonly byte[] s_Sbox;
// Token: 0x04001461 RID: 5217
[Token(Token = "0x4001461")]
private static readonly int[] s_Rcon;
// Token: 0x04001462 RID: 5218
[Token(Token = "0x4001462")]
private static readonly int[] s_T;
// Token: 0x04001463 RID: 5219
[Token(Token = "0x4001463")]
private static readonly int[] s_TF;
// Token: 0x04001464 RID: 5220
[Token(Token = "0x4001464")]
private static readonly int[] s_iT;
// Token: 0x04001465 RID: 5221
[Token(Token = "0x4001465")]
private static readonly int[] s_iTF;
}
}