Skip to content

Add example program for PSA encrypt#7938

Open
tom-daubney-arm wants to merge 4 commits intoMbed-TLS:developmentfrom
tom-daubney-arm:psa_crypto_example_encrypt
Open

Add example program for PSA encrypt#7938
tom-daubney-arm wants to merge 4 commits intoMbed-TLS:developmentfrom
tom-daubney-arm:psa_crypto_example_encrypt

Conversation

@tom-daubney-arm
Copy link
Copy Markdown
Contributor

@tom-daubney-arm tom-daubney-arm commented Jul 18, 2023

Description

This PR contains the PSA Encrypt program, originally authored by @hannestschofenig .

This PR is the first 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")

  • [] changelog done
  • backport not required
  • tests not required

Hannes Tschofenig and others added 3 commits July 18, 2023 10:43
This commit adds the example program for PSA
encrypt 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>
@tom-daubney-arm tom-daubney-arm added enhancement needs-ci Needs to pass CI tests priority-medium Medium priority - this can be reviewed as time permits labels Jul 18, 2023
@tom-daubney-arm tom-daubney-arm added the component-psa PSA keystore/dispatch layer (storage, drivers, …) label Jul 18, 2023
@tom-daubney-arm tom-daubney-arm changed the title PSA Crypto API Examples: Encrypt Program Add example program for PSA encrypt Jul 18, 2023
Signed-off-by: Thomas Daubney <thomas.daubney@arm.com>
@tom-daubney-arm tom-daubney-arm added needs-work needs-design-approval size-s Estimated task size: small (~2d) and removed needs-ci Needs to pass CI tests labels Jul 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

component-psa PSA keystore/dispatch layer (storage, drivers, …) enhancement needs-design-approval needs-work priority-medium Medium priority - this can be reviewed as time permits size-s Estimated task size: small (~2d)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant