-
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
Add examples for the PSA Crypto API #5064
Add examples for the PSA Crypto API #5064
Conversation
What is current status of this PR? |
The status of this PR is the following: While I am still fine-tuning the examples I believe it should otherwise be ready for inclusion. |
@hannestschofenig Thanks for these examples. But before we review, please fix the issues reported by the CI. Let us know if you need help understanding some of the errors. |
Signed-off-by: Jerry Yu <[email protected]> Signed-off-by: Hannes Tschofenig <[email protected]>
Signed-off-by: Jerry Yu <[email protected]> Signed-off-by: Hannes Tschofenig <[email protected]>
Signed-off-by: Jerry Yu <[email protected]> Signed-off-by: Hannes Tschofenig <[email protected]>
Signed-off-by: Jerry Yu <[email protected]> Signed-off-by: Hannes Tschofenig <[email protected]>
Signed-off-by: Jerry Yu <[email protected]> Signed-off-by: Hannes Tschofenig <[email protected]>
Signed-off-by: Jerry Yu <[email protected]> Signed-off-by: Hannes Tschofenig <[email protected]>
Signed-off-by: Jerry Yu <[email protected]> Signed-off-by: Hannes Tschofenig <[email protected]>
Signed-off-by: Jerry Yu <[email protected]> Signed-off-by: Hannes Tschofenig <[email protected]>
Signed-off-by: Hannes Tschofenig <[email protected]>
Signed-off-by: Hannes Tschofenig <[email protected]>
Signed-off-by: Hannes Tschofenig <[email protected]>
... to build Visual Studio files Signed-off-by: Hannes Tschofenig <[email protected]>
Signed-off-by: Hannes Tschofenig <[email protected]>
Signed-off-by: Hannes Tschofenig <[email protected]>
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 <[email protected]>
38fa7bd
to
25e6df4
Compare
All internal CI is passing. OpenCI errors are due to a known issue with the CI that is being worked on. |
@@ -713,6 +713,7 @@ struct mbedtls_ssl_handshake_params { | |||
/* | |||
* Handshake specific crypto variables | |||
*/ | |||
|
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.
Accidental whitespace change?
This PR is now being split into a series of smaller PRs in order to make reviewing easier. This series is summarised below with a check box to indicate when each PR has been merged.
This PR will be closed now since it is superseded by the new series of PRs. |
I am now closing this PR since it has been broken down in to series of smaller PRs, as per this comment. |
Description
This PR contributes examples to help developers better understand the PSA Crypto API.
Status
IN DEVELOPMENT
Requires Backporting
NO
Migrations
NO
Additional comments
Any additional information that could be of interest
Todos
Steps to test or reproduce
Just run the educational examples