Mbed-TLS / TF-PSA-Crypto

Reference implementation of the PSA Cryptography API
Apache License 2.0
8 stars 7 forks source link

Break down mbedtls/psa_util.h #108

Open gilles-peskine-arm opened 2 months ago

gilles-peskine-arm commented 2 months ago

The header mbedtls/psa_util.h contains miscellaneous functions that tie the PSA API with the legacy crypto API. It no longer makes sense when the legacy API is not the primary API.

The goal of this issue is to remove include/mbedtls/psa_util.h and move its functions to other headers:

Functions that become internal may become obsolete with the work towards TF-PSA-Crypto 1.0. Removing the functions is out of scope here (but may be done at once if the functions are no longer used by the time we remove psa_util.h).