Skip to content
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

mbedtls: configurable PSA ITS provider #86184

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

JordanYates
Copy link
Collaborator

Make the PSA ITS provider configurable. It defaults to the Zephyr secure storage subsystem as per currently (when TF-M is disabled), but allows overriding to the the MbedTLS file implementations on ARCH_POSIX.

Alternative implementation to #85840, nominally decoupled from the secure storage subsystem.

This is a better solution since the API being implemented by mbedtls is the PSA ITS API, not the zephyr secure storage API.
Similarly to secure storage this copies the internal_trusted_storage.h header from MbedTLS so that it is available to applications, but without the additions that subsystem makes.

Make the PSA ITS provider configurable. It defaults to the Zephyr
secure storage subsystem as per currently (when TF-M is disabled), but
allows overriding to the the Mbed-TLS file implementations on POSIX.

Signed-off-by: Jordan Yates <jordan@embeint.com>
Ensure that the mbedtls backend passes the same tests as TF-M and the
zephyr backend, with minor exceptions.

Signed-off-by: Jordan Yates <jordan@embeint.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants