Support CFB8 for 3DES and AES on Windows 7
authorKevin Jones <kevin@vcsjones.com>
Wed, 16 Sep 2020 16:52:57 +0000 (12:52 -0400)
committerGitHub <noreply@github.com>
Wed, 16 Sep 2020 16:52:57 +0000 (09:52 -0700)
commit9da454c1ef9bde6965b1220cd62982c1d4b5e376
treeff43cb58a8b2fe49a697a93a4418e42f0e500e97
parentc19cdffb4407690a62dd87fb9f0a1636063f6444
Support CFB8 for 3DES and AES on Windows 7

This also throws a better exception on platforms that do not support
setting the feedback size (such as Win7).
src/libraries/Common/src/Interop/Windows/BCrypt/AesBCryptModes.cs
src/libraries/Common/src/Interop/Windows/BCrypt/DESBCryptModes.cs
src/libraries/Common/src/Interop/Windows/BCrypt/TripleDesBCryptModes.cs
src/libraries/Common/tests/System/Security/Cryptography/AlgorithmImplementations/AES/AesCipherTests.cs
src/libraries/Common/tests/System/Security/Cryptography/AlgorithmImplementations/AES/AesContractTests.cs
src/libraries/Common/tests/System/Security/Cryptography/AlgorithmImplementations/AES/AesModeTests.cs
src/libraries/Common/tests/System/Security/Cryptography/AlgorithmImplementations/TripleDES/TripleDESCipherTests.cs
src/libraries/Common/tests/System/Security/Cryptography/AlgorithmImplementations/TripleDES/TripleDESContractTests.cs
src/libraries/System.Security.Cryptography.Algorithms/src/Resources/Strings.resx
src/libraries/System.Security.Cryptography.Cng/src/Resources/Strings.resx