38 Commits
Author SHA1 Message Date
Filip Navara 94dc6098e3 System.Core: Use ECCurve & friends from CoreFX. (#9536)
* Use ECCurve & friends from CoreFX.

* [csproj] Update project files

* Bump API snapshot submodule
2018-07-14 10:41:55 +02:00
Alexander Köplinger 85b2056a36 [System.Core] Rename method parameters to match .NET contract 2017-03-16 13:02:09 +01:00
Marek Safar af10ff717e [System.Core] Add CryptoServiceProviders to mobile 2016-12-15 17:01:43 +01:00
Marek Safar 2a57c92fa0 [Facades] Add System.Security.Cryptography.Algorithms to net_4_x profile 2016-12-02 16:14:11 +01:00
Alexander Köplinger adcc481705 [bcl] Move a few types from the Facades into the framework for netstandard20 compatibility
See https://github.com/dotnet/standard/pull/76.

Also moved IncrementalHash from System.Core.dll to mscorlib.dll as per discussion with Wes.
2016-10-21 22:19:13 +02:00
Marek Safar e0be7efd61 [System.Core] Remove unused files 2016-10-10 17:39:33 +02:00
Ludovic Henry 249daf43de [mcs] Replace NET_2_1 by MOBILE
NET_2_1 is also defined whenever we define MOBILE, so they have the same effect. Silverlight was 2.1 but it's been dead for a while now, and we do not even support it.
2016-08-18 16:34:36 +02:00
Marek Safar f5b5a6fdfd [Facades] System.Security.Cryptography.Algorithms on netstandard profiles only 2016-08-11 20:53:45 +02:00
Alexander Köplinger 3c3ef17376 [bcl] Update to match NETStandard 1.6 members 2016-08-11 20:53:38 +02:00
Marek Safar 10c5e72512 [bcl] netstandart 1.6 support 2016-07-13 11:02:10 +02:00
Andrés G. Aragoneses c2d975db44 [Crypto] Include CngKeyBlobFormat from reference sources (rm old)
CngKeyBlobFormat was never included in the build, but anyway
we can include the one from referencesource now.

Detected by a user of Npgsql 3.0.5 which reported the problem
in stackoverflow:
http://stackoverflow.com/questions/35016066/failure-to-resolve-system-security-cryptography-cngkeyblobformat-when-using-npgs
2016-02-13 03:11:16 +08:00
Alexander Köplinger b03e606287 Remove ChangeLog files from the repo
They weren't updated in the last 6 years and aren't helpful anymore (e.g. by causing unrelated matches during git grep searches).
2016-01-29 19:17:06 +01:00
Marek Safar b23077459a [System.Core] More reference sources 2015-01-28 16:30:19 +01:00
Marek Safar f90fe36593 [corlib] Move Aes.cs to corlib 2015-01-28 16:30:19 +01:00
Zoltan Varga 032f313d5f [bcl] Remove NET_4_0 defines from class libs. 2015-01-13 16:06:31 -05:00
Rodrigo Kumpera 18044f8079 This was removed by accident when chopping MOONLIGHT code out. 2013-02-12 19:08:29 -05:00
Rodrigo Kumpera 1b92a4148c Since MOBILE implies NET_4_* now, take this into account and simplify our ifdefs. 2013-02-11 18:42:18 -05:00
Rodrigo Kumpera 486ee8d8f4 Kill the MOONLIGHT define in System.Core. 2013-02-11 13:01:10 -05:00
Sebastien Pouliot 92accdef67 Aes.Create returns, by default, an instance of AesCryptoServiceProvider, not AesManaged (more important now than before wrt CFB support) 2013-01-06 20:08:03 -05:00
Sebastien Pouliot 6597227b23 Aes[Managed|CryptoServiceProvider] have a few more differences with RjindaelManaged. Narrow that gap a bit. 2013-01-03 15:12:05 -05:00
Sebastien Pouliot 955db5d7b0 Match the existing name for Aes implementation for source/binary compatibility 2012-12-12 11:25:23 -05:00
Sebastien Pouliot aa6c012115 Fix Aes to behave correctly on MonoTouch wrt CryptoConfig (default creation) and fix it's FeedbackSize (for CFB) 2012-11-07 13:42:40 -05:00
Sebastien Pouliot af038f65bc Fix parameter name for Aes.Create
* Aes.cs: Fix parameter name
2011-05-02 12:18:43 -04:00
Juho Vähä-Herttua b4753cd752 2011-02-17 Juho Vähä-Herttua <[email protected]>
* CngAlgorithm.cs, CngAlgorithmGroup.cs: Change the private
        variable name to match .NET when the class is serialized
        * CngKeyBlobFormat.cs: New.
        * CngKeyCreationParameters.cs: New.
        * CngProperty.cs: New.
        * CngPropertyCollection.cs: New.
        * CngProvider.cs: New.
        * CngUIPolicy.cs: New.
2011-03-07 08:51:09 -05:00
Juho Vähä-Herttua 7735ff82f6 2011-02-16 Juho Vähä-Herttua <[email protected]>
* CngExportPolicies.cs: New.
        * CngKeyCreationOptions.cs: New.
        * CngKeyOpenOptions.cs: New.
        * CngKeyUsages.cs: New.
        * CngPropertyOptions.cs: New.
        * CngUIProtectionLevels.cs: New.
        * ECDiffieHellmanKeyDerivationFunction.cs: New.
        * ECKeyXmlFormat.cs: New.
2011-02-20 10:54:22 -05:00
Geoff Norton 16d4fd790b Further .NET 4.0 ification of the mobile profile 2011-01-25 20:10:54 -05:00
Marek Safar d84d7c7eb9 Remove no longer used BOOTSTRAP conditionals 2010-12-29 12:41:12 +00:00
Jeffrey Stedfast ee5160d55d Fixed AesManaged parameter names to make gui-compare happy 2010-12-14 16:20:35 -05:00
Raja R Harinath b293948fb7 EOL handling
This set of .gitattributes was automatically generated from the list of files
that GIT tried to normalize when I enabled automatic EOL conversion.

With this set of attributes, we prevent automated EOL conversion on files that
we know will cause trouble down the road.
2010-07-25 20:17:39 +05:30
Sebastien Pouliot b3d8bf1af4 fix net_4_0 build
svn path=/trunk/mcs/; revision=153859
2010-03-18 18:11:39 +00:00
Sebastien Pouliot 50731318d9 In Assembly:
2010-03-18  Sebastien Pouliot  <[email protected]>

	* AssemblyInfo.cs: Add TypeForwardTo for Aes on NET_4_0

In System.Security.Cryptography:
2010-03-18  Sebastien Pouliot  <[email protected]>

	* Aes.cs: Build here before NET_4_0 (or MOONLIGHT) otherwise 
	build only if compiled from mscorlib.dll


svn path=/trunk/mcs/; revision=153840
2010-03-18 14:27:18 +00:00
Jeffrey Stedfast 86f775a513 reverted previous change
svn path=/trunk/mcs/; revision=152743
2010-03-01 19:52:45 +00:00
Jeffrey Stedfast 3c973820b1 2010-03-01 Jeffrey Stedfast <[email protected]>
* Aes.cs: Fixed to convert the AssemblySystem_Core value to a string.


svn path=/trunk/mcs/; revision=152731
2010-03-01 18:58:51 +00:00
Jb Evain 40e5d7ea8a 2009-11-12 Jb Evain <[email protected]>
* Aes.cs: avoid using an hardcoded assembly version for System.Core.


svn path=/trunk/mcs/; revision=146033
2009-11-12 12:33:46 +00:00
Sebastien Pouliot b8b335ca7b 2009-07-20 Sebastien Pouliot <[email protected]>
* Aes.cs: Use the fully qualified name since this is not a type known
	in the default corlib (2.0 or 1.x).


svn path=/trunk/mcs/; revision=138249
2009-07-21 00:55:39 +00:00
Sebastien Pouliot e4dd723dbf 2009-04-29 Sebastien Pouliot <[email protected]>
* MD5Cng.cs, SHA1Cng.cs, SHA256Cng.cs, SHA256CryptoServiceProvider.cs,
	SHA384Cng.cs, SHA384CryptoServiceProvider.cs, SHA512Cng.cs,
	SHA512CryptoServiceProvider.cs: Regenerated to be excluded from
	NET_2_1


svn path=/trunk/mcs/; revision=133012
2009-04-29 14:07:09 +00:00
Sebastien Pouliot 2522376906 2008-08-07 Sebastien Pouliot <[email protected]>
* Aes.cs: Don't set the (unexisting) FeedbackSizeValue field
	for NET_2_1
	* AesTransform.cs: Remove code for blocksize != 128 bits


svn path=/trunk/mcs/; revision=109898
2008-08-07 18:19:09 +00:00
Sebastien Pouliot 86ec227096 2008-08-05 Sebastien Pouliot <[email protected]>
* Aes.cs: New. Base class for AES cipher.
	* AesCryptoServiceProvider.cs: New. CSP implementation
	of AES. For mono we're reusing the managed AesTransform
	* AesManaged.cs: New. Managed implementation of AES.
	* AesTransform.cs: New. Actual managed code for AES.
	* CngAlgorithm.cs: New.
	* CngAlgorithmGroup.cs: New.
	* MD5Cng.cs: New. Generated code.
	* SHA1Cng.cs: New. Generated code.
	* SHA256Cng.cs: New. Generated code.
	* SHA256CryptoServiceProvider.cs: New. Generated code.
	* SHA384Cng.cs: New. Generated code.
	* SHA384CryptoServiceProvider.cs: New. Generated code.
	* SHA512Cng.cs: New. Generated code.
	* SHA512CryptoServiceProvider.cs: New. Generated code.

svn path=/trunk/mcs/; revision=109709
2008-08-05 20:44:38 +00:00