168 lines
6.0 KiB
C#
168 lines
6.0 KiB
C#
using System;
|
|
using System.Runtime.InteropServices;
|
|
using Cpp2IlInjected;
|
|
|
|
namespace System.Security.Cryptography
|
|
{
|
|
/// <summary>Computes the <see cref="T:System.Security.Cryptography.SHA384" /> hash for the input data using the managed library.</summary>
|
|
// Token: 0x0200040F RID: 1039
|
|
[Token(Token = "0x200040F")]
|
|
[ComVisible(true)]
|
|
public class SHA384Managed : SHA384
|
|
{
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.Security.Cryptography.SHA384Managed" /> class.</summary>
|
|
/// <exception cref="T:System.InvalidOperationException">The Federal Information Processing Standards (FIPS) security setting is enabled. This implementation is not part of the Windows Platform FIPS-validated cryptographic algorithms.</exception>
|
|
// Token: 0x0600230B RID: 8971 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x600230B")]
|
|
[Address(RVA = "0x2DFE710", Offset = "0x2DFD510", VA = "0x182DFE710")]
|
|
public SHA384Managed()
|
|
{
|
|
}
|
|
|
|
/// <summary>Initializes an instance of <see cref="T:System.Security.Cryptography.SHA384Managed" />.</summary>
|
|
// Token: 0x0600230C RID: 8972 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x600230C")]
|
|
[Address(RVA = "0x2DFD860", Offset = "0x2DFC660", VA = "0x182DFD860", Slot = "18")]
|
|
public override void Initialize()
|
|
{
|
|
}
|
|
|
|
/// <summary>When overridden in a derived class, routes data written to the object into the <see cref="T:System.Security.Cryptography.SHA384Managed" /> hash algorithm for computing the hash.</summary>
|
|
/// <param name="rgb">The input data.</param>
|
|
/// <param name="ibStart">The offset into the byte array from which to begin using data.</param>
|
|
/// <param name="cbSize">The number of bytes in the array to use as data.</param>
|
|
// Token: 0x0600230D RID: 8973 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x600230D")]
|
|
[Address(RVA = "0x2DFD680", Offset = "0x2DFC480", VA = "0x182DFD680", Slot = "19")]
|
|
protected override void HashCore(byte[] rgb, int ibStart, int cbSize)
|
|
{
|
|
}
|
|
|
|
/// <summary>When overridden in a derived class, finalizes the hash computation after the last data is processed by the cryptographic stream object.</summary>
|
|
/// <returns>The computed hash code.</returns>
|
|
// Token: 0x0600230E RID: 8974 RVA: 0x00002082 File Offset: 0x00000282
|
|
[Token(Token = "0x600230E")]
|
|
[Address(RVA = "0x2DFD690", Offset = "0x2DFC490", VA = "0x182DFD690", Slot = "20")]
|
|
protected override byte[] HashFinal()
|
|
{
|
|
return null;
|
|
}
|
|
|
|
// Token: 0x0600230F RID: 8975 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x600230F")]
|
|
[Address(RVA = "0x2DFD6A0", Offset = "0x2DFC4A0", VA = "0x182DFD6A0")]
|
|
private void InitializeState()
|
|
{
|
|
}
|
|
|
|
// Token: 0x06002310 RID: 8976 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6002310")]
|
|
[Address(RVA = "0x2DFE4B0", Offset = "0x2DFD2B0", VA = "0x182DFE4B0")]
|
|
private void _HashData(byte[] partIn, int ibStart, int cbSize)
|
|
{
|
|
}
|
|
|
|
// Token: 0x06002311 RID: 8977 RVA: 0x00002082 File Offset: 0x00000282
|
|
[Token(Token = "0x6002311")]
|
|
[Address(RVA = "0x2DFE260", Offset = "0x2DFD060", VA = "0x182DFE260")]
|
|
private byte[] _EndHash()
|
|
{
|
|
return null;
|
|
}
|
|
|
|
// Token: 0x06002312 RID: 8978 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6002312")]
|
|
[Address(RVA = "0x2DFD960", Offset = "0x2DFC760", VA = "0x182DFD960")]
|
|
private unsafe static void SHATransform(ulong* expandedBuffer, ulong* state, byte* block)
|
|
{
|
|
}
|
|
|
|
// Token: 0x06002313 RID: 8979 RVA: 0x00015000 File Offset: 0x00013200
|
|
[Token(Token = "0x6002313")]
|
|
[Address(RVA = "0x1B2FED0", Offset = "0x1B2ECD0", VA = "0x181B2FED0")]
|
|
private static ulong RotateRight(ulong x, int n)
|
|
{
|
|
return 0UL;
|
|
}
|
|
|
|
// Token: 0x06002314 RID: 8980 RVA: 0x00015018 File Offset: 0x00013218
|
|
[Token(Token = "0x6002314")]
|
|
[Address(RVA = "0x1B41580", Offset = "0x1B40380", VA = "0x181B41580")]
|
|
private static ulong Ch(ulong x, ulong y, ulong z)
|
|
{
|
|
return 0UL;
|
|
}
|
|
|
|
// Token: 0x06002315 RID: 8981 RVA: 0x00015030 File Offset: 0x00013230
|
|
[Token(Token = "0x6002315")]
|
|
[Address(RVA = "0x1B41870", Offset = "0x1B40670", VA = "0x181B41870")]
|
|
private static ulong Maj(ulong x, ulong y, ulong z)
|
|
{
|
|
return 0UL;
|
|
}
|
|
|
|
// Token: 0x06002316 RID: 8982 RVA: 0x00015048 File Offset: 0x00013248
|
|
[Token(Token = "0x6002316")]
|
|
[Address(RVA = "0x2DFE160", Offset = "0x2DFCF60", VA = "0x182DFE160")]
|
|
private static ulong Sigma_0(ulong x)
|
|
{
|
|
return 0UL;
|
|
}
|
|
|
|
// Token: 0x06002317 RID: 8983 RVA: 0x00015060 File Offset: 0x00013260
|
|
[Token(Token = "0x6002317")]
|
|
[Address(RVA = "0x2DFE1E0", Offset = "0x2DFCFE0", VA = "0x182DFE1E0")]
|
|
private static ulong Sigma_1(ulong x)
|
|
{
|
|
return 0UL;
|
|
}
|
|
|
|
// Token: 0x06002318 RID: 8984 RVA: 0x00015078 File Offset: 0x00013278
|
|
[Token(Token = "0x6002318")]
|
|
[Address(RVA = "0x2DFE7F0", Offset = "0x2DFD5F0", VA = "0x182DFE7F0")]
|
|
private static ulong sigma_0(ulong x)
|
|
{
|
|
return 0UL;
|
|
}
|
|
|
|
// Token: 0x06002319 RID: 8985 RVA: 0x00015090 File Offset: 0x00013290
|
|
[Token(Token = "0x6002319")]
|
|
[Address(RVA = "0x2DFE870", Offset = "0x2DFD670", VA = "0x182DFE870")]
|
|
private static ulong sigma_1(ulong x)
|
|
{
|
|
return 0UL;
|
|
}
|
|
|
|
// Token: 0x0600231A RID: 8986 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x600231A")]
|
|
[Address(RVA = "0x2DFD8B0", Offset = "0x2DFC6B0", VA = "0x182DFD8B0")]
|
|
private unsafe static void SHA384Expand(ulong* x)
|
|
{
|
|
}
|
|
|
|
// Token: 0x040013CE RID: 5070
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x28")]
|
|
[Token(Token = "0x40013CE")]
|
|
private byte[] _buffer;
|
|
|
|
// Token: 0x040013CF RID: 5071
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x30")]
|
|
[Token(Token = "0x40013CF")]
|
|
private ulong _count;
|
|
|
|
// Token: 0x040013D0 RID: 5072
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x38")]
|
|
[Token(Token = "0x40013D0")]
|
|
private ulong[] _stateSHA384;
|
|
|
|
// Token: 0x040013D1 RID: 5073
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x40")]
|
|
[Token(Token = "0x40013D1")]
|
|
private ulong[] _W;
|
|
|
|
// Token: 0x040013D2 RID: 5074
|
|
[Token(Token = "0x40013D2")]
|
|
private static readonly ulong[] _K;
|
|
}
|
|
}
|