Commit Graph
498 Commits
Author SHA1 Message Date
Eric Mellino 966c8e0251 [dev/eng] Overhaul ref and src project references, and start binplacing things (dotnet/corefx#14062)
* Used GenerateBuilds.ps1 script to generate the P2P references from the project.json files in ref

* Update refs to build with ProjectReference's instead of package references

This deletes all the ref\project.json files and instead adds ProjectReference
to other refs that are used to build.

There is only one exception which was System.Net.Http which needed a project.json
to get the net46 targeting pack otherwise everything else is P2P.

* Update Reflection.Emit contracts to support latest version of contracts

* Add depproj to get windows.winmd support when building refs

* Special handle System.Net.Http ref project to deal with net46 targeting pack

* Moved CLSCompliant to SecureString ctor instead of type

* Add P2P reference from S.IO -> S.R.Extensions

* Add additional ProjectReferences to more ref projects after master rebase

* Start binplacing ref assemblies and disable rest of build

* Simplify all ref projects to only build for netcoreapp (default target group)

* Only binplace netcoreapp refs

* Allow Reference's to be resolved from targeting pack directories

* Use GenerateBuilds.ps1 to convert src project.json refs to References

* Allow overriding stuff in Tools

* System.Runtime src project building against targeting pack

* Re-purpose GenerateBuilds.ps1 to re-write src references

* Only build csproj files in src.builds

* More custom stuff in GenerateBuilds.ps1

* Binplace all netstandard assemblies into netcoreapp as well.

* Add project.json to System.Collections.Immutable

* More custom generatebuilds.ps1 stuff

* Normalize csproj files before running GenerateBuilds.ps1

* Better match the replaced  'None Include="project.json"' line.

* Another missing project.json inclusion in csproj

* Remove ExcludeFromCodeCoverageAttribute from Immutable project

* Include another project.json

* Add some P2P references

* Add another project.json include

* Disable Http.Rtc project.

* Disable two more UWP projects and another P2P ref"

* More Cleanup

* Run GenerateBuilds.ps1 to re-write all nuget refs as <Reference>'s

* Binplace netstandard runtime assemblies to netcoreapp as well.

* Re-hook all src projects into build.proj

* Fix bin clashing caused by bad ProjectReference metadata

* Use 'copy' instead of 'cp' in init-tools.cmd. Add copying to init-tools.sh as well.

* Correct casing of windows.winmd in depproj

* Disable System.Memory.csproj outside of Windows

* Fix unix exclusion of System.Memory, and include vbproj files

* Fix VisualBasic compilation

* There was an extra definition of MemberTypes that was internal to the
  assembly. It's now defined in System.Private.CoreLib, so I deleted the
  extra here.
* There was an invalid call in Operators.vb that I fixed.

* Add additional project references and configuration fixes after rebase

* Fix build warnings in ref projects

* Fix build warnings in src projects


Commit migrated from https://github.com/dotnet/corefx/commit/a9f6d7d749f9946cc6b10c50b54bcae0e43e859e
2016-11-29 18:01:35 -08:00
Ian Hays c59254767c Add SignatureDescription source and tests.
Modifies ported tests from Mono and ported source from Desktop to work in Core and follow our style.


Commit migrated from https://github.com/dotnet/corefx/commit/0dcbfe6325d82aac772553c1298472bb8bfd4b74
2016-11-23 15:41:39 -08:00
dotnet-bot e62ae076d5 Port SignatureDescription source
Commit migrated from https://github.com/dotnet/corefx/commit/25454ad6e8858afee21c9e890eeb08b18aa267fa
2016-11-23 10:34:22 -08:00
Santiago Fernandez Madero 8fc5be59d3 Port PKCS1MaskGenerationMethod type to netstandard2.0 (dotnet/corefx#13866)
* Port PKCS1MaskGenerationMethod to netstandard2.0

Commit migrated from https://github.com/dotnet/corefx/commit/827f47f48df00923b802427486b062d62dd243b5
2016-11-22 20:23:23 -08:00
Steve Harter b2f3576503 Merge pull request dotnet/corefx#13740 from steveharter/AddAlgorithmMembers2
Add AsymmetricAlgorthm.ToXmlString, FromXmlString, and other missing members

Commit migrated from https://github.com/dotnet/corefx/commit/c0df023a72954f72ab42387cf511f16f1a0f1db6
2016-11-22 14:50:06 -06:00
Steve Harter 86950648c1 AsymmetricAlgorithm.ToXmlString, FromXmlString and other missing members
Remove Xml support due to cyclic assembly dependencies


Commit migrated from https://github.com/dotnet/corefx/commit/88ec4ba8432c1444fc43ecba5bd6d70f3d41d103
2016-11-22 13:04:07 -06:00
Alexander Radchenko 5e41aa966b Fix two tests in System.Security.Cryptography.Rsa.Tests.System.Security.Cryptography.Algorithms.Tests on Windows 2012 server (dotnet/corefx#13883)
Commit migrated from https://github.com/dotnet/corefx/commit/0b976c570f87e31addc32e67f12589d4ce15287a
2016-11-22 10:35:57 -05:00
Steve Harter d9e70aea20 AsymmetricAlgorthm.ToXmlString, FromXmlString, and other missing members
Commit migrated from https://github.com/dotnet/corefx/commit/6b0ddc47927c7cb60ab116c1bed6cf14195c6c46
2016-11-22 09:28:49 -06:00
dotnet-bot f7a208ba73 Update CoreClr, CoreFx, External, ProjectNTfs to beta-24721-04, beta-24721-02, beta-24721-00, beta-24721-00, respectively
Commit migrated from https://github.com/dotnet/corefx/commit/bd9f87de00538052b6cf4c4faa261c0d22e04f90
2016-11-21 23:52:28 +00:00
Alex Perovich bd1e1fc886 Add FeedbackSize to SymmetricAlgorithm (dotnet/corefx#13786)
Fixes dotnet/corefx#12368

Commit migrated from https://github.com/dotnet/corefx/commit/927f4ac218c305408af316cc92f131629527cb3e
2016-11-21 15:40:11 -08:00
Steve Harter 3d9466555b Add new modifier to static Create methods in S.S.C.Algorithms contract (dotnet/corefx#13815)
Commit migrated from https://github.com/dotnet/corefx/commit/ad0c8cd828c5975991107487a5fed8f578892a2a
2016-11-18 15:38:01 -06:00
Stephen Toub 365f1cd4c5 Merge pull request dotnet/corefx#13790 from dotnet-bot/master-UpdateDependencies
Update CoreFx, ProjectNTfs to beta-24717-03, beta-24718-00, respectively (master)

Commit migrated from https://github.com/dotnet/corefx/commit/364418b3ef0188f5b4f84bce5743541781a190ee
2016-11-18 07:02:57 -05:00
Alex Perovich 098b725bc0 Make abstract methods virtual per ns20 (dotnet/corefx#13787)
Fixes dotnet/corefx#13783

Commit migrated from https://github.com/dotnet/corefx/commit/b314d06bfba44aea825816758bb61aa5bf1bb1af
2016-11-17 22:48:05 -08:00
Tarek Mahmoud Sayed 4b3c115acc Expose HMAC.BlockSizeValue (dotnet/corefx#13769)
* Expose HMAC.BlockSizeValue

This is a protected property which can reflect only on the extended classes.

* Remove redundant code

* Remove the comment

* Dispose the objects after testing it

* Make the new test compile and run with the current TargetGroup

* Expose HMAC.BlockSizeValue

This is a protected property which can reflect only on the extended classes.

* Remove redundant code

* Remove the comment

* Dispose the objects after testing it

* Make the new test compile and run with the current TargetGroup

* Remove project item which already added by other PR


Commit migrated from https://github.com/dotnet/corefx/commit/937bce9d567c4bcf0b6d8ae968c602ade1214243
2016-11-17 21:03:33 -08:00
dotnet-bot 17b9d2afa6 Update CoreFx, ProjectNTfs to beta-24717-03, beta-24718-00, respectively
Commit migrated from https://github.com/dotnet/corefx/commit/dbccc58ac0186bbcf9fe0445b255b33ea583ff56
2016-11-18 04:16:59 +00:00
Steve Harter 65988bb382 Add CryptoConfig support (dotnet/corefx#13734)
Commit migrated from https://github.com/dotnet/corefx/commit/9d42f078b13a8f8a437914094699ab80bfd1fd42
2016-11-17 17:22:55 -06:00
dotnet-bot 709886b4f3 Update CoreClr, CoreFx, ProjectNTfs to beta-24717-03, beta-24717-02, beta-24717-00, respectively
Commit migrated from https://github.com/dotnet/corefx/commit/67690bd0f2bff10db494e829755fffa667184600
2016-11-17 14:43:31 -05:00
John Chen eee1d81804 Merge pull request dotnet/corefx#13440 from JohnChen0/master
Replace APISet imports with Win32 imports on Windows

Commit migrated from https://github.com/dotnet/corefx/commit/c55435befeb372707558a5c441b3c64bf243948f
2016-11-16 09:43:40 -08:00
dotnet-bot f016cc9f63 Update CoreClr, CoreFx, External, ProjectNTfs to beta-24716-02, beta-24715-03, beta-24716-00, beta-24716-00, respectively
Commit migrated from https://github.com/dotnet/corefx/commit/75c2a6a9154044fe61e913db297e34a47f588994
2016-11-16 09:23:13 +00:00
Sepideh Khoshnood e724acf5c9 Merge pull request dotnet/corefx#13664 from sepidehMS/PortFewCryptoMembers
Port System.Security.Cryptography.*KeyExchangeFormatter.Rng

Commit migrated from https://github.com/dotnet/corefx/commit/cf28254643199ac3d26af622c078d77a899322a2
2016-11-15 14:26:33 -08:00
sepidehMS 34c3a52b04 Address feedback
Commit migrated from https://github.com/dotnet/corefx/commit/03f482cef93ab9d6f734a04614d43e85c29e5b5a
2016-11-15 12:09:00 -08:00
sepidehMS eddb1e1e0a Port few System.Security.Cryptography members
Commit migrated from https://github.com/dotnet/corefx/commit/545e5fddd9bba09b203d2e400bdee9354b42cbf0
2016-11-15 10:46:25 -08:00
John Chen (CLR) 6f8034b562 Merge latest from 'master' and resolved conflicts
Commit migrated from https://github.com/dotnet/corefx/commit/b9b53c8efa4b259312f8997c86dcfb11083f88ab
2016-11-15 09:11:17 -08:00
Stephen Toub 482458afd0 Update CoreFx, External, ProjectNTfs to beta-24715-02, beta-24715-00, beta-24715-00, respectively (master)
Commit migrated from https://github.com/dotnet/corefx/commit/9e8050a2bdca9aeff16bd8e704f380e86813821d
2016-11-15 11:43:51 -05:00
Dan Moseley 79856d3874 Add missing RSA members (dotnet/corefx#13614)
* Add missing RSA members
* Add missing P2P necessary because the tests are in two projects


Commit migrated from https://github.com/dotnet/corefx/commit/33c2321e69690ab03b3773a526696791b9d52acd
2016-11-14 14:07:42 -08:00
Dan Moseley 3db6155aaa Add ProduceLegacyHmacValues (dotnet/corefx#13612)
* Add ProduceLegacyHmacValues

* CR feedback

* CR 2


Commit migrated from https://github.com/dotnet/corefx/commit/8bdf055fa5974a0c43bce3182239bde00b440e99
2016-11-14 13:15:10 -08:00
danmosemsft 07390502fa CR feedback
Commit migrated from https://github.com/dotnet/corefx/commit/78ab1a745933d31d61e41a4c14d08baa561179cd
2016-11-14 09:33:59 -08:00
dotnet-bot bb01d482d2 Update CoreFx, ProjectNTfs to beta-24714-01, beta-24714-00, respectively
Commit migrated from https://github.com/dotnet/corefx/commit/3342536d369d922f14cc1a9c0fb91b4440a6967e
2016-11-14 15:46:09 +00:00
Stephen Toub 8fc3b842d0 Merge pull request dotnet/corefx#13600 from mellinoe/enable-apicompat-unix
Re-enable ApiCompat for non-Windows builds.

Commit migrated from https://github.com/dotnet/corefx/commit/7dfa1331ed076392b6a27e4cad1fcc95a85d86fa
2016-11-12 07:54:46 -05:00
danmosemsft 713551bee7 Add missing RSA members
Commit migrated from https://github.com/dotnet/corefx/commit/02fcf7e7120ab7ffe7b820054a5408e747d20cc5
2016-11-11 16:37:15 -08:00
Eric Mellino afc903aa3e Re-enable ApiCompat for non-Windows builds.
This was failing because the baseline files had different casing than expected.


Commit migrated from https://github.com/dotnet/corefx/commit/9d1fc8ed60028b0eb824199c2bad8fc3678bd09f
2016-11-11 13:00:57 -08:00
Jose Perez Rodriguez 71fc69fd49 Moving part of System.Security.Permissions down to System.Runtime.Extensions (dotnet/corefx#13476)
* Moving part of System.Security.Permissions down to System.Runtime.Extensions

Commit migrated from https://github.com/dotnet/corefx/commit/768e18c53d1e218d77914c207dcb2ba8636397e0
2016-11-11 11:59:21 -08:00
dotnet-bot a02764567f Update CoreFx to beta-24711-02
Commit migrated from https://github.com/dotnet/corefx/commit/3709a83afb9ffb8aa05b6c6f5561859527226595
2016-11-11 15:52:34 +00:00
dotnet-bot b9b36cbb7a Update CoreFx, External, ProjectNTfs to beta-24711-01, beta-24711-00, beta-24711-00, respectively
Commit migrated from https://github.com/dotnet/corefx/commit/2ab7ba374f98bb0c3785435169d9b568c5f24eba
2016-11-11 06:19:20 +00:00
John Chen (CLR) e6544e45f9 Reorganize DLL imports
Removed obsolete constants from Interop.Libraries.cs, and moved
files under src/Common/src/Interop/Windows to proper locations.


Commit migrated from https://github.com/dotnet/corefx/commit/aff71a53a57a39cbcaa7110c7dc1124f0700c13d
2016-11-10 16:04:46 -08:00
dotnet-bot d1fb8ddc0f Update CoreFx, External, ProjectNTfs to beta-24710-01, beta-24710-00, beta-24710-00, respectively
Commit migrated from https://github.com/dotnet/corefx/commit/0a2361383fda2720c5eada8c80d24850a9d61246
2016-11-10 14:31:27 -08:00
Dan Moseley e6617e30b3 Revert param names (dotnet/corefx#13521)
Commit migrated from https://github.com/dotnet/corefx/commit/2c32fb1c1a14a054609a6f1a94927eb4e13bdd5e
2016-11-10 07:34:02 -05:00
Jeremy Kuhne f05a8c4187 Move IO types into System.Runtime.Extensions (dotnet/corefx#13451)
Move all of System.IO into System.Runtime.Extensions.
Finish moving System.IO.Primitives into System.Runtime.

Commit migrated from https://github.com/dotnet/corefx/commit/55eb2f16c4ccdb6e4c50a89af5c14ac843239901
2016-11-09 14:44:50 -08:00
dotnet-bot c5bd931c2d Update CoreFx to beta-24709-02
Commit migrated from https://github.com/dotnet/corefx/commit/68a1670fc7b9c9419f5d3100ac9a4347874aeef8
2016-11-09 15:38:49 +00:00
dotnet-bot d6f29b0517 Update CoreClr, CoreFx, External, ProjectNTfs to beta-24709-02, beta-24709-01, beta-24709-00, beta-24709-00, respectively
Commit migrated from https://github.com/dotnet/corefx/commit/8a5167a13e1ae72cff71285c49f5f84e10a64248
2016-11-09 09:19:32 +00:00
dotnet-bot c561086403 Update CoreClr, CoreFx to beta-24709-01, beta-24708-05, respectively
Commit migrated from https://github.com/dotnet/corefx/commit/bafbeec4841285834d31bee295c225a61de2b780
2016-11-09 01:10:38 +00:00
Jeremy Barton 877823c90b Merge pull request dotnet/corefx#13472 from bartonjs/more_static_dsa_tests
Add more static DSA tests, including NIST CAVP test vectors.

Commit migrated from https://github.com/dotnet/corefx/commit/f0387eccbf24ebd3c0a8e9921d99cc88a93d49a2
2016-11-08 14:19:56 -08:00
Stephen Toub 27794c3e5c Update corefx to beta-24708-03
Commit migrated from https://github.com/dotnet/corefx/commit/9f9c2885208315215b7e328ea399f13c83d1b8a7
2016-11-08 17:10:15 -05:00
dotnet-bot b740f1d2bd Update CoreClr, CoreFx, External, ProjectNTfs to beta-24708-02, beta-24707-01, beta-24708-00, beta-24708-00, respectively
Commit migrated from https://github.com/dotnet/corefx/commit/b255d0bf4df94eb383c1bb4b42b1bfe9b64f3238
2016-11-08 17:07:45 -05:00
Jeremy Barton 8d41cfa4e6 Add more static DSA tests, including NIST CAVP test vectors.
The portion of the tests in the existing file were signatures generated by .NET
Framework's DSACng, which were added first during this exercise.

The NIST cases came as a followup.  The general flow for NIST cases was:
* Take one representative sample from legacy DSA (FIPS 186-2).
* For each (L,N,H) tuple for FIPS 186-4 take the first test case.
* If any of the further test cases looked interesting (such as having a leading 0x00),
include such test case.

N=224 is not supported by Windows, and Windows CNG is the only current
DSA implementation that supports FIPS 186-3, so they were omitted as not
worth the hassle yet of making a new test capability that was never met.

H=SHA224 is not supported by .NET, so none of those cases were included.


Commit migrated from https://github.com/dotnet/corefx/commit/a82a09295b2a2fc41564a980624e76a16a007dd3
2016-11-08 08:19:16 -08:00
Jeremy Barton ab919cf93b Merge pull request dotnet/corefx#13431 from bartonjs/rsa_encrypt_oaepsha384_test
Add a static test for RSA OAEP-SHA384 decryption

Commit migrated from https://github.com/dotnet/corefx/commit/681d85aa63891a63be928d29667cd3fc0f6c966c
2016-11-07 13:40:00 -08:00
Jeremy Barton 7402dc9a6e Add a static test for RSA OAEP-SHA384 decryption
None of the RSA tests did OAEP-SHA384 (or any SHA-2 OAEP), this rectifies that.


Commit migrated from https://github.com/dotnet/corefx/commit/4dfacf447e3a494d29947fac6aa414b40e89fdc5
2016-11-07 09:28:27 -08:00
dotnet-bot d63a7b41df Update CoreFx to beta-24705-01
Commit migrated from https://github.com/dotnet/corefx/commit/c7603507fe200426130f10d6b2cc67dfeda2c83f
2016-11-05 02:22:03 +00:00
dotnet-bot 540789c36c Update CoreClr, CoreFx, External, ProjectNTfs to beta-24704-04, beta-24704-03, beta-24704-00, beta-24704-00, respectively
Commit migrated from https://github.com/dotnet/corefx/commit/d75d49704cffb9652304a357750d7f3f357be6fc
2016-11-05 00:21:20 +00:00
Jose Perez Rodriguez 2db115c87d Updating corefx versions to beta-24703-01
Commit migrated from https://github.com/dotnet/corefx/commit/39b5977106283eb0017dbc43af7f4d6b195753b1
2016-11-03 10:23:38 -07:00