terraria-cpp2il v1.4.4.9
Terraria mobile dump, with CallAnalysis (see source code). Dump with reconstucted method: https://infinitynichto.github.io/terraria-cpp2il-methodrecon
Loading...
Searching...
No Matches
Utils.cs
Go to the documentation of this file.
1using System;
6
8{
9 [global::Cpp2ILInjected.Token(Token = "0x200030D")]
10 internal static class Utils
11 {
12 // Note: this type is marked as 'beforefieldinit'.
13 [global::Cpp2ILInjected.Token(Token = "0x6001A52")]
14 [global::Cpp2ILInjected.Address(RVA = "0x1B12574", Offset = "0x1B12574", Length = "0x4")]
15 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
16 static Utils()
17 {
18 throw null;
19 }
20
21 [global::Cpp2ILInjected.Token(Token = "0x170002DC")]
23 {
24 [global::Cpp2ILInjected.Token(Token = "0x6001A53")]
25 [global::Cpp2ILInjected.Address(RVA = "0x1B1241C", Offset = "0x1B1241C", Length = "0xCC")]
26 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(DESCryptoServiceProvider), Member = "GenerateKey", ReturnType = typeof(void))]
27 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(DESCryptoServiceProvider), Member = "GenerateIV", ReturnType = typeof(void))]
28 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(MACTripleDES), Member = ".ctor", ReturnType = typeof(void))]
29 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(RC2CryptoServiceProvider), Member = "GenerateKey", ReturnType = typeof(void))]
30 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(RC2CryptoServiceProvider), Member = "GenerateIV", ReturnType = typeof(void))]
31 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(RijndaelManagedTransform), Member = "EncryptData", MemberParameters = new object[]
32 {
33 typeof(byte[]),
34 typeof(int),
35 typeof(int),
36 typeof(ref byte[]),
37 typeof(int),
39 typeof(bool)
40 }, ReturnType = typeof(int))]
41 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(TripleDESCryptoServiceProvider), Member = "GenerateKey", ReturnType = typeof(void))]
42 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(TripleDESCryptoServiceProvider), Member = "GenerateIV", ReturnType = typeof(void))]
43 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Utils), Member = "GenerateRandom", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(byte[]))]
44 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 9)]
45 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(RNGCryptoServiceProvider), Member = ".ctor", ReturnType = typeof(void))]
46 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 9)]
47 get
48 {
49 throw null;
50 }
51 }
52
53 [global::Cpp2ILInjected.Token(Token = "0x6001A54")]
54 [global::Cpp2ILInjected.Address(RVA = "0x1B12578", Offset = "0x1B12578", Length = "0x98")]
55 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
56 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(HMACMD5), Member = ".ctor", ReturnType = typeof(void))]
57 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(HMACRIPEMD160), Member = ".ctor", ReturnType = typeof(void))]
58 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(HMACSHA1), Member = ".ctor", ReturnType = typeof(void))]
59 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(HMACSHA256), Member = ".ctor", ReturnType = typeof(void))]
60 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(HMACSHA384), Member = ".ctor", ReturnType = typeof(void))]
61 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(HMACSHA512), Member = ".ctor", ReturnType = typeof(void))]
62 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(RijndaelManaged), Member = "GenerateKey", ReturnType = typeof(void))]
63 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(RijndaelManaged), Member = "GenerateIV", ReturnType = typeof(void))]
64 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(RijndaelManaged), Member = "NewEncryptor", MemberParameters = new object[]
65 {
66 typeof(byte[]),
68 typeof(byte[]),
69 typeof(int),
71 }, ReturnType = typeof(ICryptoTransform))]
72 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 10)]
73 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Utils), Member = "get_StaticRandomNumberGenerator", ReturnType = typeof(RNGCryptoServiceProvider))]
74 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 4)]
75 internal static byte[] GenerateRandom(int keySize)
76 {
77 throw null;
78 }
79
80 [global::Cpp2ILInjected.Token(Token = "0x6001A55")]
81 [global::Cpp2ILInjected.Address(RVA = "0x1B12114", Offset = "0x1B12114", Length = "0x8")]
82 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(DESCryptoServiceProvider), Member = ".ctor", ReturnType = typeof(void))]
83 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(RC2CryptoServiceProvider), Member = ".ctor", ReturnType = typeof(void))]
84 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
85 internal static bool HasAlgorithm(int dwCalg, int dwKeySize)
86 {
87 throw null;
88 }
89
90 [global::Cpp2ILInjected.Token(Token = "0x6001A56")]
91 [global::Cpp2ILInjected.Address(RVA = "0x1B08264", Offset = "0x1B08264", Length = "0x60")]
92 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(DSA), Member = "FromXmlString", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
93 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(RSA), Member = "FromXmlString", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
94 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 16)]
95 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Utils), Member = "DiscardWhiteSpaces", MemberParameters = new object[]
96 {
97 typeof(string),
98 typeof(int),
99 typeof(int)
100 }, ReturnType = typeof(string))]
101 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
102 internal static string DiscardWhiteSpaces(string inputBuffer)
103 {
104 throw null;
105 }
106
107 [global::Cpp2ILInjected.Token(Token = "0x6001A57")]
108 [global::Cpp2ILInjected.Address(RVA = "0x1B12610", Offset = "0x1B12610", Length = "0x170")]
109 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
110 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Utils), Member = "DiscardWhiteSpaces", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(string))]
111 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
112 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "get_Chars", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(char))]
113 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(char), Member = "IsWhiteSpace", MemberParameters = new object[] { typeof(char) }, ReturnType = typeof(bool))]
114 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "CreateString", MemberParameters = new object[] { typeof(char[]) }, ReturnType = typeof(string))]
115 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 6)]
116 internal static string DiscardWhiteSpaces(string inputBuffer, int inputOffset, int inputCount)
117 {
118 throw null;
119 }
120
121 [global::Cpp2ILInjected.Token(Token = "0x6001A58")]
122 [global::Cpp2ILInjected.Address(RVA = "0x1B12780", Offset = "0x1B12780", Length = "0x40")]
123 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
124 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(DSA), Member = "FromXmlString", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
125 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
126 internal static int ConvertByteArrayToInt(byte[] input)
127 {
128 throw null;
129 }
130
131 [global::Cpp2ILInjected.Token(Token = "0x6001A59")]
132 [global::Cpp2ILInjected.Address(RVA = "0x1B127C0", Offset = "0x1B127C0", Length = "0xE4")]
133 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
134 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(DSA), Member = "ToXmlString", MemberParameters = new object[] { typeof(bool) }, ReturnType = typeof(string))]
135 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
136 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 4)]
137 internal static byte[] ConvertIntToByteArray(int dwInput)
138 {
139 throw null;
140 }
141
142 [global::Cpp2ILInjected.Token(Token = "0x6001A5A")]
143 [global::Cpp2ILInjected.Address(RVA = "0x1B128A4", Offset = "0x1B128A4", Length = "0x50")]
144 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
145 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Array), Member = "Clear", MemberParameters = new object[]
146 {
147 typeof(global::System.Array),
148 typeof(int),
149 typeof(int)
150 }, ReturnType = typeof(void))]
151 internal static void ConvertIntToByteArray(uint dwInput, ref byte[] counter)
152 {
153 throw null;
154 }
155
156 [global::Cpp2ILInjected.Token(Token = "0x6001A5B")]
157 [global::Cpp2ILInjected.Address(RVA = "0x1B11DF8", Offset = "0x1B11DF8", Length = "0xA0")]
158 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
159 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(DES), Member = "IsWeakKey", MemberParameters = new object[] { typeof(byte[]) }, ReturnType = typeof(bool))]
160 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(DES), Member = "IsSemiWeakKey", MemberParameters = new object[] { typeof(byte[]) }, ReturnType = typeof(bool))]
161 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(TripleDES), Member = "IsWeakKey", MemberParameters = new object[] { typeof(byte[]) }, ReturnType = typeof(bool))]
162 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 3)]
163 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
164 internal static byte[] FixupKeyParity(byte[] key)
165 {
166 throw null;
167 }
168
169 [global::Cpp2ILInjected.Token(Token = "0x6001A5C")]
170 [global::Cpp2ILInjected.Address(RVA = "0x1B128F4", Offset = "0x1B128F4", Length = "0x4C")]
171 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
172 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(RIPEMD160Managed), Member = "MDTransform", MemberParameters = new object[]
173 {
174 typeof(uint*),
175 typeof(uint*),
176 typeof(byte*)
177 }, ReturnType = typeof(void))]
178 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
179 internal unsafe static void DWORDFromLittleEndian(uint* x, int digits, byte* block)
180 {
181 throw null;
182 }
183
184 [global::Cpp2ILInjected.Token(Token = "0x6001A5D")]
185 [global::Cpp2ILInjected.Address(RVA = "0x1B12940", Offset = "0x1B12940", Length = "0x5C")]
186 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
187 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(RIPEMD160Managed), Member = "_EndHash", ReturnType = typeof(byte[]))]
188 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
189 internal static void DWORDToLittleEndian(byte[] block, uint[] x, int digits)
190 {
191 throw null;
192 }
193
194 [global::Cpp2ILInjected.Token(Token = "0x6001A5E")]
195 [global::Cpp2ILInjected.Address(RVA = "0x1B0DE44", Offset = "0x1B0DE44", Length = "0x50")]
196 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
197 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(SHA1Managed), Member = "SHATransform", MemberParameters = new object[]
198 {
199 typeof(uint*),
200 typeof(uint*),
201 typeof(byte*)
202 }, ReturnType = typeof(void))]
203 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(SHA256Managed), Member = "SHATransform", MemberParameters = new object[]
204 {
205 typeof(uint*),
206 typeof(uint*),
207 typeof(byte*)
208 }, ReturnType = typeof(void))]
209 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
210 internal unsafe static void DWORDFromBigEndian(uint* x, int digits, byte* block)
211 {
212 throw null;
213 }
214
215 [global::Cpp2ILInjected.Token(Token = "0x6001A5F")]
216 [global::Cpp2ILInjected.Address(RVA = "0x1B0DDE8", Offset = "0x1B0DDE8", Length = "0x5C")]
217 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
218 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(SHA1Managed), Member = "_EndHash", ReturnType = typeof(byte[]))]
219 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(SHA256Managed), Member = "_EndHash", ReturnType = typeof(byte[]))]
220 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
221 internal static void DWORDToBigEndian(byte[] block, uint[] x, int digits)
222 {
223 throw null;
224 }
225
226 [global::Cpp2ILInjected.Token(Token = "0x6001A60")]
227 [global::Cpp2ILInjected.Address(RVA = "0x1B0F5BC", Offset = "0x1B0F5BC", Length = "0x80")]
228 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
229 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(SHA384Managed), Member = "SHATransform", MemberParameters = new object[]
230 {
231 typeof(ulong*),
232 typeof(ulong*),
233 typeof(byte*)
234 }, ReturnType = typeof(void))]
235 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(SHA512Managed), Member = "SHATransform", MemberParameters = new object[]
236 {
237 typeof(ulong*),
238 typeof(ulong*),
239 typeof(byte*)
240 }, ReturnType = typeof(void))]
241 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
242 internal unsafe static void QuadWordFromBigEndian(ulong* x, int digits, byte* block)
243 {
244 throw null;
245 }
246
247 [global::Cpp2ILInjected.Token(Token = "0x6001A61")]
248 [global::Cpp2ILInjected.Address(RVA = "0x1B0F524", Offset = "0x1B0F524", Length = "0x98")]
249 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
250 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(SHA384Managed), Member = "_EndHash", ReturnType = typeof(byte[]))]
251 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(SHA512Managed), Member = "_EndHash", ReturnType = typeof(byte[]))]
252 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
253 internal static void QuadWordToBigEndian(byte[] block, ulong[] x, int digits)
254 {
255 throw null;
256 }
257
258 [global::Cpp2ILInjected.Token(Token = "0x6001A62")]
259 [global::Cpp2ILInjected.Address(RVA = "0x1B1299C", Offset = "0x1B1299C", Length = "0x54")]
260 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
261 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
262 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
263 internal static byte[] Int(uint i)
264 {
265 throw null;
266 }
267
268 [global::Cpp2ILInjected.Token(Token = "0x6001A63")]
269 [global::Cpp2ILInjected.Address(RVA = "0x1B0C9D8", Offset = "0x1B0C9D8", Length = "0x80")]
270 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(RSAOAEPKeyExchangeFormatter), Member = "CreateKeyExchange", MemberParameters = new object[] { typeof(byte[]) }, ReturnType = typeof(byte[]))]
271 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
272 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Mono.Security.Cryptography.PKCS1), Member = "Encrypt_OAEP", MemberParameters = new object[]
273 {
274 typeof(RSA),
276 typeof(RandomNumberGenerator),
277 typeof(byte[])
278 }, ReturnType = typeof(byte[]))]
279 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
280 internal static byte[] RsaOaepEncrypt(RSA rsa, HashAlgorithm hash, PKCS1MaskGenerationMethod mgf, RandomNumberGenerator rng, byte[] data)
281 {
282 throw null;
283 }
284
285 [global::Cpp2ILInjected.Token(Token = "0x6001A64")]
286 [global::Cpp2ILInjected.Address(RVA = "0x1B0C1A4", Offset = "0x1B0C1A4", Length = "0xC8")]
287 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(RSAOAEPKeyExchangeDeformatter), Member = "DecryptKeyExchange", MemberParameters = new object[] { typeof(byte[]) }, ReturnType = typeof(byte[]))]
288 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
289 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Mono.Security.Cryptography.PKCS1), Member = "Decrypt_OAEP", MemberParameters = new object[]
290 {
291 typeof(RSA),
293 typeof(byte[])
294 }, ReturnType = typeof(byte[]))]
295 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Environment), Member = "GetResourceString", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(string))]
296 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(CryptographicException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
297 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 7)]
299 {
300 throw null;
301 }
302
303 [global::Cpp2ILInjected.Token(Token = "0x6001A65")]
304 [global::Cpp2ILInjected.Address(RVA = "0x1B129F0", Offset = "0x1B129F0", Length = "0x21C")]
305 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
306 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
307 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Buffer), Member = "InternalBlockCopy", MemberParameters = new object[]
308 {
309 typeof(global::System.Array),
310 typeof(int),
311 typeof(global::System.Array),
312 typeof(int),
313 typeof(int)
314 }, ReturnType = typeof(bool))]
315 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Environment), Member = "GetResourceString", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(string))]
316 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(CryptographicUnexpectedOperationException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
317 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 9)]
318 internal static byte[] RsaPkcs1Padding(RSA rsa, byte[] oid, byte[] hash)
319 {
320 throw null;
321 }
322
323 [global::Cpp2ILInjected.Token(Token = "0x6001A66")]
324 [global::Cpp2ILInjected.Address(RVA = "0x1B12C0C", Offset = "0x1B12C0C", Length = "0xCC")]
325 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
326 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
327 internal static bool CompareBigIntArrays(byte[] lhs, byte[] rhs)
328 {
329 throw null;
330 }
331
332 [global::Cpp2ILInjected.Token(Token = "0x6001A67")]
333 [global::Cpp2ILInjected.Address(RVA = "0x1B12CD8", Offset = "0x1B12CD8", Length = "0x134")]
334 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
335 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "op_Equality", MemberParameters = new object[]
336 {
337 typeof(string),
338 typeof(string)
339 }, ReturnType = typeof(bool))]
340 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(HashAlgorithmName), Member = "get_SHA1", ReturnType = typeof(HashAlgorithmName))]
341 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(HashAlgorithmName), Member = "get_SHA256", ReturnType = typeof(HashAlgorithmName))]
342 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(HashAlgorithmName), Member = "get_SHA384", ReturnType = typeof(HashAlgorithmName))]
343 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(HashAlgorithmName), Member = "get_SHA512", ReturnType = typeof(HashAlgorithmName))]
344 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.NotSupportedException), Member = ".ctor", ReturnType = typeof(void))]
345 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 8)]
346 internal static HashAlgorithmName OidToHashAlgorithmName(string oid)
347 {
348 throw null;
349 }
350
351 [global::Cpp2ILInjected.Token(Token = "0x6001A68")]
352 [global::Cpp2ILInjected.Address(RVA = "0x1B0C358", Offset = "0x1B0C358", Length = "0xF0")]
353 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
354 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(RSAOAEPKeyExchangeDeformatter), Member = "get_OverridesDecrypt", ReturnType = typeof(bool))]
355 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(RSAOAEPKeyExchangeFormatter), Member = "get_OverridesEncrypt", ReturnType = typeof(bool))]
356 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(RSAPKCS1KeyExchangeDeformatter), Member = "get_OverridesDecrypt", ReturnType = typeof(bool))]
357 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(RSAPKCS1KeyExchangeFormatter), Member = "get_OverridesEncrypt", ReturnType = typeof(bool))]
358 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 4)]
359 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = "GetType", ReturnType = typeof(global::System.Type))]
360 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "op_Equality", MemberParameters = new object[]
361 {
362 typeof(string),
363 typeof(string)
364 }, ReturnType = typeof(bool))]
365 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Utils), Member = "DoesRsaKeyOverrideSlowPath", MemberParameters = new object[]
366 {
367 typeof(global::System.Type),
368 typeof(string),
369 typeof(global::System.Type[])
370 }, ReturnType = typeof(bool))]
371 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 4)]
372 internal static bool DoesRsaKeyOverride(RSA rsaKey, string methodName, global::System.Type[] parameterTypes)
373 {
374 throw null;
375 }
376
377 [global::Cpp2ILInjected.Token(Token = "0x6001A69")]
378 [global::Cpp2ILInjected.Address(RVA = "0x1B12E0C", Offset = "0x1B12E0C", Length = "0xD8")]
379 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
380 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Utils), Member = "DoesRsaKeyOverride", MemberParameters = new object[]
381 {
382 typeof(RSA),
383 typeof(string),
384 typeof(global::System.Type[])
385 }, ReturnType = typeof(bool))]
386 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
387 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Type), Member = "GetMethod", MemberParameters = new object[]
388 {
389 typeof(string),
390 typeof(global::System.Reflection.BindingFlags),
391 typeof(global::System.Reflection.Binder),
392 typeof(global::System.Type[]),
393 typeof(global::System.Reflection.ParameterModifier[])
394 }, ReturnType = typeof(global::System.Reflection.MethodInfo))]
395 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Type), Member = "GetTypeFromHandle", MemberParameters = new object[] { typeof(global::System.RuntimeTypeHandle) }, ReturnType = typeof(global::System.Type))]
396 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Type), Member = "op_Equality", MemberParameters = new object[]
397 {
398 typeof(global::System.Type),
399 typeof(global::System.Type)
400 }, ReturnType = typeof(bool))]
401 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 3)]
402 private static bool DoesRsaKeyOverrideSlowPath(global::System.Type t, string methodName, global::System.Type[] parameterTypes)
403 {
404 throw null;
405 }
406
407 [global::Cpp2ILInjected.Token(Token = "0x6001A6A")]
408 [global::Cpp2ILInjected.Address(RVA = "0x1B12EE4", Offset = "0x1B12EE4", Length = "0x8")]
409 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(HMACSHA384), Member = ".ctor", MemberParameters = new object[] { typeof(byte[]) }, ReturnType = typeof(void))]
410 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(HMACSHA512), Member = ".ctor", MemberParameters = new object[] { typeof(byte[]) }, ReturnType = typeof(void))]
411 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
412 internal static bool _ProduceLegacyHmacValues()
413 {
414 throw null;
415 }
416
417 [global::Cpp2ILInjected.Token(Token = "0x4000D7E")]
418 internal const int DefaultRsaProviderType = 1;
419
420 [global::Cpp2ILInjected.Token(Token = "0x4000D7F")]
422 }
423}
class f__AnonymousType0<< Count > j__TPar
static byte[] RsaOaepEncrypt(RSA rsa, HashAlgorithm hash, PKCS1MaskGenerationMethod mgf, RandomNumberGenerator rng, byte[] data)
Definition Utils.cs:280
static byte[] GenerateRandom(int keySize)
Definition Utils.cs:75
static string DiscardWhiteSpaces(string inputBuffer)
Definition Utils.cs:102
static bool DoesRsaKeyOverride(RSA rsaKey, string methodName, global::System.Type[] parameterTypes)
Definition Utils.cs:372
static RNGCryptoServiceProvider _rng
Definition Utils.cs:421
static string DiscardWhiteSpaces(string inputBuffer, int inputOffset, int inputCount)
Definition Utils.cs:116
static byte[] ConvertIntToByteArray(int dwInput)
Definition Utils.cs:137
static bool CompareBigIntArrays(byte[] lhs, byte[] rhs)
Definition Utils.cs:327
static void DWORDToBigEndian(byte[] block, uint[] x, int digits)
Definition Utils.cs:221
static bool DoesRsaKeyOverrideSlowPath(global::System.Type t, string methodName, global::System.Type[] parameterTypes)
Definition Utils.cs:402
static byte[] Int(uint i)
Definition Utils.cs:263
static int ConvertByteArrayToInt(byte[] input)
Definition Utils.cs:126
static void QuadWordToBigEndian(byte[] block, ulong[] x, int digits)
Definition Utils.cs:253
static unsafe void QuadWordFromBigEndian(ulong *x, int digits, byte *block)
Definition Utils.cs:242
static byte[] RsaPkcs1Padding(RSA rsa, byte[] oid, byte[] hash)
Definition Utils.cs:318
static unsafe void DWORDFromBigEndian(uint *x, int digits, byte *block)
Definition Utils.cs:210
static byte[] RsaOaepDecrypt(RSA rsa, HashAlgorithm hash, PKCS1MaskGenerationMethod mgf, byte[] encryptedData)
Definition Utils.cs:298
static HashAlgorithmName OidToHashAlgorithmName(string oid)
Definition Utils.cs:346
static bool HasAlgorithm(int dwCalg, int dwKeySize)
Definition Utils.cs:85
static byte[] FixupKeyParity(byte[] key)
Definition Utils.cs:164
static bool _ProduceLegacyHmacValues()
Definition Utils.cs:412
static void DWORDToLittleEndian(byte[] block, uint[] x, int digits)
Definition Utils.cs:189
static RNGCryptoServiceProvider StaticRandomNumberGenerator
Definition Utils.cs:23
static unsafe void DWORDFromLittleEndian(uint *x, int digits, byte *block)
Definition Utils.cs:179
static void ConvertIntToByteArray(uint dwInput, ref byte[] counter)
Definition Utils.cs:151