Gilles Peskine dbf6896c82 mbedtls_to_psa_error: prefer dispatching on the low-level error
When an Mbed TLS error code combines a low-level error and a
high-level error, the low-level error is usually closer to the root
cause (for example HW_ACCEL_FAILED or ENTROPY_SOURCE_FAILED is more
informative than RSA_PRIVATE_FAILED). So prioritize the low-level code
when converting to a PSA error code, rather than the high-level code
as was (rather arbitrarily) done before.

Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
2021-01-06 20:04:23 +01:00
..
2020-12-09 15:05:22 +00:00
2020-11-16 15:02:16 +01:00
2020-12-09 15:05:22 +00:00
2020-09-22 11:57:16 +02:00
2020-11-20 13:57:15 +01:00
2020-11-13 09:20:18 +00:00
2020-09-01 11:04:53 +02:00