1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-08-10 05:03:02 +03:00

Don't allow psa_xxx() to return MBEDTLS_ERR_XXX

Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
This commit is contained in:
Gilles Peskine
2025-01-30 12:13:36 +01:00
committed by David Horstmann
parent 1ffdb18cdb
commit 61621cbb5d

View File

@@ -1,10 +1,10 @@
API changes API changes
* The PSA and Mbed TLS error space are now unified. This means that * The PSA and Mbed TLS error spaces are now unified. mbedtls_xxx()
mbedtls_xxx() functions can return PSA_ERROR_xxx values. functions can now return PSA_ERROR_xxx values.
There is no longer a distinction between "low-level" and "high-level" There is no longer a distinction between "low-level" and "high-level"
Mbed TLS error codes.. Mbed TLS error codes.
This will not affect most applications since in both cases, the This will not affect most applications since the error values are
error values are between -32767 and -1 as before. between -32767 and -1 as before.
Removals Removals
* Remove mbedtls_low_level_sterr() and mbedtls_high_level_strerr(), * Remove mbedtls_low_level_sterr() and mbedtls_high_level_strerr(),