Add example program for PSA sign verify#7954
Open
tom-daubney-arm wants to merge 11 commits intoMbed-TLS:developmentfrom
Open
Add example program for PSA sign verify#7954tom-daubney-arm wants to merge 11 commits intoMbed-TLS:developmentfrom
tom-daubney-arm wants to merge 11 commits intoMbed-TLS:developmentfrom
Conversation
2 tasks
Contributor
|
Test comment |
daverodgman
reviewed
Jul 19, 2023
| @@ -0,0 +1,2 @@ | |||
| Features | |||
| * Added an example program showing the use of sign verify with the PSA API. | |||
This commit adds the example program for PSA sign verify as well as the relevant changes to CMakeLists.txt and the Makefile. Signed-off-by: Thomas Daubney <thomas.daubney@arm.com>
Replace psa_key_handle_t with psa_key_id_t. Add MBEDTLS_PSA_CRYPTO_KEY_ID_ENCODES_OWNER guards because psa_key_id_t is used. Signed-off-by: Thomas Daubney <thomas.daubney@arm.com>
This PR was originally created before the code style was changed. This commit updates the style. Signed-off-by: Thomas Daubney <thomas.daubney@arm.com>
Signed-off-by: Thomas Daubney <thomas.daubney@arm.com>
Signed-off-by: Thomas Daubney <thomas.daubney@arm.com>
9c78b16 to
a7b6276
Compare
Signed-off-by: Thomas Daubney <thomas.daubney@arm.com>
a7b6276 to
0fd08ed
Compare
Signed-off-by: Thomas Daubney <thomas.daubney@arm.com>
This matches the style implemented in psa hash and makes for a cleaner looking main function. Signed-off-by: Thomas Daubney <thomas.daubney@arm.com>
Signed-off-by: Thomas Daubney <thomas.daubney@arm.com>
Signed-off-by: Thomas Daubney <thomas.daubney@arm.com>
Signed-off-by: Thomas Daubney <thomas.daubney@arm.com>
Contributor
Author
|
Note for reviewers: I think I have implemented all of the general feedback that came from #7942 in to this program, where relevant. As such, I have removed the |
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.
Description
This PR contains the PSA sign verify program, originally authored by @hannestschofenig .
This PR is the seventh part of a series of PRs that are based on #5064 , which has been split in order to make reviewing easier.
PR checklist
Please tick as appropriate and edit the reasons (e.g.: "backport: not needed because this is a new feature")
Notes for the submitter
Please refer to the contributing guidelines, especially the
checklist for PR contributors.