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
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
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
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
Stephen Toub
4ee10f7b6c
Update CoreFx, ProjectNTfs to beta-24701-01, beta-24701-00, respectively (master)
...
Commit migrated from https://github.com/dotnet/corefx/commit/1b2b88d11c6b0d226481c96b1a88d20bb8cefaf9
2016-11-01 19:42:30 -04:00
Stephen Toub
5f0b53cb3c
Update CoreFx to beta-24629-01 (master)
...
Commit migrated from https://github.com/dotnet/corefx/commit/63a1dbe34233c086f7fc6d28b1fefecfefc822ed
2016-10-29 22:41:56 -04:00
Stephen Toub
63d42dae89
Merge pull request dotnet/corefx#13123 from bartonjs/fix_algo_test_pinvoke
...
Fix the P/Invoke target for System.Security.Cryptography.Algorithms.Tests
Commit migrated from https://github.com/dotnet/corefx/commit/f42475f6acc42cf51a9df0853a779e3a1fddebe3
2016-10-28 23:43:29 -04:00
dotnet-bot
ad2c08f972
Update CoreFx to beta-24628-03
...
Commit migrated from https://github.com/dotnet/corefx/commit/e634b174854638f226c81ebd5a2b6d22afca83de
2016-10-28 19:01:25 +00:00
Jeremy Barton
2c75a66175
Fix the P/Invoke target for System.Security.Cryptography.Algorithms.Tests
...
The crypto shim got renamed, but a capabilities probe in the S.S.C.Algorithms
test library didn't get the memo. This didn't matter much because the old shim
name is still produced for compatibility, but it got highlighted in a test with
packages change.
This change removes the duplicate definition of the library name, and includes
the Unix library names list, but leaves the individual targeted methods in place.
Commit migrated from https://github.com/dotnet/corefx/commit/0554c9e81d516b7f1fdf2a5e4f434ce2104e0693
2016-10-28 10:52:09 -07:00
dotnet-bot
519246eb66
Update CoreClr, CoreFx to beta-24628-03, beta-24628-02, respectively
...
Commit migrated from https://github.com/dotnet/corefx/commit/56c61a5a1158ef9f1c84c87442f39015d9042491
2016-10-28 16:27:01 +00:00
dotnet-bot
5eb2424d89
Update CoreClr, CoreFx, External, ProjectNTfs to beta-24628-02, beta-24628-01, beta-24628-00, beta-24628-01, respectively
...
Commit migrated from https://github.com/dotnet/corefx/commit/56b92839e58ab41582e98eaf87452ec4b50712b4
2016-10-28 09:16:27 +00:00
dotnet-bot
4ed327f131
Update CoreClr, CoreFx, External, ProjectNTfs to beta-24627-05, beta-24627-05, beta-24627-00, beta-24627-00, respectively
...
Commit migrated from https://github.com/dotnet/corefx/commit/b030c0a58466c70ca34b56933903b31e580e6189
2016-10-27 22:28:54 +00:00
Steve Harter
5c688649b8
Add crypto provider wrappers to System.Security.Cryptography.Algorithms and .Csp
...
Commit migrated from https://github.com/dotnet/corefx/commit/6d523750c4356af1d5c9e001c362baa833059833
2016-10-26 17:47:13 -05:00
dotnet-bot
a196fb6572
Update CoreFx to beta-24626-02
...
Commit migrated from https://github.com/dotnet/corefx/commit/ffd454cef1f7dd4a2f6969747cf45a4729e6387c
2016-10-26 14:46:03 +00:00
dotnet-bot
de5dd7cba0
Update CoreClr, CoreFx, ProjectNTfs to beta-24626-01, beta-24625-02, beta-24625-00, respectively
...
Commit migrated from https://github.com/dotnet/corefx/commit/ff859b462ada317c02c96b93918ec0e2d072459e
2016-10-26 00:20:25 +00:00
Alex Perovich
3d36dbec18
Add SuppressMessage attributes for valid uses of SHA-1 and MD5 ( dotnet/corefx#13014 )
...
Commit migrated from https://github.com/dotnet/corefx/commit/fa04ddbaa3a6e8d899c6d77c6646a16986e2657c
2016-10-25 16:15:11 -07:00
dotnet-bot
b943e5d281
Update CoreClr, CoreFx, External to beta-24625-02, beta-24625-01, beta-24625-00, respectively
...
Commit migrated from https://github.com/dotnet/corefx/commit/e1bdcc213a47f4761a6a46e8e0d612d7bc237c9a
2016-10-25 08:19:47 +00:00
Jose Perez Rodriguez
132e478c7b
Updating Corefx versions to beta-24624-01
...
Commit migrated from https://github.com/dotnet/corefx/commit/cd40177af397e309c41f2bbcec007e21761bb688
2016-10-24 12:01:45 -07:00
Stephen Toub
344ae45288
Update CoreFx dependencies to beta-24623-01
...
Commit migrated from https://github.com/dotnet/corefx/commit/617811c779e36848fb1af4c2e8d8b3b1dba42e83
2016-10-23 11:50:14 -04:00
Eric St. John
4a6c9bbb81
Update all projects to last stable packages
...
And remove imports.
Now that we have netstandard packages that support all targets we should
use them. This means we don't need imports.
I opted to use the stable packages rather than the LKG ones since this
will reduce churn in the product assemblies.
This has the added benefit of reducing download time for the repo.
Commit migrated from https://github.com/dotnet/corefx/commit/a330f3651c999b241d55ca25d9baa7fb0f247c5c
2016-10-21 06:32:53 -07:00
Steve Harter
429d0c16c7
Port System.Security.Cryptography.Algorithms.Rijndael and RijndaelManaged
...
Commit migrated from https://github.com/dotnet/corefx/commit/e136eccc0ed40515f9d2711f1762b89a1d64244c
2016-10-21 08:14:41 -05:00
Steve Harter
fe5710d6c6
Add DES and RC2 to System.Security.Cryptography.Algorithms and .Csp
...
Enabled for .Csp via CAPI, and .Algorithms for Windows (via Cng), Linux (via OpenSsl) and Apple.
Commit migrated from https://github.com/dotnet/corefx/commit/d2ff60b619a0bfaca341501432f75e50ec77a6da
2016-10-20 11:09:19 -05:00
Stephen Toub
fc416399f6
Update CoreFx to beta-24619-02 (master)
...
Commit migrated from https://github.com/dotnet/corefx/commit/85567505126195558e104adec718be1d6325e43f
2016-10-20 00:13:39 -04:00
Jeremy Barton
c2335a8389
Ensure Legal*SizesValue on symmetric algorithms are isolated from mutation.
...
In .NET Core 1.0 the SymmetricAlgorithm-derived types didn't set the LegalKeySizesValue field, but instead just overrode the LegalKeySizes property.
Now that they're being changed to set the fields in case derived types wanted
to read them they should maintain the added level of data isolation from .NET
Core 1.0 and prevent the static fields from being tampered with.
Commit migrated from https://github.com/dotnet/corefx/commit/207e52e8b851c621e1a8f2cea5002f42192ea1b4
2016-10-19 14:39:51 -07:00
Jeremy Barton
ea749e4b4c
Make derived types of SymmetricAlgorithm use field assignment in ctors.
...
Aes and TripleDES both did assignments via virtual property setters in their ctor,
which were field assignments in .NET Framework. 3rd party implementations
may have written properties which assumed that the ctor had run to completion,
and they are broken by that behavioral change.
This change makes the ctors look like they do in net462, aside from when
net462 sets fields which don't exist.
It also makes the tests fail if virtual setter dispatch was utilized (for any currently
defined property, at least).
Commit migrated from https://github.com/dotnet/corefx/commit/53455257f1dd9a55623798f00b8dbeafbf5b7118
2016-10-19 12:00:01 -07:00
Karthik Rajasekaran
9255a2e649
Combine test dependencies into a common project.json.
...
Restore this common project.json upfront to improve sync time and avoid download contention from nuget.
Commit migrated from https://github.com/dotnet/corefx/commit/654f5548f946659c694d110a4bbce8aa33f1a7a1
2016-10-18 11:39:53 -07:00
dotnet-bot
94f229c6a7
Update CoreClr, CoreFx to beta-24617-03, beta-24617-03, respectively
...
Commit migrated from https://github.com/dotnet/corefx/commit/4c6df2edbad3b5d8ec3914c0366f80ebb73f7c12
2016-10-18 08:43:24 -04:00
dotnet-bot
7b31a1e04a
Update CoreClr, CoreFx, External to beta-24615-02, beta-24615-03, beta-24614-00, respectively
...
Commit migrated from https://github.com/dotnet/corefx/commit/025cec5bf1e82980a77e473f2e5d599ffd60af49
2016-10-15 08:33:01 +00:00
Stephen Toub
ae342d8937
Remove stale P2P package references
...
A bunch of TODOs to be cleaned up.
Commit migrated from https://github.com/dotnet/corefx/commit/9c37cefc50161d980db141b026bb595933ccc796
2016-10-13 21:46:58 -04:00
Stephen Toub
52e3c3d7ae
Change all refs to use "throw null;" as member bodies
...
Following our new guidelines for ref assembly implementations and what GenApi now creates, this updates all of our ref .cs files to use "throw null;" for member bodies that can't just be empty (i.e. members that need to return a value either via the return type or via an out parameter). I made the change programatically using a simple Roslyn-based tool.
Commit migrated from https://github.com/dotnet/corefx/commit/a9fdc79ff8feb5ad46e9fcbe18fdffcd0bd74679
2016-10-13 09:43:23 -04:00
dotnet-bot
511149ab83
Update CoreClr, CoreFx, External to beta-24613-02, beta-24613-01, beta-24613-00, respectively
...
Commit migrated from https://github.com/dotnet/corefx/commit/8f355c66ac9adbf9f36cfdd019ba1d2cefb54001
2016-10-13 08:37:30 +00:00
dotnet-bot
4a517b60c6
Update CoreClr, CoreFx to beta-24612-03, beta-24612-03, respectively
...
Commit migrated from https://github.com/dotnet/corefx/commit/f01cf91423391f80ad5269340eb8e602ea9cb087
2016-10-12 16:28:54 +00:00
Stephen Toub
f54cfb8704
Update CoreClr, CoreFx to beta-24611-01, beta-24611-02 respectively (master)
...
Commit migrated from https://github.com/dotnet/corefx/commit/b7cc4e219207cff50cdbb11176d3cee25be724f0
2016-10-11 15:32:17 -04:00