Mbed-TLS / mbedtls

An open source, portable, easy to use, readable and flexible TLS library, and reference implementation of the PSA Cryptography API. Releases are on a varying cadence, typically around 3 - 6 months between releases.
https://www.trustedfirmware.org/projects/mbed-tls/
Other
5.56k stars 2.61k forks source link

Define the PSA subsystem initialization interface in Mbed TLS #6007

Open gilles-peskine-arm opened 2 years ago

gilles-peskine-arm commented 2 years ago

Define psa_crypto_init_subsystem and friends. Do a trivial implementation, where initializing any subsystem initializes all of them, i.e. as a first step we provide psa_crypto_init_subsystem() but it's equivalent to psa_crypto_init().

We'll still only support a full deinit (mbedtls_psa_crypto_free()).

Copy the documentation from the PSA Crypto API draft.

Prerequisite: https://github.com/Mbed-TLS/mbedtls/issues/6006

zhang-wenchao commented 1 month ago

Any update?

gilles-peskine-arm commented 1 month ago

@zhang-wenchao See my reply on the related issue