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

Omit calls to CCCryptorFinal #70618

Merged
merged 2 commits into from
Jun 12, 2022
Merged

Omit calls to CCCryptorFinal #70618

merged 2 commits into from
Jun 12, 2022

Conversation

vcsjones
Copy link
Member

@vcsjones vcsjones commented Jun 11, 2022

Our use of CommonCrypto permits us to omit calls to CCCryptorFinal (see comments added in PR), which gives a minor performance improvement.

The performance improvement will be about 5%-7% when operating on a single block of data to transform.

Our use of CommonCrypto permits us to omit calls CCCryptorFinal, which gives a minor performance improvement.
@ghost
Copy link

ghost commented Jun 11, 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

Our use of CommonCrypto permits us to omit calls CCCryptorFinal (see comments added in PR), which gives a minor performance improvement.

The performance improvement will be about 5%-7% when operating on a single block of data to transform.

Author: vcsjones
Assignees: vcsjones
Labels:

area-System.Security

Milestone: -

…/Cryptography/AppleCCCryptorLite.cs

Co-authored-by: Stephen Toub <stoub@microsoft.com>
@vcsjones
Copy link
Member Author

S.IO.FileSystem.Tests failures are #70626. Merging.

@vcsjones vcsjones merged commit ffff070 into dotnet:main Jun 12, 2022
@vcsjones vcsjones deleted the no-cc-final branch June 12, 2022 21:34
@ghost ghost locked as resolved and limited conversation to collaborators Aug 6, 2022
@bartonjs bartonjs added the needs-further-triage Issue has been initially triaged, but needs deeper consideration or reconsideration label Aug 22, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-System.Security needs-further-triage Issue has been initially triaged, but needs deeper consideration or reconsideration
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants