-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
One shot CFB #55480
One shot CFB #55480
Conversation
Note regarding the This serves as a reminder for when your PR is modifying a ref *.cs file and adding/modifying public APIs, to please make sure the API implementation in the src *.cs file is documented with triple slash comments, so the PR reviewers can sign off that change. |
Tagging subscribers to this area: @bartonjs, @vcsjones, @krwq, @GrabYourPitchforks Issue DetailsThis implements CFB one shots. Some implementation notes:
Closes #2406
|
...ries/System.Security.Cryptography.Cng/src/Internal/Cryptography/CngSymmetricAlgorithmCore.cs
Show resolved
Hide resolved
src/libraries/System.Security.Cryptography.Cng/src/System/Security/Cryptography/AesCng.cs
Show resolved
Hide resolved
...aries/System.Security.Cryptography.Primitives/ref/System.Security.Cryptography.Primitives.cs
Show resolved
Hide resolved
Mono failures should be fixed by #55482. |
...stem/Security/Cryptography/AlgorithmImplementations/TripleDES/TripleDESCipherOneShotTests.cs
Show resolved
Hide resolved
src/libraries/System.Security.Cryptography.Algorithms/src/Resources/Strings.resx
Outdated
Show resolved
Hide resolved
src/libraries/System.Security.Cryptography.Cng/src/System/Security/Cryptography/AesCng.cs
Outdated
Show resolved
Hide resolved
src/libraries/System.Security.Cryptography.Cng/src/System/Security/Cryptography/TripleDESCng.cs
Outdated
Show resolved
Hide resolved
src/libraries/System.Security.Cryptography.Cng/src/System/Security/Cryptography/AesCng.cs
Show resolved
Hide resolved
...stem.Security.Cryptography.Primitives/src/System/Security/Cryptography/SymmetricAlgorithm.cs
Outdated
Show resolved
Hide resolved
Looks like all I had were a couple of nitpicky things. Nice work. |
/azp run runtime-libraries-coreclr outerloop |
Azure Pipelines successfully started running 1 pipeline(s). |
Seems like Pipeline's NuGet feed is cranky. |
The outerloop failures aren't related, just waiting on the Linux-Debug leg to finish. |
This implements CFB one shots.
Some implementation notes:
AesCng
andTripleDESCng
one shots will throw if the key is persisted and the feedback size is other than 8. This limitation can be removed, if it is possible, when the linked issue is solved.ICryptoTransform
CFB implementation. The CNG CFB128 /CFB64 persisted-key remain as-is (using CFB8).Closes #2406