-
Notifications
You must be signed in to change notification settings - Fork 5.3k
Finish migrating RSAOpenSsl from RSA* to EVP_PKEY* #54282
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
Merged
Merged
Changes from 15 commits
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
b91a2f8
Add EVP_PKEY based Decode methods.
bartonjs 2c39b94
Change RSAOpenSsl to use new EVP_PKEY-based imports
bartonjs d946012
Native methods for EVP_PKEY to PKCS8PrivateKeyInfo
bartonjs 186bf50
Change RSAOpenSsl export methods to be PKCS8-based
bartonjs a410ffb
Native support for EVP_PKEY to SubjectPublicKeyInfo
bartonjs 64ec3a0
Eliminate SafeRsaHandle from the Unix build
bartonjs 0e35eba
Remove RSA*-based PALEXPORT functions
bartonjs 9e422fb
"Add" deleted file.
bartonjs 2f75b09
Make the S.S.C.OpenSsl library work again
bartonjs 7c5a5f8
Bringing back some small amount of RSA* PALEXPORTs.
bartonjs df42f68
Undo unintended config change
bartonjs 5528ab3
Fix some build breaks
bartonjs 80f753e
Add support for OpenSSL 1.0.x
bartonjs 64b2f37
Remove PALEXPORT EVP_PKEY get/set RSA functions
bartonjs 6b85d76
Error code, take 3.
bartonjs 6e0444c
Merge remote-tracking branch 'dotnet/main' into finish_rsa_evp_pkey
bartonjs 5900493
Clean up references to renamed functions.
bartonjs e05907d
Make new code build with OpenSSL 3 headers.
bartonjs File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit: Since
CryptoNative_DecodeSubjectPublicKeyInforequires buf != nullptr and len > 0, may want aDebug.Assert(!source.IsEmpty);statement here.(Same comment for related methods in this file.)