-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Implement mbedtls_pk_import_into_psa #8807
Merged
gilles-peskine-arm
merged 21 commits into
Mbed-TLS:development
from
gilles-peskine-arm:pk_import_into_psa-implement_import
Feb 21, 2024
Merged
Changes from 20 commits
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
48b87eb
Choose a curve for tests at compile time
gilles-peskine-arm 05ee3fb
mbedtls_pk_import_into_psa: documentation
gilles-peskine-arm 4781bd9
exercise_key: allow SIGN_MESSAGE/VERIFY_MESSAGE with PSA_ALG_ANY_HASH
gilles-peskine-arm fdb809e
exercise_key: fix asymmetric encrypt/decrypt with >2028-bit RSA
gilles-peskine-arm fc3d866
mbedtls_pk_import_into_psa: implement and test
gilles-peskine-arm 10e9c41
mbedtls_pk_import_into_psa: negative tests for different ECC curve
gilles-peskine-arm 157679c
mbedtls_pk_import_into_psa: positive tests with pkparse output
gilles-peskine-arm 35cb319
depends.py: set unique configuration names in outcome file
gilles-peskine-arm 74860dd
Don't define pk_sign_verify in configurations where it's unused
gilles-peskine-arm 1d33876
Fix some preprocessor guards
gilles-peskine-arm 3495567
Don't exercise if the algorithm is not supported
gilles-peskine-arm 465e4ed
Prioritize SHA2 over MD5 for KNOWN_SUPPORTED_HASH_ALG
gilles-peskine-arm cbd2cbb
Rename identifier for consistency
gilles-peskine-arm f50cd59
Fix encrypt/decrypt confusion
gilles-peskine-arm 68a287d
Use named constants FROM_PAIR/FROM_PUBLIC for readability
gilles-peskine-arm d6fc350
Test mbedtls_pk_import_into_psa with different bits
gilles-peskine-arm 4da1f01
Fix copypasta
gilles-peskine-arm 6fe8a06
New test helper: mbedtls_test_key_consistency_psa_pk
gilles-peskine-arm 2ec141a
After pk_import_into_psa, test that the keys match
gilles-peskine-arm 83b8baf
mbedtls_pk_import_into_psa: fix Montgomery keys in the legacy case
gilles-peskine-arm dd49c73
Merge remote-tracking branch 'development' into pk_import_into_psa-im…
gilles-peskine-arm 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 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
Features | ||
* The new functions mbedtls_pk_get_psa_attributes() and | ||
mbedtls_pk_import_into_psa() provide a uniform way to create a PSA | ||
key from a PK key. |
This file contains 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 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 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 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 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.
Doxygen doesn't recognize the backticks as meaning a code block here. I don't know what its rules are. Fixed in #8887.