Standardize the PSA -> Mbed TLS error translation across Mbed TLS modules #6158
Labels
component-psa
PSA keystore/dispatch layer (storage, drivers, …)
enhancement
size-m
Estimated task size: medium (~1w)
When working on #6141 (comment), an idea emerged to have a single helper function to translate errors from the PSA format to Mbed TLS format, module-aware.
The new function would accept the module origin as a parameter and would first handle module-specific cases, and if the error doesn't match, a general translation of module-agnostic errors that are uniform, no matter the caller origin would occur.
The work to be done in this issue is as follows:
The text was updated successfully, but these errors were encountered: