EVP: Adapt EVP_PKEY checking, comparing and copying for provider keys, take 3#11158
Merged
openssl-machine merged 6 commits intoopenssl:masterfrom Mar 2, 2020
Merged
Conversation
Member
Author
|
@slontis, I know that I still need to add ec_match... |
This was referenced Feb 24, 2020
slontis
reviewed
Feb 24, 2020
slontis
reviewed
Feb 24, 2020
slontis
reviewed
Feb 24, 2020
slontis
reviewed
Feb 24, 2020
slontis
reviewed
Feb 24, 2020
slontis
reviewed
Feb 24, 2020
slontis
reviewed
Feb 24, 2020
Member
slontis
left a comment
There was a problem hiding this comment.
Apart from a few small NITS, and a rebase + (ec_match) it looks good to me.
Member
Author
|
ec_match was added a few days ago. |
Member
|
travis failures again... |
Member
Author
Yup, that should fix itself as soon as #11148 is merged and this rebased on top of it. |
18671d8 to
9ad2886
Compare
Member
Author
|
Now that #11148 is merged, I cleaned up the commits and rebased. Let's see what the CIs say |
9ad2886 to
d191db4
Compare
slontis
approved these changes
Feb 29, 2020
Collaborator
|
This pull request is ready to merge |
romen
reviewed
Mar 1, 2020
Reviewed-by: Shane Lontis <[email protected]> (Merged from openssl#11158)
Reviewed-by: Shane Lontis <[email protected]> (Merged from openssl#11158)
This adds evp_keymgmt_util_match() and affects EVP_PKEY_cmp() and EVP_PKEY_cmp_parameters(). The word 'match' was used for the new routines because many associate 'cmp' with comparison functions that allows sorting, i.e. return -1, 0 or 1 depending on the order in which the two compared elements should be sorted. EVP_PKEY_cmp() and EVP_PKEY_cmp_parameters() don't quite do that. Reviewed-by: Shane Lontis <[email protected]> (Merged from openssl#11158)
Reviewed-by: Shane Lontis <[email protected]> (Merged from openssl#11158)
This adds evp_keymgmt_util_copy() and affects EVP_PKEY_copy_parameters() Reviewed-by: Shane Lontis <[email protected]> (Merged from openssl#11158)
…Y impl Reviewed-by: Shane Lontis <[email protected]> (Merged from openssl#11158)
d191db4 to
2888fc1
Compare
Member
|
Woohoo (sense of relief that there is no take 4 that needs reviewing :) ) |
Member
Author
Not to mention producing 😉 |
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
This is an adaptation of the following functions for provided keys:
This also adds the necessary EVP_KEYMGMT interfaces to support those functions, and the implementations for RSA, DSA and DH.
This replaces #11025 and is built on top of #11148