The Wayback Machine - https://web.archive.org/web/20220210192734/https://github.com/dotnet/runtime/pull/65151
Skip to content
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

Use lite ciphers for CNG one shots #65151

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

Conversation

@vcsjones
Copy link
Member

@vcsjones vcsjones commented Feb 10, 2022

This gives AesCng and TripleDESCng the lite cipher treatment. The primary motivation for this is so that all of the one-shots go through UniversalCryptoOneShot and use the respective lite ciphers instead of having a separate implementation. As a bonus UniversalCryptoDecryptor and UniversalCryptoEncryptor can remove their one-shot implementation, and the one-shots for the CNG types allocate less frequently.

@msftbot
Copy link
Contributor

@msftbot msftbot bot commented Feb 10, 2022

Tagging subscribers to this area: @dotnet/area-system-security, @vcsjones
See info in area-owners.md if you want to be subscribed.

Issue Details

This gives AesCng and TripleDESCng the lite cipher treatment. The primary motivation for this is so that all of the one-shots go through UniversalCryptoOneShot and use the respective lite ciphers instead of having a separate implementation. As a bonus UniversalCryptoDecryptor and UniversalCryptoEncryptor can remove their one-shot implementation, and the one-shots for the CNG types allocate less frequently.

Author: vcsjones
Assignees: -
Labels:

area-System.Security

Milestone: -
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
1 participant