#include common_System.Core.dll.sources
#include interpreter_System.Core.dll.sources
+
+System.Security.Cryptography/AesCryptoServiceProvider.cs
+System.Security.Cryptography/AesTransform.cs
+System.Security.Cryptography/CngAlgorithm.cs
+System.Security.Cryptography/CngAlgorithmGroup.cs
+System.Security.Cryptography/MD5Cng.cs
+System.Security.Cryptography/SHA1Cng.cs
+System.Security.Cryptography/SHA256Cng.cs
+System.Security.Cryptography/SHA256CryptoServiceProvider.cs
+System.Security.Cryptography/SHA384Cng.cs
+System.Security.Cryptography/SHA384CryptoServiceProvider.cs
+System.Security.Cryptography/SHA512Cng.cs
+System.Security.Cryptography/SHA512CryptoServiceProvider.cs
+
+../../../external/referencesource/System.Core/System/Security/Cryptography/AesManaged.cs
+../../../external/referencesource/System.Core/System/Security/Cryptography/ECDiffieHellman.cs
+../../../external/referencesource/System.Core/System/Security/Cryptography/ECKeyXmlFormat.cs
name = "System.Security.Cryptography.X509Certificates.X509Chain, System";
break;
case "aes":
+#if MOBILE_STATIC
+ name = "System.Security.Cryptography.AesCryptoServiceProvider, System.Core";
+#else
name = "System.Security.Cryptography.AesManaged, System.Core";
+#endif
break;
}
[Test]
[Category ("AndroidNotWorking")] // Exception is thrown: CryptographicException : Bad PKCS7 padding. Invalid length 236.
+ [Category ("MobileNotWorking")] // On mobile_static, above exception is thrown as well
public void Roundtrip ()
{
// that will return a AesCryptoServiceProvider
var aes = GetInstance ();
-#if MONOTOUCH || MOBILE_STATIC
+#if MONOTOUCH
Assert.AreEqual ("System.Security.Cryptography.AesManaged", aes.ToString (), "Default");
Assert.AreEqual (128, aes.FeedbackSize, "FeedbackSize");
#else