Add example program for PSA key agreement#7948
Open
tom-daubney-arm wants to merge 13 commits intoMbed-TLS:developmentfrom
Open
Add example program for PSA key agreement#7948tom-daubney-arm wants to merge 13 commits intoMbed-TLS:developmentfrom
tom-daubney-arm wants to merge 13 commits intoMbed-TLS:developmentfrom
Conversation
2 tasks
This commit adds the example program for PSA key agreement 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>
The psa_key_agreement program was using the %zu format specifier which is not supported in mingw builds. The library provides an MBEDTLS_PRINTF_SIZET macro in debug.h for handling this situation. 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>
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>
Signed-off-by: Thomas Daubney <thomas.daubney@arm.com>
Signed-off-by: Thomas Daubney <thomas.daubney@arm.com>
da3caed to
3571dec
Compare
Signed-off-by: Thomas Daubney <thomas.daubney@arm.com>
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 key agreement program, originally authored by @hannestschofenig .
This PR is the fourth 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.